Synology docker usb zigbee cc2652rb no ttyACOM or ttyUSB

Hello Every one, I have a synology Ver 7. docker run HA, I will add the dongle zigbee USB slaesh cc2562Rb, I have install usbdriver for dsm7 I laucnh

chmod 777 /dev/ttyUSB0
chmod 777 /dev/ttyACM0
/sbin/modprobe usbserial
/sbin/modprobe ftdi_sio
/sbin/modprobe cdc-acm
/sbin/modprobe ch341.ko

the usb dongle is see in dsm


When i try to find ttyA* or ttyU* i don’t find it

It’s possible to fix it ?
Thanks

Hi there! I’m stuck same place… did you finally solve it? (DSM7+Docker+HomeAssistant+Z2M+Sonoff Zigbee USB Dongle)

I’m running a similar setup: DSM7 on a DS1019+ and Mosquitto + Zigbee2MQTT in Docker using the Sonoff Zigbee Dongle Plus.

The serial drivers here helped me to make it work. Depending on what hardware you have, you might have to download a different driver. I found what platform I needed by running uname -a:

sh-4.4# uname -a
Linux spacedock 4.4.180+ #42218 SMP Mon Oct 18 19:17:56 CST 2021 x86_64 GNU/Linux synology_apollolake_1019+

Here’s how I got the module:

cd /lib/modules/
wget https://github.com/robertklep/dsm7-usb-serial-drivers/raw/main/modules/apollolake/cp210x.ko

I modified the script in the repo to only load the kernel modules I needed. I put in in /usr/local/etc/rc.d/usb-serial-drivers.sh and made it executable.

#!/bin/sh
case $1 in
  start)
    modprobe usbserial
    insmod /lib/modules/cp210x.ko > /dev/null 2>&1
    ;;
  stop)
    exit 0
    ;;
  *)
    exit 1
    ;;
esac

I hope that helps.

I have a DS918+ running DSM 7 and here’s how I got it working… hope it helps the next person

follow the steps from here to get the files

https://github.com/robertklep/dsm7-usb-serial-drivers

create

/usr/local/etc/rc.d/usb-serial-drivers.sh

add the following

#!/bin/sh
case $1 in
  start)
    insmod /lib/modules/usbserial.ko > /dev/null 2>&1
    insmod /lib/modules/ftdi_sio.ko > /dev/null 2>&1
    insmod /lib/modules/cdc-acm.ko > /dev/null 2>&1
    insmod /lib/modules/cp210x.ko > /dev/null 2>&1
    insmod /lib/modules/ch341.ko > /dev/null 2>&1
    insmod /lib/modules/pl2303.ko > /dev/null 2>&1
    insmod /lib/modules/ti_usb_3410_5052.ko > /dev/null 2>&1
    ;;
  stop)
    exit 0
    ;;
  *)
    exit 1
    ;;
esac

start with

# /usr/local/etc/rc.d/usb-serial-drivers.sh start

and then typed

ls /dev/tty*

I now see

/dev/ttyUSB0

the zigbee2mqtt config file as follows

configuration.yaml
homeassistant: true
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://10.0.0.20   <---- ip of my mqtt instance
serial:
  port: /dev/ttyUSB0
frontend:
  port: 8080
advanced:
  homeassistant_legacy_entity_attributes: false
  legacy_api: false
  legacy_availability_payload: false
device_options:
  legacy: false

I ran my container with the following

sudo docker run -d   --name=zigbee2mqtt  --restart=unless-stopped  --device=/dev/ttyUSB0  -e TZ=America/New_York -p 8080:8080 -v /volume1/data/Zigbee2MQTT/data:/app/data -v /run/udev:/run/udev:ro  koenkk/zigbee2mqtt
2 Likes

Hi guys, no idea why i am no able to get it work.
my syno nas:
SMP Tue Oct 18 15:05:01 CST 2022 x86_64 GNU/Linux synology_apollolake_918+
i have written all you did lines above…and despite i write “ls /dev/tty*” cant get ttyusb0.
i add, my dongle is connected into the frontend usb port on synology nas. I burnt zigbee2mqtt firmware with exit.
Any idea?
btw, when i type lsusb i get:
off Zigbee 3.0 USB Dongle Plus 0001)
|__1-4 :0100 00 2.00 480MBit/s 200mA 1IF (Synology DiskStation 4E41671)
|__usb2 :0404 09 3.00 5000MBit/s 0mA 1IF (Linux 4.4.180+ xhci-hcd xHCI Host Controller 0000:00:15.0) hub
ash-4.4#

search for the driver and you get the ttyUSB0. but still i cannot get it working in HA