I have a DS209j, and I'll always run the latest firmware.
I've installed Xubuntu 9.04 in a virtual machine on my mac.
Following this page:
http://www.synology.com/us/support/3rd- ... ration.php
There is a document:
http://download.synology.com/download/d ... 0Guide.pdf
Following the document I've downloaded the latest toolchain from Synology as well as the latest GPL source:
http://www.synology.com/us/gpl/index.php
As far as usb to serial hardware goes, I am using this product from Parallax as it give you proper RS232 levels and is very affordable:
http://www.parallax.com/tabid/768/Produ ... fault.aspx
From that page I followed the link to the external FTDI drivers for linux.
I renamed the ftdi_sio header and c file to <filename>.orig and placed these new files in their location in the synology source. From their I followed the document and made the modules.
<skipping some parts>
Now i've got usbserial.ko and ftdi_sio.ko somewhere on my DS209j
MAKE SURE THE usb/serial IS NOT PLUGGED IN YET
First I did
- Code: Select all
insmod usbserial.ko
then
- Code: Select all
insmod ftdi.ko
NOW PLUG IN THE DEVICE
run the command 'dmesg' and you should see something like this:
- Code: Select all
usb 1-2.1: new full speed USB device using ehci_hcd and address 15
usb 1-2.1: configuration #1 chosen from 1 choice
ftdi_sio 1-2.1:1.0: FTDI USB Serial Device converter detected
drivers/usb/serial/ftdi_sio.c: Detected FT232RL
drivers/usb/serial/ftdi_sio.c: Number of endpoints 2
drivers/usb/serial/ftdi_sio.c: Endpoint 1 MaxPacketSize 16384
drivers/usb/serial/ftdi_sio.c: Endpoint 2 MaxPacketSize 16384
drivers/usb/serial/ftdi_sio.c: Setting MaxPacketSize 16384
usb 1-2.1: FTDI USB Serial Device converter now attached to ttyUSB0
now looking in /dev/ you won't see a ttyUSB0 so you need to run this command:
- Code: Select all
DiskStation> mknod /dev/ttyUSB0 c 188 0
All that will get the usb/serial converter working for now. If you reboot it will go away. There are files that need to be edited to make sure these settings are persistent over reboot. Not sure of that yet.
The X-10 device I got working for now is known as the Firecracker CM17a, and the HD11A/CM11A 2-way computer interface





