Skip to content

Instantly share code, notes, and snippets.

@karoltheguy
Created November 15, 2021 02:22
Show Gist options
  • Save karoltheguy/5d751a59c6e88dce74393606771f7259 to your computer and use it in GitHub Desktop.
Save karoltheguy/5d751a59c6e88dce74393606771f7259 to your computer and use it in GitHub Desktop.
Add Sonoff Zigbee USB Dongle to linux (Cygnal Integrated Products, Inc. CP210x Composite Device)
mknod /dev/ttyUSB0 c 188 0
insmod /usr/local/modules/usbserial.ko
insmod /usr/local/modules/cp210x.ko
@karoltheguy
Copy link
Author

Dongle doesn't show in "ls /dev/tty* but it shows in lsusb

@karoltheguy
Copy link
Author

in QNAP, use => mount $(/sbin/hal_app --get_boot_pd port_id=0)6 /tmp/config
to access /tmp/config/autorun.sh and add the cp210x.ko line above in the file so it loads the module at every boot. File may be a link so need to delete and create new file. Make sure file has chmod x

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