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

2018-04-18 Thread Lai Wei-Hwa
Hey Everyone, 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@host:~$ lxc config device add hass Z-Wave unix-char vendorid=0658 productid=0200 path=/dev/ttyACM0 Error: Invalid device configuration ke

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

2018-04-18 Thread Lai Wei-Hwa
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@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 D

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

2018-04-20 Thread Stéphane Graber
On Wed, Apr 18, 2018 at 03:41:04PM -0400, Lai Wei-Hwa wrote: > 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@hass:~$ lsusb > Bus 002 Device 003: ID 0624:0249 Avocent Corp. Virtual Keyboard/Mouse >

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

2018-04-20 Thread Lai Wei-Hwa
uot; To: "lxc-users" Sent: Friday, April 20, 2018 12:54:31 PM Subject: Re: [lxc-users] Hotplugging devices (USB Z-Wave controller) with path value On Wed, Apr 18, 2018 at 03:41:04PM -0400, Lai Wei-Hwa wrote: > To add another thing, even though I've removed the device (lxc confi