HomeElectronicsAdd USB-serial support to your Synology Diskstation

Comments

Add USB-serial support to your Synology Diskstation — 3 Comments

  1. Hi,

    thx for the guide and the links!
    MY additional remarks trying to connect a Arduino UNO to a DS211j, 4.3 DSM, 2.6.32 Kernel:
    – Compiling the kernel and modules worked withour errors in a 2.6.32 external Linux Distro (Fedora 12 on a Virtual Box VM)
    After I had the necesary .ko files:
    – I only had to insert the usbserial.ko module and then the /lib/modules/cpc_acm.ko module
    – then do a mknod /dev/usb/ttyACM0 c 166 0
    – then do a stty -F /dev/usb/ttyACM0 ispeed 9600 ospeed 9600

    reading from the serial.println of the arduino worked with cat /dev/usb/ttyACM0
    writing worked with echo “a” > /dev/usb/ttyACM0

    dmesg output:
    [ 6443.160000] usb 1-1.1: new full speed USB device using orion-ehci and address 8
    [ 6443.270000] usb 1-1.1: configuration #1 chosen from 1 choice
    [ 6443.280000] cdc_acm 1-1.1:1.0: ttyACM0: USB ACM device

  2. Thank you very much, this was brilliant. I was already looking how to compile them for my ds212+, but I dont have a vmware with linux available. Please, if you need to compile them again then place the new version online too. 🙂 You have certainly made my day.

  3. Thanks a bunch! This was exacty what I was looking for for my ds211j (88f6281+dsm4) 🙂
    Now I will go play with my arduino online 😉

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.