I don’t see my Zigbee USB with the docker containers?
My setup:
Proxmox 7.3-3
HA in a virtual machine
All add-ons setup in docker containers (portainer, mariadb, phpmyadmin, influxdb, grafan, mosquitto, nodered, zigbee2mqtt)
logged in the terminal HA:
lsusb
Bus 003 Device 001: ID 1d6b:0003
Bus 002 Device 002: ID 1a86:7523
Bus 001 Device 001: ID 1d6b:0001
Bus 001 Device 002: ID 0627:0001
Bus 002 Device 001: ID 1d6b:0002
ls -la /dev/ttyUSB0
crw-rw---- 1 root audio 188, 0 Dec 13 12:53 /dev/ttyUSB0
This is my USB stick that I can see in my virtual machine, and would like to see in my docker environment.
Logged in the terminal pve environment:
root@pve:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
Bus 001 Device 003: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 001 Device 002: ID 0bda:c821 Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I would like access to:
Bus 001 Device 003: ID 1a86:7523 QinHeng Electronics CH340 serial converter
In my docker container, I can not find anything related to my Zigbee USB stick.
Hopefully, someone can help me out?
My problem seems to start at step 3)
root@pve:~# ls /dev/serial/by-id/
ls: cannot access ‘/dev/serial/by-id/’: No such file or directory
Thus, anybody knows how I can solve this?
**pve terminal >>>>**
**1)**
root@pve:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
**Bus 001 Device 003: ID 1a86:7523 QinHeng Electronics CH340 serial converter**
Bus 001 Device 002: ID 0bda:c821 Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
2)
root@pve:~# ls -l /dev/bus/usb/001/003
crw-rw-r-- 1 root root 189, 2 Dec 13 16:30 /dev/bus/usb/001/003
**3)**
root@pve:~# ls /dev/serial/by-id/
ls: cannot access '/dev/serial/by-id/': No such file or directory
4)
ls -l /dev/serial/by-id/
ls: cannot access '/dev/serial/by-id/': No such file or directory
5)
root@pve:~# ➜ ~ ls -l /dev/ttyUSB*
-bash: ➜: command not found
**HA Terminal>>> Ssh to my HA:**
**1)**
lsusb
Bus 003 Device 001: ID 1d6b:0003
**Bus 002 Device 002: ID 1a86:7523**
Bus 001 Device 001: ID 1d6b:0001
Bus 001 Device 002: ID 0627:0001
Bus 002 Device 001: ID 1d6b:0002
**2)**
**➜** **~** ls -l /dev/bus/usb/002/002
crw-rw-r-- 1 root root 189, 129 Dec 13 16:30 **/dev/bus/usb/002/002**
**➜** **~** ls -la /dev/ttyUSB0
crw-rw---- 1 root audio 188, 0 Dec 13 11:16 **/dev/ttyUSB0**
**3)**
**➜** **~** ls /dev/serial/by-id/
**usb-1a86_USB_Serial-if00-port0**
**4)**
**➜** **~** ls -l /dev/serial/by-id/
total 0
lrwxrwxrwx 1 root root 13 Dec 13 16:30 **usb-1a86_USB_Serial-if00-port0** -> **../../ttyUSB0**
**5)**
**➜** **~** ls -l /dev/ttyUSB*
crw-rw---- 1 root audio 188, 0 Dec 13 16:30 **/dev/ttyUSB0**