Hello:
I have recently installed OpenWRT 21.02.2 to a 1Tb WD-MyBook Live.
Still getting acquainted as embedded type OSs are a new thing for me.
But I'm quite pleased with this firmware.
It has enabled me to use this old hardware for something useful.
ie: a very basic NAS to back up back ups, so to speak.
To think I spent over US$40 on a RPi3+ with no drive ...
But I digress ...
While looking at the installed packages I see these:
kmod-scsi-core 5.4.179-1 ~984 B
kmod-usb-core 5.4.179-1 ~120.0 KB
kmod-usb-dwc2 5.4.179-1 ~60.9 KB
kmod-usb-ledtrig-usbport 5.4.179-1 ~4.5 KB
kmod-usb-storage 5.4.179-1 ~27.3 KB
The thing is that this board does not have a SCSI or USB controller.
The only available port is 100/1000 Ethernet.
The only thing that can apparently be used, albeit with some surgery, is a UART port to connect the board to a PC via a USB to UART cable, not sure how useful it would be.
I understand that kernel modules are not automatically loaded in OpenWRT but have to be explicitly loaded.
/etc/modules.d
has these modules listed:
20-usb-core
40-scsi-core
50-usb-ledtrig-usbport
54-usb-dwc2
usb-storage
/etc/modules-boot.d
has these modules listed:
@ 20-usb-core
@ 40-scsi-core
@ 54-usb-dwc2
@ usb-storage
ie: 54-usb-dwc2 is not there.
The question is:
Can these kernel modules be safely removed from the system without altering system dependencies?
I would not want to render the board unbootable and have to fix what went wrong by taking it apart again to pop the drive into my box to acess it.
Thanks in advance.
Best.
PCL