Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-14-2004, 05:02 PM
|
#1
|
Member
Registered: Nov 2003
Location: tonawanda, NY
Posts: 32
Rep:
|
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!
|
|
|
05-14-2004, 07:40 PM
|
#2
|
Member
Registered: Mar 2003
Location: UK
Distribution: gentoo
Posts: 67
Rep:
|
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.
|
|
|
05-14-2004, 08:22 PM
|
#3
|
Member
Registered: Nov 2003
Location: tonawanda, NY
Posts: 32
Original Poster
Rep:
|
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
|
|
|
05-14-2004, 08:57 PM
|
#4
|
LQ Guru
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795
Rep:
|
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
|
|
|
05-14-2004, 10:43 PM
|
#5
|
LQ Guru
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795
Rep:
|
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.
|
|
|
05-15-2004, 04:46 AM
|
#6
|
Member
Registered: Mar 2003
Location: UK
Distribution: gentoo
Posts: 67
Rep:
|
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.
|
|
|
05-15-2004, 09:59 AM
|
#7
|
LQ Guru
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795
Rep:
|
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.
|
|
|
05-15-2004, 06:06 PM
|
#8
|
Member
Registered: Mar 2003
Location: UK
Distribution: gentoo
Posts: 67
Rep:
|
Well you reached the limit of my understanding. The loaded modules should create the /dev/sdx device on connect.  Soz, I'm baffled. 
|
|
|
All times are GMT -5. The time now is 06:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|