Bug#314954: [Linux-usb-users] Re: logitech usb mouse "dies"
On Sun, 4 Dec 2005, Willi Mann wrote:
>
> > To get more information, turn on USB verbose debugging (CONFIG_USB_DEBUG)
> > in the kernel configuration and rebuild the USB drivers. Post the kernel
> > or dmesg log showing what happens when the connection is lost.
>
> I've used the debian source for that. They currently don't patch
> anything usb-related. I've set CONFIG_USB_DEBUG=y and changed the
> processor family to Pentium M. These are the only differences to the
> distributed debian kernels.
>
> Unfortunatly, when the connection is lost, there is no message in dmesg.
> And there's also no message when the connection is reactivated. (By chvt
> 1 && sleep 1 && chvt 7)
Then the problem must be unrelated to the USB stack.
> when I unplug and replug the mouse, the following happens:
>
> hub 2-0:1.0: state 5 ports 2 chg 0000 evt 0004
> uhci_hcd 0000:00:1d.1: port 2 portsc 008a,00
> hub 2-0:1.0: port 2, status 0100, change 0003, 12 Mb/s
> usb 2-2: USB disconnect, address 3
> usb 2-2: usb_disable_device nuking all URBs
> usb 2-2: unregistering interface 2-2:1.0
> usb 2-2:1.0: hotplug
> usb 2-2: unregistering device
> usb 2-2: hotplug
> hub 2-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x100
> hub 4-0:1.0: state 5 ports 6 chg 0000 evt 0010
> ehci_hcd 0000:00:1d.7: GetStatus port 4 status 001403 POWER sig=k CSC
> CONNECT
> hub 4-0:1.0: port 4, status 0501, change 0001, 480 Mb/s
> hub 4-0:1.0: debounce: port 4: total 100ms stable 100ms status 0x501
> ehci_hcd 0000:00:1d.7: port 4 low speed --> companion
> ehci_hcd 0000:00:1d.7: GetStatus port 4 status 003002 POWER OWNER
> sig=se0 CSC
> hub 2-0:1.0: state 5 ports 2 chg 0000 evt 0004
> uhci_hcd 0000:00:1d.1: port 2 portsc 01a3,00
> hub 2-0:1.0: port 2, status 0301, change 0001, 1.5 Mb/s
> hub 2-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x301
> usb 2-2: new low speed USB device using uhci_hcd and address 4
> usb 2-2: skipped 1 descriptor after interface
> usb 2-2: default language 0x0409
> usb 2-2: new device strings: Mfr=1, Product=2, SerialNumber=0
> usb 2-2: Product: USB Mouse
> usb 2-2: Manufacturer: Logitech
> usb 2-2: hotplug
> usb 2-2: adding 2-2:1.0 (config #1, interface 0)
> usb 2-2:1.0: hotplug
> usbhid 2-2:1.0: usb_probe_interface
> usbhid 2-2:1.0: usb_probe_interface - got id
> input: USB HID v1.10 Mouse [Logitech USB Mouse] on usb-0000:00:1d.1-2
> hub 2-0:1.0: state 5 ports 2 chg 0000 evt 0004
That's all normal.
> Is there some usb sniffer for linux around? Maybe that would shed some
> more light on this issue.
Yes. Read Documentation/usb/usbmon.txt in the kernel source.
Alan Stern
Reply to: