Skip to content

Commit

Permalink
Removed alternative load method as it might cause issues during upgra…
Browse files Browse the repository at this point in the history
…des (as mentioned in robertklep#75)
  • Loading branch information
robertklep committed Jul 5, 2023
1 parent 7c1f3c8 commit 3672874
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,6 @@ You don't need to reboot your NAS for the modules to load, just execute the scri
# /usr/local/etc/rc.d/usb-serial-drivers.sh start
```

#### Alternative method of loading modules at boot

This method is explained [in this comment](https://github.com/robertklep/dsm7-usb-serial-drivers/issues/75#issuecomment-1554853821) by @GravityRZ:

* Create a file named `95-usb-serial.conf` in the directory `/usr/lib/modules-load.d`
* Set the correct permissions for the file: `sudo chmod 644 /usr/lib/modules-load.d/95-usb-serial.conf`
* Edit the file and add the modules that need to be loaded at boot. All modules _require_ that `usbserial.ko` is loaded too, so make sure to add that first.

For example, to load the `ch341.ko` module, add the following to the file:
```
usbserial.ko
ch341.ko
```

### Building from source

I've built these modules in an Ubuntu 18.04.5 virtual machine on my Synology NAS.
Expand Down

0 comments on commit 3672874

Please sign in to comment.