-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CP210x driver / kernel module needed for DSM 6.2.4-25556 Update 6, kernel 3.10.105 (avoton architecture) #52
Comments
As far as I can remember, DSM6 came with most of the serial drivers already installed in |
usbserial.ko is present, but no cp210x.ko ... |
Yes, you do need cp210x.ko for it. Perhaps you can find the original Jadahl drivers here: https://web.archive.org/web/20220630112631/http://www.jadahl.com/drivers_6.2/ |
Yeah, would be nice to try that, sadly the archive didn't archive the DS1515+ (= avoton) one cry ;-) |
Ah too bad 😭 I can only help with DSM7 drivers, perhaps someone that's still running DSM6 and has downloaded the drivers previously might be able to help you (I assume you want to run some sort of home automation platform, so perhaps on a forum specific to that). |
I could successfully compile the cp210x.ko kernel module myself today. I am quite happy :-) To check my synology right kernel version and and architecture on my synology with DSM 6.2.4-25556 Update 6 you can use Linux nameOfMyStation 3.10.105 #25556 SMP Sat Aug 28 02:15:59 CST 2021 x86_64 GNU/Linux synology_avoton_1515+ To compile the module I used the following info websites: I downloaded the correct Synology toolchain "avoton-gcc493_glibc220_linaro_x86_64-GPL.txz" (more or less the right gcc compiler) from here: Additionally I downloaded the Synology NAS GPL Sources "linux-3.10.x.txz" that are needed to compile CP210x driver from here: (To see the needed GPL Sources you can lookup the #included header files in the cp210x driver c-file. One example of this is in this repository https://github.com/robertklep/dsm7-usb-serial-drivers/blob/main/sources/3.10.x/cp210x.c , all these #includes are in the "linux-3.10.x.txz" file. The cp210x driver c-file itself you don't need to download separately because it is also part of "linux-3.10.x.txz" because it is maintained in the kernel hence its important role.) Like in the info documents described i did the following things on my virtual Ubuntu: In the menuconfig i could enable to build the cp210x driver under: Device Drivers -> USB Support -> USB Serial Converter Support -> USB CP210x family of UART Bridge Controllers ... and Enabled this, so an "M" is shown left of the entry (will be conpiled as module) After enabling to compile the cp210x i then compiled all modules (too lazy to just let compile this one cp210x- module): The successful built module cp210x.ko could be found then under: After copying the cp210x.ko to my synology to /lib/modules i could load the module successfully AFTER loading usbserial.ko which in my case was already there: I then plugged in my Zigbee Dongle which has cp210x USB Serial Chip and checked correct cp210x-driver working with: |
Thanks for the elaborate explanation! |
I know that most people search for driver for DSM 7 but I still have DSM 6.2.4 installed.
I tried the "SynoKernel USB Serial driver" from https://synocommunity.com/package/synokernel-usbserial for my DSM 6.2.4-25556 Update 6, kernel 3.10.105 (avoton architecture) but with no luck:
I installed the package SynoKernel USB Serial drivers and
wanted to load kernel module "cp210x.ko" in my DS1515+ (avoton) with DSM 6.2.4-25556 Update 6, kernel 3.10.105
but get the dmesg message:
cp210x: version magic '3.10.102 SMP mod_unload ' should be '3.10.105 SMP mod_unload '
Anybody could perhaps help and compile the package/kernel module with the right kernel version please? Probably i also could do it myself with some help....
Thanks :-)
BR,
Ben
The text was updated successfully, but these errors were encountered: