Zigbee USB device

Hello,

On my x86 machine running openwrt i'd like to have my zigbee coordinator installed.

It seems that the usb is detected:

root@fire:~/tools# lsusb
Bus 001 Device 003: ID 1cf1:0030 dresden elektronik ingenieurtechnik GmbH ConBee II
Bus 001 Device 004: ID 0573:1573 CSCTEK USB Audio and HID
Bus 002 Device 001: ID 1d6b:0003 Linux 5.15.150 xhci-hcd xHCI Host Controller
Bus 001 Device 002: ID 0bda:c821 Realtek  Bluetooth Radio
Bus 001 Device 001: ID 1d6b:0002 Linux 5.15.150 xhci-hcd xHCI Host Controller

How can i know wich port is used by the device.

The goal is use it with zigbee2mqtt on docker.

Thanks in advance.

Install kmod-usb-acm
Check what is in the system log.

1 Like

what should i be looking?

[ 5144.037076] cdc_acm 1-4:1.0: ttyACM0: USB ACM device
[ 5147.265411] usb 1-4: USB disconnect, device number 7
[ 5147.722170] usb 1-4: new full-speed USB device number 8 using xhci_hcd
[ 5147.907128] cdc_acm 1-4:1.0: ttyACM0: USB ACM device
[ 5410.297331] kmodloader: loading kernel modules from /etc/modules.d/*
[ 5410.299490] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 6416.653556] usb 1-4: USB disconnect, device number 8
[ 6417.056933] usb 1-4: new full-speed USB device number 9 using xhci_hcd
[ 6417.242087] cdc_acm 1-4:1.0: ttyACM0: USB ACM device
[ 6420.470792] usb 1-4: USB disconnect, device number 9
[ 6420.926816] usb 1-4: new full-speed USB device number 10 using xhci_hcd
[ 6421.111142] cdc_acm 1-4:1.0: ttyACM0: USB ACM device
[ 8507.729965] usb 1-4: USB disconnect, device number 10
[ 8518.522078] usb 1-4: new full-speed USB device number 11 using xhci_hcd
[ 8518.707108] cdc_acm 1-4:1.0: ttyACM0: USB ACM device
[ 8521.972787] usb 1-4: USB disconnect, device number 11
[ 8522.432099] usb 1-4: new full-speed USB device number 12 using xhci_hcd
[ 8522.617174] cdc_acm 1-4:1.0: ttyACM0: USB ACM device

Have these repeated entries

cat /sys/kernel/debug/usb/devices

T:  Bus=01 Lev=01 Prnt=01 Port=03 Cnt=02 Dev#= 56 Spd=12   MxCh= 0
D:  Ver= 2.01 Cls=02(comm.) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1cf1 ProdID=0030 Rev= 1.00
S:  Manufacturer=dresden elektronik ingenieurtechnik GmbH
S:  Product=ConBee II
S:  SerialNumber=DE2407392
C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=16ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

So the answer to yor question

is /dev/ttyACM0

2 Likes

That's it, thanks for helping.

Another question, is there any permissions i need to give the port in order to docker containers can use it?

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.