View previous topic :: View next topic |
Author |
Message |
drrrl n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Nov 2004 Posts: 70 Location: Warszawa, Poland
|
Posted: Sat Nov 27, 2004 10:55 pm Post subject: USB problems after upgrade |
|
|
Hi,
yesterday I upgraded my "world" and it seems that something bad happend to USB. I suspect either hotplug or something around dev problems. The symptoms are very simple - my USB mouse is no longer detected by system. The only lines in dmesg that say about USB are:
usbcore: registered new driver usbfs
usbcore: registered new driver hub
what I'm sure is that:
- hotplug has been upgraded
- I compiled new kernel, 2.6.9-r6, but now I boot from the old
2.8.8-r3 again and the symptoms are the same.
I'm not very good in this part of linux, so I didn't attach more debug information as I'm not sure what to take a look at. Maybe you could suggest what files / command output could help you to diagnose the problem? _________________ Rgds, Grzes |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gentsquash l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 03 Nov 2004 Posts: 753 Location: Still a Gentoo beginner.
|
Posted: Sun Nov 28, 2004 1:37 am Post subject: |
|
|
I'm a beginner, so take this with "a grain of salt". I suspect
that you have run into the "hotplug/coldplug" issue. If you
search for the words
Quote: |
hotplug hot-plug coldplug |
you will find a bunch of recent threads on the Gentoo forums that
will likely give an answer.
BTWay, in your new kernel, are you using `udev' or the older
`devfs'? In `make menuconfig' did you
Quote: | (the following are required for udev):
Code: | General setup --->
[*] Support for hot-pluggable devices
...
|
|
? This snippet is from the excellent
http://www.gentoo.org/doc/en/migration-to-2.6.xml?style=printable _________________ Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
drrrl n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Nov 2004 Posts: 70 Location: Warszawa, Poland
|
Posted: Sun Nov 28, 2004 8:29 pm Post subject: |
|
|
gentsquash wrote: |
BTWay, in your new kernel, are you using `udev' or the older
`devfs'? In `make menuconfig' did you
(the following are required for udev):
Code: | General setup --->
[*] Support for hot-pluggable devices
...
|
|
I use udev, but maybe upgrade made switched environment to devfs - is this possible? All other devices (at least basic ones) seem to behave properly.
I don't think it's just a compile options to the kernel as my USB doesn't work also with my old kernel which was not recompiled during/after upgrade and it was working with it. Maybe it's something with modules loading? _________________ Rgds, Grzes |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GlennM Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 11 Nov 2003 Posts: 94 Location: Wisconsin, USA
|
Posted: Mon Nov 29, 2004 12:12 am Post subject: |
|
|
I don't have a suggestion, but I'm having a problem that is most likely connected with yours. I'm having huge problems with my USB drive that has worked perfectly for ~1.5 years, then after a fairly recent update, it doesn't work on any of my computers. If you figure out your problem, please let me know... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
drrrl n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Nov 2004 Posts: 70 Location: Warszawa, Poland
|
Posted: Mon Nov 29, 2004 9:59 pm Post subject: [solved] USB problems after upgrade |
|
|
Got it!
I noticed that apart from usbcore no usb-related devices were loaded during system startup. So I edited /etc/modules.autoload.d/kernel-2.6 and added the following three lines:
Code: | uhci-hcd
ohci-hcd
ehci-hcd
|
and now dmesg contains:
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.2
ACPI: PCI interrupt 0000:00:0b.0[A] -> GSI 10 (level, low) -> IRQ 10
uhci_hcd 0000:00:0b.0: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
uhci_hcd 0000:00:0b.0: irq 10, io base 00002000
uhci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:0b.1[B] -> GSI 10 (level, low) -> IRQ 10
uhci_hcd 0000:00:0b.1: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
(#2)
uhci_hcd 0000:00:0b.1: irq 10, io base 00002020
uhci_hcd 0000:00:0b.1: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
PCI: Enabling device 0000:00:0b.2 (0010 -> 0012)
ACPI: PCI interrupt 0000:00:0b.2[C] -> GSI 11 (level, low) -> IRQ 11
ehci_hcd 0000:00:0b.2: VIA Technologies, Inc. USB 2.0
ehci_hcd 0000:00:0b.2: irq 11, pci mem f088e000
ehci_hcd 0000:00:0b.2: new USB bus registered, assigned bus number 3
ehci_hcd 0000:00:0b.2: USB 2.0 enabled, EHCI 0.95, driver 2004-May-10
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 4 ports detected
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
usb 1-2: new low speed USB device using address 2 <--- this is my USB mouse
usbcore: registered new driver hiddev
drivers/usb/input/hid-core.c: ctrl urb status -32 received
drivers/usb/input/hid-core.c: ctrl urb status -32 received
input: USB HID v1.10 Mouse [PS/2+USB Mouse] on usb-0000:00:0b.0-2
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
I'm not sure if this is an elegant solution, but it does work ! _________________ Rgds, Grzes |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|