Accessing USB hardware from a custom addon (solved)

I have created a HA add-on to allow use of the rtl_433 SDR application for monitoring additional wireless sensors not supported by rflink. (GitHub - merbanan/rtl_433: Program to decode radio transmissions from devices on the ISM bands (and other frequencies)).

The Dockerfile works great and does what it is supposed to. But I have a problem in that I do not know how to specify the resulting application should have physical access to the USB DVB-T dongle i.e. how do I grant USB hw access via the config.yaml file?

As a workaround I can specifically specify the DVB-T dongle using device: [ /dev/bus/usb/001/002 ]. This works but is not ideal since the device numbers allocated to the dongle can change for various reasons (reboot, depending on what else is enumerated on the USB bus, different DVB-T dongle etc).

I did try privileged SYS_RAWIO but that did not seem to work and if I was not using HA OS I would probably just add a DBUS rule to allocate a friendly name to the dongle.

Anyway, is there a way to grant access to all USB devices (or class of device) via the config.yaml file?

(Sorry if this is a dumb question but I am new to HA and docker images.)

Ok, after some trial and error I found the solution was to add usb: true to the config.yaml file.