Aeotec usb stick passthrough , ends with no permissions

Fredddd

New Member
Dec 29, 2023
1
0
1
Dear all,
I am new to proxmox and think I have seen and followed all instructions to my best newbie knowledge.

I would like to passthrough an aeotec zwave stick.
Here is the end with no permisisons::eek:
ttyACM2 I called it and it gets no permissions.

Container:
root@zwavejsui:~# ls -la /dev/tty* crw-rw-rw- 1 nobody nogroup 5, 0 Dec 29 18:56 /dev/tty crw------- 1 root tty 136, 1 Dec 29 19:16 /dev/tty1 crw--w---- 1 root tty 136, 2 Dec 29 18:56 /dev/tty2 c--------- 0 nobody nogroup 166, 0 Dec 29 18:56 /dev/ttyACM2 root@zwavejsui:~# lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB Bus 001 Device 003: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub root@zwavejsui:~#

on the host it looks like:
root@pve:~# lsusb Bus 001 Device 004: ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB ls -la /dev/tty* crw-rw-rw- 1 root dialout 166, 0 Dec 29 19:57 /dev/ttyACM0 lrwxrwxrwx 1 root root 7 Dec 29 19:57 /dev/ttyZwave -> ttyACM0


my container config

unprivileged: 1 lxc.cgroup2.devices.allow: c 189:* rwm lxc.mount.entry: usb-0658_0200-if00 dev/serial/by-id/usb-0658_0200-if00 none bind,optional,create=file lxc.cgroup.devices.allow: c 166:* rwm lxc.mount.entry: /dev/ttyZwave dev/ttyACM2 none bind,optional,create=file

and the udev file 99-usb-serial.rules
SUBSYSTEM=="tty", ATTRS{idVendor}=="0658", ATTRS{idProduct}=="0200" SYMLINK+="ttyZwave" KERNEL=="ttyACM[0-9]*",MODE="0666

looking for the bus shows:
root@pve:~# ls -l /dev/bus/usb/001/004
crw-rw-r-- 1 root root 189, 3 Dec 29 19:57 /dev/bus/usb/001/004


and also tried to pass it through by-id, which also does not work.


I would be glad if you could tell me why
c--------- 0 nobody nogroup 166, 0 Dec 29 18:56 /dev/ttyACM2 has no permissions set and how I can change that.

Thank you very much,
Roman
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!