[ 2.141857] usb 1-1.1: New USB device found, idVendor=0451, idProduct=16ae, bcdDevice=15.28
[ 2.141876] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.141891] usb 1-1.1: Product: CC2531 USB Dongle
[ 2.141903] usb 1-1.1: Manufacturer: Texas Instruments
But doesn’t show any “attached to /dev/ttyUSB” message.
As I am trying to setup the usb dongle for the zigbee integration, but then I cannot provide any path because it’s not listed on the /dev folder.
lsusb command seems to get usb 001 003 same as on the sys info:
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 003: ID 0451:16ae
Bus 001 Device 002: ID 2109:3431
Bus 002 Device 001: ID 1d6b:0003
Bus 001 Device 004: ID 0951:1665
Thanks, I don’t know about ttyAMA0, it’s always active even if I disconnect the USB. Also I have 2 USBs attached and none of them is showing, that was why I suspected it could be a problem of not beign correctly attached.
dmesg also doesn’t show the USB attached to /tty message that should be the normal one.
This comes from the zigbeemqtt integration failing, on running herdsman service, so I was thinking it could be a problem about the USB not beign attached properly.
This is the zigbee2mqtt error that happens when starting the application. It runs until reaches a timeout. Logs doesn’t show anything extra on that output.
[email protected] start /app
node index.js
Zigbee2MQTT:info 2021-02-27 22:18:24: Logging to console and directory: ‘/share/zigbee2mqtt/log/2021-02-27.22-18-23’ filename: log.txt
Zigbee2MQTT:info 2021-02-27 22:18:24: Starting Zigbee2MQTT version 1.17.1 (commit #1.17.1)
Zigbee2MQTT:info 2021-02-27 22:18:24: Starting zigbee-herdsman (0.13.59)
Zigbee2MQTT:error 2021-02-27 22:18:44: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2021-02-27 22:18:44: Failed to start zigbee
Zigbee2MQTT:error 2021-02-27 22:18:44: Exiting…
Zigbee2MQTT:error 2021-02-27 22:18:44: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter. (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:94:31)
at Generator.throw ()
at rejected (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:25:65)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-02-27T21_18_44_271Z-debug.log
This is the configuration I have on zigbee2mqtt config:
1390851.431521] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1390851.431522] usb 2-1.2: Product: XDS110 (02.03.00.18) Embed with CMSIS-DAP
[1390851.431523] usb 2-1.2: Manufacturer: Texas Instruments
[1390851.431524] usb 2-1.2: SerialNumber: L1100H8Z
[1390851.431859] cdc_acm 2-1.2:1.0: ttyACM0: USB ACM device
[1390851.432795] cdc_acm 2-1.2:1.3: ttyACM1: USB ACM device
[1390851.434237] hid-generic 0003:0451:BEF3.0002: hiddev0,hidraw0: USB HID v1.11 Device [Texas Instr
uments XDS110 (02.03.00.18) Embed with CMSIS-DAP] on usb-0000:00:1d.0-1.2/input5
[1391263.832408] usb 2-1.2: USB disconnect, device number 4
Great, that’s what it should be I think. On the documentation it says you must point to ttyACM, but I don’t have any of these, just ttyAMA0, and doesn’t work.
As far as I read, AMA0 is for audio, not sure if it’s correct. But USB should be pointed to ACM.
Then my question was that probably the system is not attaching the USB to ACM as it should, seeing that the dmesg doesn’t show any attaching usb message.
Also checked that thanks, I don’t have any /dev/serial/by-id, just a /dev/serial1 and seems empty. I’ve readed a lot of posts saying that you must rely also on that path, but I cannot figure out how to make it run.
No. Actually on the RPI4 I have an add-on card (Raspbee II) and it is accessible via /dev/ttyAMA0. On the RPI3 I have serial/by-id and map it as device into the Zigbee2MQTT container as /dev/ttyACM0.
Thanks for sharing, then I will need to find if someone can run a usb dongle on RPI4 if that’s the problem.
Please if someone have any idea I would appreciate the help
Don’t know if this helps, but when I plug in something usb, I just go to /dev after and type ls -lah. Devices are sorted by date in ascending order, so your dongle should be whatever the last device listed is. You can confirm 100% by looking to see if the time matches the time you plugged it in.
@rotormonkey thanks for checking this, I just plugged USB again and only got this updates today 28 february:
crw-rw-rw- 1 root tty 5, 2 Feb 28 10:42 ptmx