Why is board_id mandatory for adding USB devices to LXC?
In the device dictionary field static_info
we can insert information for USB devices to be added to an LXC via board_id
, usb_vendor_id
and usb_product_id
. As far as I can read from the code (get_udev_devices
in lava_dispatcher/utils/udev.py
) the board_id
is mandatory for this step, while the other two are optional. Why is that? Why not make it possible to add devices just depending on their product id?
I am asking because I have a USB device I'd like to add to an LXC which does not export a serial number (ID_SERIAL_SHORT
is not set).
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information