Trying to attach a usb dev to a container


(Giorgos) #1

Hi to all,
I am trying to attach a usb device to a container but is problematic

at the container:
lsusb
Bus 003 Device 003: ID 0fde:ca01 Oregon Scientific WMRS200 weather station

at the host (meteo):
lxc config device add meteo Oregon usb vendorid=0fde productid=ca01
error: Invalid device type for device 'Oregon'

Have any suggestions?


#2

The usb device type was added to LXD in version 2.5.
In previous versions of LXD, it is not recognized and is an invalid type.