Skip to content

Instantly share code, notes, and snippets.

@scrapix
Last active January 30, 2025 08:46
Show Gist options
  • Save scrapix/2f9ad27459c3646732f510f50ead3410 to your computer and use it in GitHub Desktop.
Save scrapix/2f9ad27459c3646732f510f50ead3410 to your computer and use it in GitHub Desktop.
Synology DSM 7.2 - Adding USB Devices / Dongles (SkyConnect / Z-Wave)

Adding SkyConnect Dongle according to Blog Post or better Youtube

image

Summary

Synology has disabled USB drivers. Additionally one important driver is not available on Synology DSM 7+. Thus we need to enable some USB drivers plus download one driver and enable this on the system. For future DSM updates we need to add a Scheduled Task, so that the drivers will be loaded.

This Tutorial works for DS920+. In case your NAS has another processor, change "geminilake" within the commands to your processors architecture name, as described in https://kb.synology.com/en-global/DSM/tutorial/What_kind_of_CPU_does_my_NAS_have!

1. Download usb drivers from Github

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

2. Review connected USB Devices

ls /dev/ttyU*

3. Copy necessary driver to lib/modules

sudo cp ~/dsm7-usb-serial-drivers/modules/geminilake/dsm-7.2/cp210x.ko /lib/modules

4. Adjust access rights of new ko module

sudo chmod 644 /lib/modules/cp210x.ko

5. Initiate usb-serial-drivers.sh

sudo chmod +x ~/dsm7-usb-serial-drivers/usb-serial-drivers.sh
sudo sh ~/dsm7-usb-serial-drivers/usb-serial-drivers.sh start

6. Review connected USB Devices again

Now it should list your USB Device

ls /dev/ttyU*

7. Add following startup script to NAS through Task Manager

Select script to be exectued as root!

cp ~/dsm7-usb-serial-drivers/modules/geminilake/dsm-7.2/cp210x.ko /lib/modules
bash ~/dsm7-usb-serial-drivers/usb-serial-drivers.sh start
@mangan01
Copy link

After update to dsm 7.2 I no longer can access my Aeotec zwave-dongel. ls shows the connected dongels but lsUSB in /dev shows no ttyACM0 or ttyUSB. Is there a solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment