Re: [linux-usb-devel] Re: USB troubles in rc2

From: Michael Guterl
Date: Tue Aug 10 2004 - 12:28:50 EST


Okay some new information regarding this problem. It seems that USB
is not entirely broken, because I can use my USB mouse in X while
using a PS/2 keyboard.

I turned USB and ACPI debugging on in the kernel. I am recreating
this problem by booting the machine with no USB devices plugged in,
then plugging the keyboard in, and then unplugging the keyboard. I am
recreating the problem with 2.6.8-rc3-mm1, but any 2.6.8-rc* kernel
seems to reproduce the same errors, and yes I have tried 2.6.8-rc4 as
well.

When I plug the USB keyboard in here is what dmesg shows.

ehci_hcd 0000:00:02.2: GetStatus port 3 status 001403 POWER sig=k CSC CONNECT
hub 1-0:1.0: port 3, status 0501, change 0001, 480 Mb/s
hub 1-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:02.2: port 3 low speed --> companion
ehci_hcd 0000:00:02.2: GetStatus port 3 status 003402 POWER OWNER sig=k CSC
ohci_hcd 0000:00:02.1: GetStatus roothub.portstatus [0] = 0x00010301
CSC LSDA PPS CCS
hub 3-0:1.0: port 1, status 0301, change 0001, 1.5 Mb/s
hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x301
ohci_hcd 0000:00:02.1: GetStatus roothub.portstatus [0] = 0x00100303
PRSC LSDA PPS PES CCS
usb 3-1: new low speed USB device using address 2
usb 3-1: skipped 1 descriptor after interface
usb 3-1: skipped 1 descriptor after interface
usb 3-1: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-1: default language 0x0409
usb 3-1: Product: USB Keyboar?
usb 3-1: Manufacturer: ABBAHOME
usb 3-1: hotplug
usb 3-1: adding 3-1:1.0 (config #1, interface 0)
usb 3-1:1.0: hotplug
usbhid 3-1:1.0: usb_probe_interface
usbhid 3-1:1.0: usb_probe_interface - got id
usb 3-1: control timeout on ep0in
drivers/usb/input/hid-core.c: ctrl urb status -2 received
drivers/usb/input/hid-core.c: timeout initializing reports

input: USB HID v1.10 Keyboard [ABBAHOME USB Keyboar?] on usb-0000:00:02.1-1
usb 3-1: adding 3-1:1.1 (config #1, interface 1)
usb 3-1:1.1: hotplug
usbhid 3-1:1.1: usb_probe_interface
usbhid 3-1:1.1: usb_probe_interface - got id
drivers/usb/input/hid-core.c: ctrl urb status -2 received
drivers/usb/input/hid-core.c: usb_submit_urb(ctrl) failed

When I unplug the keyboard this is what is shown, and the latter
portion is repeated over and over again.

:00:02.1: urb c134c460 path 1 ep1in 5f160000 cc 5 --> status -110
ohci_hcd 0000:00:02.1: urb c134c460 path 1 ep1in 5f160000 cc 5 --> status -110
ohci_hcd 0000:00:02.1: urb c134c460 path 1 ep1in 5f160000 cc 5 --> status -110
ohci_hcd 0000:00:02.1: urb c134c460 path 1 ep1in 5f160000 cc 5 --> status -110

However, when I plug in my USB mouse and then unplug it, with the same
kernel here is what is shown from dmesg.

ehci_hcd 0000:00:02.2: GetStatus port 3 status 001403 POWER sig=k CSC CONNECT
hub 1-0:1.0: port 3, status 0501, change 0001, 480 Mb/s
hub 1-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:02.2: port 3 low speed --> companion
ehci_hcd 0000:00:02.2: GetStatus port 3 status 003402 POWER OWNER sig=k CSC
ohci_hcd 0000:00:02.1: GetStatus roothub.portstatus [0] = 0x00010301
CSC LSDA PPS CCS
hub 3-0:1.0: port 1, status 0301, change 0001, 1.5 Mb/s
hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x301
ohci_hcd 0000:00:02.1: GetStatus roothub.portstatus [0] = 0x00100303
PRSC LSDA PPS PES CCS
usb 3-1: new low speed USB device using address 2
usb 3-1: skipped 1 descriptor after interface
usb 3-1: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-1: default language 0x0409
usb 3-1: Product: USB-PS/2 Optical Mouse
usb 3-1: Manufacturer: Logitech
usb 3-1: hotplug
usb 3-1: adding 3-1:1.0 (config #1, interface 0)
usb 3-1:1.0: hotplug
usbhid 3-1:1.0: usb_probe_interface
usbhid 3-1:1.0: usb_probe_interface - got id
input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on
usb-0000:00:02.1-1
ohci_hcd 0000:00:02.1: GetStatus roothub.portstatus [0] = 0x00030300
PESC CSC LSDA PPS
hub 3-0:1.0: port 1, status 0300, change 0003, 1.5 Mb/s
usb 3-1: USB disconnect, address 2
usb 3-1: usb_disable_device nuking all URBs
usb 3-1: unregistering interface 3-1:1.0
usb 3-1:1.0: hotplug
usb 3-1: unregistering device
usb 3-1: hotplug
hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x300
ehci_hcd 0000:00:02.2: GetStatus port 3 status 001002 POWER sig=se0 CSC
hub 1-0:1.0: port 3, status 0100, change 0001, 12 Mb/s
hub 1-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x100

I have attached the entire dmesg output from 2.6.8-rc3-mm1 prior to
plugging in any USB devices as well. If anyone wants to see the dmesg
output from my last working config I can post that as well.

On Sun, 8 Aug 2004 09:29:02 -0400, Michael Guterl <mguterl@xxxxxxxxx> wrote:
> Yeah I have to work today, Sunday!?!? After I get off if I have time
> I'll start messing with the bk-usb and bk-acpi patches.
>
>
>
> On Sun, 8 Aug 2004 00:20:43 -0400 (EDT), Alan Stern
> <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> > On Sat, 7 Aug 2004, Michael Guterl wrote:
> >
> > > What if Alan's assumptions that it is in ACPI and not USB are correct?
> > > Personally I don't know enough to handle really any of the tasks you
> > > suggested. I figured the fact that reverting bk-acpi.patch and
> > > bk-usb.patch would throw up some kind of red flag, that something in
> > > there was maybe messed up and merged in.
> >
> > It was a guess, not an assumption!
> >
> > You could test this guess by reverting bk-usb.patch while leaving
> > bk-acpi.patch intact.
> >
> > Alan Stern
> >
> >
>

Attachment: dmesg-2.6.8-rc3-mm1
Description: Binary data