USB Device passthru to LXC container

laf

New Member
Oct 22, 2017
1
0
1
45
librenms.org
Hi Folks,

Today I upgraded my proxmox install from 4.x to 5.0.34. Before the upgrade I was able to pass a usb device through to an lxc container with: lxc-device add -n 110 /dev/ttyUSB0. Since upgrading, this command seems to work fine and I don't get any errors but when trying to access the USB device within the contain I get operation not permitted.

The device appears fine (crw-r----- 1 root root 188, 1 Oct 22 21:07 /dev/ttyUSB0) it's just my python script can't access it (serial to usb adaptor).

I have the same issue for a RFXTRX 433 device as well.

Any suggestions, anyone have this working?