Hello,
Here below my conf of my ctx:
When I am on my CTX:
Why I got all USB devices whereas I do not specify this kind of conf:
Also I just want to get this device on my CTX:
But I have two same devices. So I should do and report bus & device number but device number increases may be after reboot ?
Here below my conf of my ctx:
Code:
root@pve:~# cat /etc/pve/lxc/109.conf
#lxc.cgroup.devices.allow%3A c 189%3A43 rwm
#lxc.mount.entry%3A /dev/bus/usb/001/043 dev/ttyUSB1 none bind,optional,create=file
arch: amd64
cores: 1
features: nesting=1
hostname: nad
memory: 512
net0: name=eth0,bridge=vmbr0,gw=192.168.1.1,hwaddr=BC:24:11:DE:6C:41,ip=192.168.1.183/24,type=veth
ostype: debian
rootfs: local-lvm:vm-109-disk-0,size=8G
swap: 512
unprivileged: 1
root@pve:~#
When I am on my CTX:
Code:
root@nad:~#
root@nad:~# lsusb
Bus 002 Device 004: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet
Bus 002 Device 003: ID 2109:0817 VIA Labs, Inc. USB3.0 Hub
Bus 002 Device 002: ID 07ab:fc9f Freecom Technologies Mobile Drive XXS
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 024: ID 0951:1666 Kingston Technology DataTraveler 100 G3/G4/SE9 G2/50 Kyson
Bus 001 Device 021: ID 0bc2:2312 Seagate RSS LLC Expansion
Bus 001 Device 007: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 001 Device 046: ID 2575:0401 Weida Hi-Tech Co., Ltd. CoolTouchR System
Bus 001 Device 020: ID 1cf1:0030 Dresden Elektronik ZigBee gateway [ConBee II]
Bus 001 Device 012: ID 0463:ffff MGE UPS Systems UPS
Bus 001 Device 013: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 008: ID 214b:7250 Huasheng Electronics USB2.0 HUB
Bus 001 Device 005: ID 174c:2074 ASMedia Technology Inc. ASM1074 High-Speed hub
Bus 001 Device 004: ID 12d1:140c Huawei Technologies Co., Ltd. E180v
Bus 001 Device 014: ID 2109:8817 VIA Labs, Inc. USB Billboard Device
Bus 001 Device 028: ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB
Bus 001 Device 009: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port / Mobile Phone Data Cable
Bus 001 Device 048: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port / Mobile Phone Data Cable
Bus 001 Device 003: ID 2109:2817 VIA Labs, Inc. USB2.0 Hub
Bus 001 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@nad:~#
Why I got all USB devices whereas I do not specify this kind of conf:
Code:
lxc.cgroup.devices.allow: c 189:43 rwm lxc.mount.entry:
/dev/bus/usb/001/043 dev/ttyUSB1 none bind,optional,create=file
Also I just want to get this device on my CTX:
Code:
Bus 001 Device 048: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port / Mobile Phone Data Cable
But I have two same devices. So I should do and report bus & device number but device number increases may be after reboot ?
Code:
root@pve:~# ls -l /dev/bus/usb/001/048
crw-rw-r-- 1 root root 189, 47 Oct 8 06:56 /dev/bus/usb/001/048
root@pve:~#