Closed fwiegers closed 1 year ago
Would be useful to know the actual problem you're having 😅
Please provide the output that shows the error.
This is the output:
Frans@Wiegers_NAS:/lib/modules$ sudo insmod cp210x.ko Password: insmod: ERROR: could not insert module cp210x.ko: Invalid module format
@fwiegers that means you very likely didn't download the file correctly. See the instructions in the README.
@robertklep I tried again following your exact directions. Same result Could there be a change between 7.2-654551 RC and 7.2-64216 causing this?
@fwiegers what does file /lib/modules/cp210x.ko
return?
Apparently 'file' is an unknown command in DSM? sudo: file: command not found. Is there a way to switch to another shell?
Ah sorry, I use an external package that provides file
.
Try this:
tr -cd '[:print:]' < /lib/modules/cp210x.ko | head -c 50
I get "permission denied" also when I add sudo before the command.
Try setting the correct permissions first: sudo chmod 644 /lib/modules/cp210x.ko
Looks like it's an HTML document? So wrong way of downloading?
Yes, if it's HTML you downloaded the Github page source and not the actual module.
The correct URL is this: https://github.com/robertklep/dsm7-usb-serial-drivers/raw/main/modules/apollolake/dsm-7.2/cp210x.ko
Thank you very much. wget with the url, followed by the chmod, followed by insmod and now everything works!
Hi,
I have a problem loading cp210x.ko for DSM 7.2-654551 RC. The same driver worked ok for the previous release (DSM 7.2-64216) worked ok without any issues.
Kernel information: Linux Wiegers_NAS 4.4.302+ #64551 SMP Fri Apr 28 19:48:21 CST 2023 x86_64 GNU/Linux synology_apollolake_918+
I hope you can help me out.
Regards,
Frans Wiegers