A short guide on how to compile the drivers:
First download the DSM 4.0 Synology toolchain for your CPU. Notice that most 10 and 11 versions (i.e. 411, 1510 etc') use the pineview version. 412 however uses the Cedarview.
You can check your CPU by running: "cat /proc/cpuinfo | grep model"
Download from here:
http://sourceforge.net/projects/dsgpl/files/DSM%204.0%20Tool%20Chains/ and remember to download the x64 version.
You also need to download the Synology NAS GPL source (2198 branch) from here:
http://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20GPL%20Source/2198branch/synogpl-2198-x64.tbz/downloadI didn't compile things on my NAS, I have another linux machine (Ubuntu) running on 64 bits and I placed everything there. (This process is called cross compiling). Just untar everything.
cd to the source/linux-2.6.32 directory and
- Code: Select all
cp synoconfigs/x86_64 .config
Afterwards in the same directory you can edit the Makefile:
Change ARCH and CROSS_COMPILE variable values to the following:
ARCH = x86_64
CROSS_COMPILE =
<Path to the Synology toolchain>/x86_64-linux-gnu/bin/x86_64-linux-gnu-
Yes the line ends with a hyphen. That's how it should be done.
Now run:
- Code: Select all
make oldconfig
make menuconfig
Here a "GUI" will open and you'll have to navigate to the needed place. For pl2303 you should go to:
Device Drivers --> USB support --> USB Serial Converter Support
When you find it Don't press ENTER. Press "M". This will tell the compiler to create kernel modules. After you pressed "M" (An M will appear in the check box), press ENTER. In the following screen scroll down to the FTDI drivers and PL2303 driver and press M in order to create these modules. Exit the GUI (Save your configuration) and run:
- Code: Select all
make modules
After compilation finishes you should have the "ko" files under the source/linux-2.6.32/drivers/usb/serial
Hope this helps