LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Yet another USB/Flash Memory can't get to work problem (https://www.linuxquestions.org/questions/linux-hardware-18/yet-another-usb-flash-memory-cant-get-to-work-problem-181510/)

maddogdelta 05-14-2004 04:02 PM

Yet another USB/Flash Memory can't get to work problem
 
I have read the HOWTO, but I don't want to recompile the kernel yet (everything else works, I dont want to break them...yet)

I have a DELL Inspiron 2600 laptop (yummy! especially the video...)

I have a stock install of Redhat 9 no kernel recompiles yet

Because of the stock kernel, scsi and usb support are in modules, not in the kernel (which _may_ be the problem)

i modprobe sd_mod and usb-storage

then i cat /proc/scsi/scsi and get
Attached devices: none


I do dmesg and get

SCSI subsystem driver Revision: 1.00
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
parport0: PC-style at 0x378 [PCSPP]


but nothing about which SCSI device it is on.

Have I forgotten to modprobe/insmod something?

will I have to recompile the kernel anyway?


Thanks!

Galik 05-14-2004 06:40 PM

You could try modprob on

usbcore
ehci_hdc
ohci_hcd
uhci_hcd
usb_storage


If you have usb2 then ehci_hdc is the driver, for usb1 then either ohci_hcd or uhci_hcd are needed. If you have usb2 but attach a usb1 device you will need (i think) ohci_hcd.

maddogdelta 05-14-2004 07:22 PM

YAH HOO!!!!
 
the usb-uhci worked like a champ!


I'm trying now to get it so that the mods load on bootup. Is rc.sysinit the best choice for this?

Thanks again, BIG TIME!

Rich

LavaDevil94 05-14-2004 07:57 PM

Ive been having the same problem, Ill try that as well. Anyhoo, the best way to get it to load on boot would be to put usb-uhci in:
/etc/modules

LavaDevil94 05-14-2004 09:43 PM

Well, I tried that, and the kernel now detects when I disconnect/connect my storage device, but it still doesnt list it under /proc/scsi/scsi. Looks like the error previously mentioned, except I have all the right drivers loaded.

Galik 05-15-2004 03:46 AM

Tricky... all I can think of is that the modules are being loaded in the wrong order (though this shouldn't happen) if you do a:

lsmod | grep usbcore

you should get something like

usbcore 91996 3 ehci_hcd,usb_storage,uhci_hcd

The ehci_hcd should only be there if you have a usb2 controller and (i think) both ehci_hcd and uhci_hcd need to be there if you have usb2 controller and usb1 device.

LavaDevil94 05-15-2004 08:59 AM

Heres what I get:
Code:

lsmod | grep usbcore
usbcore 97556 7 ehci_hcd,uhci_hcd,usbhid,usb_storage,ohci_hcd

Also, I have the correct SCSI modules loaded, like sd_mod.

Galik 05-15-2004 05:06 PM

Well you reached the limit of my understanding. The loaded modules should create the /dev/sdx device on connect. :scratch: Soz, I'm baffled. :scratch:


All times are GMT -5. The time now is 09:49 AM.