Skip to content
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

Perfectly working in 7.1.1.42962 #75

Open
GravityRZ opened this issue Mar 24, 2023 · 11 comments
Open

Perfectly working in 7.1.1.42962 #75

GravityRZ opened this issue Mar 24, 2023 · 11 comments

Comments

@GravityRZ
Copy link

GravityRZ commented Mar 24, 2023

No problems, just some info for all the DSM 7 users

i finally upgraded from 6.2.4 to 7 because support on 6.2.4. will end in june.
I made a backup of all the important stuff(photo's, video's, containers)

i used the default button to upgrade to 7.0 (did not want to risk upgrading to a later version and break things)
i am only using usbserial.ko ftdi_sio.ko(for RFX) and cdc-acm.ko(for zwave gen5 stick) so i modified the script to only include those
these files are default present so no need to download them.
After the upgrade i used winscp and copied the script to /usr/local/etc/rc.d
i logged in with putty
chmod +x /usr/local/etc/rc.d/usb-serial-drivers.sh
/usr/local/etc/rc.d/usb-serial-drivers.sh start

i made a copy of the default drivers

everything is working smoothly so i can confirm the prodecure which @robertklep made is working perfectly
rebooted and things still work so drivers start correctly at bootup.

after cleaning up obsolete packages(i removed oznu MQTT package which deleted the complete container, oops)
i upgraded to the latest 7.1.1.42962 build, rebooted, everything still working
Because i only use the default drivers i can upgrade without breaking things(until synology screws up)
i again made a copy of the default drivers

Thanks Robert

@GravityRZ
Copy link
Author

GravityRZ commented May 19, 2023

After updating to 42962 update 5 i noticed the drivers were not loaded on bootup.

i logged in manually and discovered that the usb-serial-drivers.sh file was altered.
it looked like synology commented out everything(putting a # before the commands)

after changing the file again everything was working.

EDIT:DO NOT TRY PROCEDURE B. IT DOES NOT WORK WITH DSM 7.2
i also decided to check procedure B

Goto directory /usr/lib/modules-load.d
Create file 95-usb-serial.conf (644 rights)

Put this in the file
usbserial.ko
ftdi_sio.ko
cdc-acm.ko

this works also so i have changed to this startup procedure to avoid synology altering the script again.

@Jenda987
Copy link

Jenda987 commented Jul 2, 2023

Be careful with using this /usr/lib/modules-load.d/95-usb-serial.conf in DSM 7.2. It causes me lot of troubles and DSM reinstalls. Once I added this it wasn't possible to complete boot up of DSM 7.2 ...

@GravityRZ
Copy link
Author

GravityRZ commented Jul 2, 2023

thanks

did you upgrade from 7.1.1 to 7.2 or straight from 6.4 to 7.2?
also do you now use the old procedure /usr/local/etc/rc.d/usb-serial-drivers.sh?

last question, when you look into the /usr/lib/modules-load.d directory what do you see.

the file name 95-usb-serial was choosen because the default file names have a lower number.
eg those file are started with lowest number first so the last file(our usb file) needs to have the highest number.
if this is not the case(eg standard files have a number higher than 95) then we might get problems

this might be something to look into because it seems that synology is again making our life miserable by blocking usb drivers

Be careful with using this /usr/lib/modules-load.d/95-usb-serial.conf in DSM 7.2. It causes me lot of troubles and DSM reinstalls. Once I added this it wasn't possible to complete boot up of DSM 7.2 ...

@Jenda987
Copy link

Jenda987 commented Jul 2, 2023

thanks

did you upgrade from 7.1.1 to 7.2 or straight from 6.4 to 7.2? also do you now use the old procedure /usr/local/etc/rc.d/usb-serial-drivers.sh?

last question, when you look into the /usr/lib/modules-load.d directory what do you see.

the file name 95-usb-serial was choosen because the default file names have a lower number. eg those file are started with lowest number first so the last file(our usb file) needs to have the highest number. if this is not the case(eg standard files have a number higher than 95) then we might get problems

this might be something to look into because it seems that synology is again making our life miserable by blocking usb drivers

Be careful with using this /usr/lib/modules-load.d/95-usb-serial.conf in DSM 7.2. It causes me lot of troubles and DSM reinstalls. Once I added this it wasn't possible to complete boot up of DSM 7.2 ...

I was upgrading from 7.1.1 and then I have to reset and reinstall 7.2-64570 Update 1 several times until I figured that this change is causing that my DSM was only blinking blue and then it's turned off after 10m without any web access. Default solution with /usr/local/etc/rc.d/usb-serial-drivers.sh is working without any issue.

@GravityRZ
Copy link
Author

ok. just to be sure i changed back to the old procedure also. i do not have 7.2 available as upgrade yet

@Masadido
Copy link

Masadido commented Jul 4, 2023

thanks
did you upgrade from 7.1.1 to 7.2 or straight from 6.4 to 7.2? also do you now use the old procedure /usr/local/etc/rc.d/usb-serial-drivers.sh?
last question, when you look into the /usr/lib/modules-load.d directory what do you see.
the file name 95-usb-serial was choosen because the default file names have a lower number. eg those file are started with lowest number first so the last file(our usb file) needs to have the highest number. if this is not the case(eg standard files have a number higher than 95) then we might get problems
this might be something to look into because it seems that synology is again making our life miserable by blocking usb drivers

Be careful with using this /usr/lib/modules-load.d/95-usb-serial.conf in DSM 7.2. It causes me lot of troubles and DSM reinstalls. Once I added this it wasn't possible to complete boot up of DSM 7.2 ...

I was upgrading from 7.1.1 and then I have to reset and reinstall 7.2-64570 Update 1 several times until I figured that this change is causing that my DSM was only blinking blue and then it's turned off after 10m without any web access. Default solution with /usr/local/etc/rc.d/usb-serial-drivers.sh is working without any issue.

Had the same issue. This procedure completely crashed my DS920+... to avoid at all cost !

@Masadido
Copy link

Masadido commented Jul 4, 2023

thanks

did you upgrade from 7.1.1 to 7.2 or straight from 6.4 to 7.2? also do you now use the old procedure /usr/local/etc/rc.d/usb-serial-drivers.sh?

last question, when you look into the /usr/lib/modules-load.d directory what do you see.

the file name 95-usb-serial was choosen because the default file names have a lower number. eg those file are started with lowest number first so the last file(our usb file) needs to have the highest number. if this is not the case(eg standard files have a number higher than 95) then we might get problems

this might be something to look into because it seems that synology is again making our life miserable by blocking usb drivers

Be careful with using this /usr/lib/modules-load.d/95-usb-serial.conf in DSM 7.2. It causes me lot of troubles and DSM reinstalls. Once I added this it wasn't possible to complete boot up of DSM 7.2 ...

Dear Jenda987, are you running Geminilake by any chance?

@scottlinse
Copy link

thanks
did you upgrade from 7.1.1 to 7.2 or straight from 6.4 to 7.2? also do you now use the old procedure /usr/local/etc/rc.d/usb-serial-drivers.sh?
last question, when you look into the /usr/lib/modules-load.d directory what do you see.
the file name 95-usb-serial was choosen because the default file names have a lower number. eg those file are started with lowest number first so the last file(our usb file) needs to have the highest number. if this is not the case(eg standard files have a number higher than 95) then we might get problems
this might be something to look into because it seems that synology is again making our life miserable by blocking usb drivers

Be careful with using this /usr/lib/modules-load.d/95-usb-serial.conf in DSM 7.2. It causes me lot of troubles and DSM reinstalls. Once I added this it wasn't possible to complete boot up of DSM 7.2 ...

I was upgrading from 7.1.1 and then I have to reset and reinstall 7.2-64570 Update 1 several times until I figured that this change is causing that my DSM was only blinking blue and then it's turned off after 10m without any web access. Default solution with /usr/local/etc/rc.d/usb-serial-drivers.sh is working without any issue.

thanks
did you upgrade from 7.1.1 to 7.2 or straight from 6.4 to 7.2? also do you now use the old procedure /usr/local/etc/rc.d/usb-serial-drivers.sh?
last question, when you look into the /usr/lib/modules-load.d directory what do you see.
the file name 95-usb-serial was choosen because the default file names have a lower number. eg those file are started with lowest number first so the last file(our usb file) needs to have the highest number. if this is not the case(eg standard files have a number higher than 95) then we might get problems
this might be something to look into because it seems that synology is again making our life miserable by blocking usb drivers

Be careful with using this /usr/lib/modules-load.d/95-usb-serial.conf in DSM 7.2. It causes me lot of troubles and DSM reinstalls. Once I added this it wasn't possible to complete boot up of DSM 7.2 ...

I was upgrading from 7.1.1 and then I have to reset and reinstall 7.2-64570 Update 1 several times until I figured that this change is causing that my DSM was only blinking blue and then it's turned off after 10m without any web access. Default solution with /usr/local/etc/rc.d/usb-serial-drivers.sh is working without any issue.

Had the same issue. This procedure completely crashed my DS920+... to avoid at all cost !

Where either of you able to recover DSM after doing this? I tried the Synology recovery methods for a DS920 and nothing seems to work.

@Jenda987
Copy link

Jenda987 commented Jul 5, 2023

thanks
did you upgrade from 7.1.1 to 7.2 or straight from 6.4 to 7.2? also do you now use the old procedure /usr/local/etc/rc.d/usb-serial-drivers.sh?
last question, when you look into the /usr/lib/modules-load.d directory what do you see.
the file name 95-usb-serial was choosen because the default file names have a lower number. eg those file are started with lowest number first so the last file(our usb file) needs to have the highest number. if this is not the case(eg standard files have a number higher than 95) then we might get problems
this might be something to look into because it seems that synology is again making our life miserable by blocking usb drivers

Be careful with using this /usr/lib/modules-load.d/95-usb-serial.conf in DSM 7.2. It causes me lot of troubles and DSM reinstalls. Once I added this it wasn't possible to complete boot up of DSM 7.2 ...

I was upgrading from 7.1.1 and then I have to reset and reinstall 7.2-64570 Update 1 several times until I figured that this change is causing that my DSM was only blinking blue and then it's turned off after 10m without any web access. Default solution with /usr/local/etc/rc.d/usb-serial-drivers.sh is working without any issue.

thanks
did you upgrade from 7.1.1 to 7.2 or straight from 6.4 to 7.2? also do you now use the old procedure /usr/local/etc/rc.d/usb-serial-drivers.sh?
last question, when you look into the /usr/lib/modules-load.d directory what do you see.
the file name 95-usb-serial was choosen because the default file names have a lower number. eg those file are started with lowest number first so the last file(our usb file) needs to have the highest number. if this is not the case(eg standard files have a number higher than 95) then we might get problems
this might be something to look into because it seems that synology is again making our life miserable by blocking usb drivers

Be careful with using this /usr/lib/modules-load.d/95-usb-serial.conf in DSM 7.2. It causes me lot of troubles and DSM reinstalls. Once I added this it wasn't possible to complete boot up of DSM 7.2 ...

I was upgrading from 7.1.1 and then I have to reset and reinstall 7.2-64570 Update 1 several times until I figured that this change is causing that my DSM was only blinking blue and then it's turned off after 10m without any web access. Default solution with /usr/local/etc/rc.d/usb-serial-drivers.sh is working without any issue.

Had the same issue. This procedure completely crashed my DS920+... to avoid at all cost !

Where either of you able to recover DSM after doing this? I tried the Synology recovery methods for a DS920 and nothing seems to work.
I had to use spare drive according to this https://kb.synology.com/tr-tr/DSM/tutorial/How_to_fix_hard_drive_failure_and_retrieve_the_data_from_your_hard_drives

@Jenda987
Copy link

Jenda987 commented Jul 5, 2023

thanks
did you upgrade from 7.1.1 to 7.2 or straight from 6.4 to 7.2? also do you now use the old procedure /usr/local/etc/rc.d/usb-serial-drivers.sh?
last question, when you look into the /usr/lib/modules-load.d directory what do you see.
the file name 95-usb-serial was choosen because the default file names have a lower number. eg those file are started with lowest number first so the last file(our usb file) needs to have the highest number. if this is not the case(eg standard files have a number higher than 95) then we might get problems
this might be something to look into because it seems that synology is again making our life miserable by blocking usb drivers

Be careful with using this /usr/lib/modules-load.d/95-usb-serial.conf in DSM 7.2. It causes me lot of troubles and DSM reinstalls. Once I added this it wasn't possible to complete boot up of DSM 7.2 ...

Dear Jenda987, are you running Geminilake by any chance?

Sorry, I have V1000 (DS1621+)

@Masadido
Copy link

Masadido commented Jul 5, 2023

thanks
did you upgrade from 7.1.1 to 7.2 or straight from 6.4 to 7.2? also do you now use the old procedure /usr/local/etc/rc.d/usb-serial-drivers.sh?
last question, when you look into the /usr/lib/modules-load.d directory what do you see.
the file name 95-usb-serial was choosen because the default file names have a lower number. eg those file are started with lowest number first so the last file(our usb file) needs to have the highest number. if this is not the case(eg standard files have a number higher than 95) then we might get problems
this might be something to look into because it seems that synology is again making our life miserable by blocking usb drivers

Be careful with using this /usr/lib/modules-load.d/95-usb-serial.conf in DSM 7.2. It causes me lot of troubles and DSM reinstalls. Once I added this it wasn't possible to complete boot up of DSM 7.2 ...

I was upgrading from 7.1.1 and then I have to reset and reinstall 7.2-64570 Update 1 several times until I figured that this change is causing that my DSM was only blinking blue and then it's turned off after 10m without any web access. Default solution with /usr/local/etc/rc.d/usb-serial-drivers.sh is working without any issue.

thanks
did you upgrade from 7.1.1 to 7.2 or straight from 6.4 to 7.2? also do you now use the old procedure /usr/local/etc/rc.d/usb-serial-drivers.sh?
last question, when you look into the /usr/lib/modules-load.d directory what do you see.
the file name 95-usb-serial was choosen because the default file names have a lower number. eg those file are started with lowest number first so the last file(our usb file) needs to have the highest number. if this is not the case(eg standard files have a number higher than 95) then we might get problems
this might be something to look into because it seems that synology is again making our life miserable by blocking usb drivers

Be careful with using this /usr/lib/modules-load.d/95-usb-serial.conf in DSM 7.2. It causes me lot of troubles and DSM reinstalls. Once I added this it wasn't possible to complete boot up of DSM 7.2 ...

I was upgrading from 7.1.1 and then I have to reset and reinstall 7.2-64570 Update 1 several times until I figured that this change is causing that my DSM was only blinking blue and then it's turned off after 10m without any web access. Default solution with /usr/local/etc/rc.d/usb-serial-drivers.sh is working without any issue.

Had the same issue. This procedure completely crashed my DS920+... to avoid at all cost !

Where either of you able to recover DSM after doing this? I tried the Synology recovery methods for a DS920 and nothing seems to work.
I had to use spare drive according to this https://kb.synology.com/tr-tr/DSM/tutorial/How_to_fix_hard_drive_failure_and_retrieve_the_data_from_your_hard_drives

Same here, after crash, my DS920+ behaved like it performed a hard factory reset so had to reinstall DSM 7.2 with a spare drive and then insert the drives. I hop you have good backups of the synology apps...

dMajoIT pushed a commit to dMajoIT/dsm7-usb-serial-drivers that referenced this issue Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants