[lxc-users] Hotplugging devices (USB Z-Wave controller) with path value

Lai Wei-Hwa whlai at robco.com
Wed Apr 18 19:41:04 UTC 2018


To add another thing, even though I've removed the device (lxc config device remove hass Z-Wave), it is still seen in the container: 

lai at hass:~$ lsusb 
Bus 002 Device 003: ID 0624:0249 Avocent Corp. Virtual Keyboard/Mouse 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 
Bus 005 Device 002: ID 0624:0248 Avocent Corp. Virtual Hub 
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 
Bus 003 Device 002: ID 0658:0200 Sigma Designs, Inc. 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 

Thanks! 
Lai 



I was trying to setup hotplugging a USB into an LXD container. I need the path, in the container, to be /dev/ttyACM0. How can I do this? 

lai at host:~$ lxc config device add hass Z-Wave unix-char vendorid=0658 productid=0200 path=/dev/ttyACM0 
Error: Invalid device configuration key for unix-char: productid 

lai at host:~$ lxc config device add hass Z-Wave usb vendorid=0658 productid=0200 path=/dev/ttyACM0 
Error: Invalid device configuration key for usb: path 


_______________________________________________ 
lxc-users mailing list 
lxc-users at lists.linuxcontainers.org 
http://lists.linuxcontainers.org/listinfo/lxc-users 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180418/35b6e230/attachment.html>


More information about the lxc-users mailing list