View previous topic :: View next topic |
Author |
Message |
zaphod84 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Nov 2003 Posts: 42 Location: New Orleans, LA
|
Posted: Thu Dec 04, 2003 2:02 am Post subject: USB devices suddenly stopped working |
|
|
All of my USB devices stopped working about a week ago. I'm still not sure what I changed to cause this, but I cannot figure out how to fix it. I've gone through my kernel config and checked to make sure everything USB-related that is needed is there. Output of cat /proc/bus/usb/devices is empty, while i get the following from cat /proc/bus/usb/drivers
Code: |
cat /proc/bus/usb/drivers
usbdevfs
hub
hid
0- 15: usblp
usb-storage
|
USB devices that should be connected are an external hard drive, hp printer, and mouse. They all worked prior to whatever happened last week.
Any suggestions on where I can go from here? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tuxlover Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 21 Oct 2003 Posts: 297 Location: weltweit
|
Posted: Thu Dec 04, 2003 2:13 am Post subject: |
|
|
do you have your usb stuff compiled as modules?
what does lsmod say?
what does dmesg say when you plug a usb device in? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zaphod84 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Nov 2003 Posts: 42 Location: New Orleans, LA
|
Posted: Thu Dec 04, 2003 7:22 am Post subject: |
|
|
I just went back and reconfigured my kernel...there were a few usb options compiled statically that i made modules. The gave me a bit different results but still no working devices.
dmesg reports on the usb modules being loaded at boottime. Pluggin in or unplugging a device does not produce a message...
Code: |
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
|
lsmod output:
Code: |
lsmod
Module Size Used by Tainted: P
snd-pcm-oss 39236 0
snd-mixer-oss 13520 1 [snd-pcm-oss]
snd-intel8x0 19876 1 (autoclean)
snd-ac97-codec 48844 0 (autoclean) [snd-intel8x0]
snd-pcm 68704 0 (autoclean) [snd-pcm-oss snd-intel8x0]
snd-mpu401-uart 4128 0 (autoclean) [snd-intel8x0]
snd-rawmidi 15520 0 (autoclean) [snd-mpu401-uart]
snd-page-alloc 6900 0 (autoclean) [snd-intel8x0 snd-pcm]
snd-seq-oss 31264 0 (unused)
snd-seq-midi-event 4128 0 [snd-seq-oss]
snd-seq 43312 2 [snd-seq-oss snd-seq-midi-event]
snd-timer 17156 0 [snd-pcm snd-seq]
snd-seq-device 4388 0 [snd-rawmidi snd-seq-oss snd-seq]
snd 36036 0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-mpu401-uart snd-rawmidi snd-seq-oss snd-seq-midi-event snd-seq snd-timer snd-seq-device]
soundcore 4388 6 [snd]
sg 29356 0 (autoclean) (unused)
st 29808 0 (autoclean) (unused)
sr_mod 16152 0 (autoclean) (unused)
sd_mod 11148 0 (autoclean) (unused)
scsi_mod 59572 4 (autoclean) [sg st sr_mod sd_mod]
floppy 50492 0 (autoclean)
nvidia 1628288 12 (autoclean)
ath_pci 29904 1
ath_hal 101056 1 [ath_pci]
wlan 41896 1 [ath_pci]
serial 48644 0 (autoclean)
parport_pc 27528 1 (autoclean)
lp 6880 0 (autoclean)
parport 27936 1 (autoclean) [parport_pc lp]
usbcore 65056 1
|
/proc/bus/usb/drivers has changed a little:
Code: |
cat /proc/bus/usb/drivers
usbdevfs
hub
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mharrodine n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Dec 2003 Posts: 2 Location: UK/West Midlands
|
Posted: Thu Dec 04, 2003 7:19 pm Post subject: |
|
|
Your lsmod output suggests that following your kernel reconfiguration you only have usb-core loaded. You'll need to put entries in /etc/modules.autoload for those things you made into modules.....
If that has no effect then normal troubleshooting applies - try just connecting 1 usb device at a time (without a hub etc.) and load only the necessary modules manually. Eventually you ought to find the device/module that is causing the problems. I hope that it doesn't turn out to be your usb interface... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zaphod84 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Nov 2003 Posts: 42 Location: New Orleans, LA
|
Posted: Thu Dec 04, 2003 10:07 pm Post subject: |
|
|
i loaded the modules by hand and plugged in the devices one by one ... it still did not register the devices. i'm starting to fear a hardware failure too...that would in part explain the erratic behavior of my usb drive when it worked...
Now that i think of it, i beleive there is a verbose debugging option in the kernel for the usb modules. I'll try to enable that and see if it tells me anything. Otherwise I guess i'll image my drive and use the XP restore disk just to make sure its a hardware problem I have a feeling toshiba will either put windows back on the machine or refuse to fix it if i send it in with linux anyway... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tuxlover Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 21 Oct 2003 Posts: 297 Location: weltweit
|
Posted: Fri Dec 05, 2003 12:12 am Post subject: |
|
|
zaphod84 wrote: | i loaded the modules by hand and plugged in the devices one by one ... it still did not register the devices. |
I'm not sure, maybe you also need the kernel hotplug option for that? Did you have it compiled with that? Can you upload your kernel .config somewhere and post the link here? Or just post the whole config file here... Or maybe just the usb / hotplug related stuff. Which kernel are you using?
Do you use the hotplug script?
Code: | emerge hotplug
rc-update add hotplug default |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zaphod84 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Nov 2003 Posts: 42 Location: New Orleans, LA
|
Posted: Fri Dec 05, 2003 7:26 pm Post subject: |
|
|
The hotplug scripts did it. Thats strange, I never had to use them before...
Oh well, not it works, and at least it wasn't a hardware failure ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|