Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB devices suddenly stopped working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
zaphod84
n00b
n00b


Joined: 10 Nov 2003
Posts: 42
Location: New Orleans, LA

PostPosted: Thu Dec 04, 2003 2:02 am    Post subject: USB devices suddenly stopped working Reply with quote

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
View user's profile Send private message
tuxlover
Apprentice
Apprentice


Joined: 21 Oct 2003
Posts: 297
Location: weltweit

PostPosted: Thu Dec 04, 2003 2:13 am    Post subject: Reply with quote

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
View user's profile Send private message
zaphod84
n00b
n00b


Joined: 10 Nov 2003
Posts: 42
Location: New Orleans, LA

PostPosted: Thu Dec 04, 2003 7:22 am    Post subject: Reply with quote

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
View user's profile Send private message
mharrodine
n00b
n00b


Joined: 04 Dec 2003
Posts: 2
Location: UK/West Midlands

PostPosted: Thu Dec 04, 2003 7:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
zaphod84
n00b
n00b


Joined: 10 Nov 2003
Posts: 42
Location: New Orleans, LA

PostPosted: Thu Dec 04, 2003 10:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
tuxlover
Apprentice
Apprentice


Joined: 21 Oct 2003
Posts: 297
Location: weltweit

PostPosted: Fri Dec 05, 2003 12:12 am    Post subject: Reply with quote

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
View user's profile Send private message
zaphod84
n00b
n00b


Joined: 10 Nov 2003
Posts: 42
Location: New Orleans, LA

PostPosted: Fri Dec 05, 2003 7:26 pm    Post subject: Reply with quote

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 :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum