USB storage

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 08:33, 7 June 2006 (edit)
VeNoM (Talk | contribs)
m
← Previous diff
Revision as of 08:34, 7 June 2006 (edit) (undo)
VeNoM (Talk | contribs)

Next diff →
Line 1: Line 1:
First, install the folowing modules : First, install the folowing modules :
- +<br /><br />
-ipkg install kmod-usb-uhci+ipkg install kmod-usb-uhci<br />
-ipkg install kmod-usb-core+ipkg install kmod-usb-core<br />
-ipkg install kmod-usb-uhci+ipkg install kmod-usb-uhci<br />
-ipkg install kmod-usb2+ipkg install kmod-usb2<br />
-ipkg install kmod-usb-storage+ipkg install kmod-usb-storage<br />
- +<br /><br />
A startup script must be made to do this every reboot. A startup script must be made to do this every reboot.
- +<br /><br />
-insmod /jffs/lib/modules/2.4.30/usbcore.o+insmod /jffs/lib/modules/2.4.30/usbcore.o<br />
-insmod /jffs/lib/modules/2.4.30/ehci-hcd.o+insmod /jffs/lib/modules/2.4.30/ehci-hcd.o<br />
-insmod /jffs/lib/modules/2.4.30/scsi_mod.o+insmod /jffs/lib/modules/2.4.30/scsi_mod.o<br />
-insmod /jffs/lib/modules/2.4.30/usb-storage.o+insmod /jffs/lib/modules/2.4.30/usb-storage.o<br />
-insmod /jffs/lib/modules/2.4.30/uhci.o +insmod /jffs/lib/modules/2.4.30/uhci.o <br />
- +<br /><br />
This is it. Here's my dmesg from Asus WL-500gP This is it. Here's my dmesg from Asus WL-500gP
- +<br /><br />
dmesg dmesg
- +<br /><br />
-SCSI subsystem driver Revision: 1.00+SCSI subsystem driver Revision: 1.00<br />
-Initializing USB Mass Storage driver...+Initializing USB Mass Storage driver...<br />
-usb.c: registered new driver usb-storage+usb.c: registered new driver usb-storage<br />
-USB Mass Storage support registered.+USB Mass Storage support registered.<br />
-uhci.c: USB Universal Host Controller Interface driver v1.1+uhci.c: USB Universal Host Controller Interface driver v1.1<br />
-PCI: Enabling device 01:03.0 (0000 -> 0001)+PCI: Enabling device 01:03.0 (0000 -> 0001)<br />
-uhci.c: USB UHCI at I/O 0x100, IRQ 2+uhci.c: USB UHCI at I/O 0x100, IRQ 2<br />
-usb.c: new USB bus registered, assigned bus number 2+usb.c: new USB bus registered, assigned bus number 2<br />
-hub.c: USB hub found+hub.c: USB hub found<br />
-hub.c: 2 ports detected+hub.c: 2 ports detected<br />
-PCI: Enabling device 01:03.1 (0000 -> 0001)+PCI: Enabling device 01:03.1 (0000 -> 0001)<br />
-uhci.c: USB UHCI at I/O 0x120, IRQ 2+uhci.c: USB UHCI at I/O 0x120, IRQ 2<br />
-usb.c: new USB bus registered, assigned bus number 3+usb.c: new USB bus registered, assigned bus number 3<br />
-hub.c: USB hub found+hub.c: USB hub found<br />
hub.c: 2 ports detected hub.c: 2 ports detected

Revision as of 08:34, 7 June 2006

First, install the folowing modules :

ipkg install kmod-usb-uhci
ipkg install kmod-usb-core
ipkg install kmod-usb-uhci
ipkg install kmod-usb2
ipkg install kmod-usb-storage


A startup script must be made to do this every reboot.

insmod /jffs/lib/modules/2.4.30/usbcore.o
insmod /jffs/lib/modules/2.4.30/ehci-hcd.o
insmod /jffs/lib/modules/2.4.30/scsi_mod.o
insmod /jffs/lib/modules/2.4.30/usb-storage.o
insmod /jffs/lib/modules/2.4.30/uhci.o


This is it. Here's my dmesg from Asus WL-500gP

dmesg

SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Enabling device 01:03.0 (0000 -> 0001)
uhci.c: USB UHCI at I/O 0x100, IRQ 2
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Enabling device 01:03.1 (0000 -> 0001)
uhci.c: USB UHCI at I/O 0x120, IRQ 2
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected