Closed bertybassett closed 11 months ago
noticed this could it be something?
root@SynologyNAS:/lib/modules# grep -ao 'vermagic=[0-9.]+' usbserial.ko vermagic=4.4.180
Did you actually load usbserial.ko
before the others?
I think I over write the usbserial.ko with a file from somewhere else.
This was working last week using the files from here and the .sh script then I upgraded dms a few spine points and the .ko files were missing.
I quickly re-copied what I thought was the 7.2 .ko files back to lib\modules but I think I copied a 7.0 files including a usbserial.ko.
Any idea how I test if my usbserial.ko is from 7.0?
might log a support call with Synology support and see if they will send me a 7.2 usbserial file.
Does compiling the files by hand create the usbserial.ko.
What happens if you try to load usbserial.ko
?
Compiling manually will not create usbserial.ko
, because it's already supplied by DSM itself.
reboot just because then
Guesing invalid format mean wrong version for DSM???
Yes, that looks like it has been overwritten 🙁 It's not likely to be a version for an older kernel, because that would yield a different error.
You need to find someone that has the same NAS (or at least the same platform) to provide you with the correct copy of that file, or (possibly) download your current firmware from Synology and try to install it again.
dmesg confirms my thoughts I think
![Uploading Screenshot 2023-11-01 at 11.24.15.png…]()
Your screenshot isn't showing 😅 But regardless of what the actual problem is, you need to find an original usbserial.ko
for your device.
[ 6538.677353] Bluetooth: hci0 advertising data length corrected [ 6547.396172] Synotify use 16384 event queue size [ 6652.806744] usbserial: version magic '4.4.180+ SMP mod_unload ' should be '4.4.302+ SMP mod_unload ' [ 7192.837293] ch341: Unknown symbol usb_serial_generic_open (err 0) [ 7192.843410] ch341: Unknown symbol usb_serial_generic_close (err 0)
yes we are on the same page ,99% sure usbserial.ko is from DSM 7.0 and needs to be from 7.2
yeap was the wrong version of usbserial.ko
installed xpnology v1000 and extracted a working file, re-imported and rebooted real sysnology and ttyUSB0 appeared
Ah, good thinking! Glad to see it's solved 👍🏻
Synology Model DS1821+ CPU v1000
DMS DSM 7.2.1-69057 Update 1
Ran this script but no joy
sudo wget https://github.com/robertklep/dsm7-usb-serial-drivers/raw/main/modules/v1000/dsm-7.2/ch341.ko sudo insmod /lib/modules/ch341.ko
sudo wget https://github.com/robertklep/dsm7-usb-serial-drivers/raw/main/modules/v1000/dsm-7.2/cp210x.ko sudo insmod /lib/modules/cp210x.ko
sudo wget https://github.com/robertklep/dsm7-usb-serial-drivers/raw/main/modules/v1000/dsm-7.2/pl2303.ko sudo insmod /lib/modules/pl2303.ko
sudo wget https://github.com/robertklep/dsm7-usb-serial-drivers/raw/main/modules/v1000/dsm-7.2/ti_usb_3410_5052.ko sudo insmod /lib/modules/ti_usb_3410_5052.ko
I get "unknown symbol in module" for all file drivers
insmod: ERROR: could not insert module /lib/modules/ch341.ko: Unknown symbol in module `