Subject: Re: USB mouse goes dark
To: Steven M. Bellovin <>
From: MLH <>
List: current-users
Date: 06/02/2005 11:57:20
> In message <>, MLH writes:
> >> 
> >> Could you compile a kernel with USB_DEBUG?
> >> Next time the mouse dies, break into DDB and
> >> set usbdebug=5, umsdebug=5 and see if it says
> >> anything when you wiggle the mouse, or unplug it.
> >> 
> >> 	-- Lennart
> >
> >Interesting results. Note that I am using all Logitech mice, both
> >ps2 and USB. The USB mice I use with and without the usb->ps2
> >adaptor. I have not been able to regain the mouse cursor by toggling
> >console screens lately. Results:
> >
> >1) with setting usbdebug=5, umsdebug=5, I have never had a mouse
> >lockup.
> >
> That sounds a lot like a race condition.

It always has to me. Especially when setting usbdebug=5, umsdebug=5.
It occurs with a USB_DEBUG kernel when those variables are not set,
but hasn't when they are set.

In all of these cases, it primarily occurs when one unlocks a locked
kde session - just after the passwd widget is destroyed, but it
has occurred when xscreensaver was woken up and there was no kde
session lock.

All relatively fast boxes :

cpu0: AMD Athlon XP 2100+ (686-class), 1764.15 MHz, id 0x662
pcib0: VIA Technologies VT82C686A (Apollo KX133) PCI-ISA Bridge (rev. 0x40)
uhci0 at pci0 dev 7 function 2: VIA Technologies VT83C572 USB Controller (rev. 0x16)

cpu0: AMD Athlon MP 2000+ (686-class), 1666.84 MHz, id 0x662
cpu1: AMD Athlon MP (686-class), 1666.73 MHz, id 0x662
pcib0: Advanced Micro Devices AMD768 PCI to ISA/LPC Bridge (rev. 0x05)
Advanced Micro Devices AMD768 Power Management Controller (miscellaneous bridge, revision 0x03) at pci0 dev 7 function 3 not configured
ppb1 at pci0 dev 16 function 0: Advanced Micro Devices AMD768 PCI to PCI Bridge (rev. 0x05)
uhub0: Advanced Micro OHCI root hub, class 9/0, rev 1.00/1.00, addr 1

cpu0: AMD Unknown K7 (Athlon) (686-class), 2202.99 MHz, id 0xf7a
pchb0: VIA Technologies product 0x0282 (rev. 0x00)
pchb1: VIA Technologies product 0x1282 (rev. 0x00)
uhci0 at pci0 dev 16 function 0: VIA Technologies VT83C572 USB Controller (rev. 0x81)