Subject: Re: USB mouse goes dark
To: Lennart Augustsson <firstname.lastname@example.org>
From: MLH <email@example.com>
Date: 06/02/2005 11:25:52
> 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
2) The problem occurs with a USB mouse using the ps2 adaptor and
with a ps2 mouse.
3) I recently update two NetBSD 2 computers (from last fall), which
have never had this problem, to NetBSD 2.0_STABLE using the same
type of Logitech USB mice and they both started to exhibit the
4) One of the machines with a ps2 mouse just had the cursor lockup.
Out of curiosity, I plugged in a separate USB mouse with the ps2
mouse was still plugged in and the mouse cursor woke up. Both mice
worked properly at the same time.
> MLH wrote:
> > Jeff Rizzo wrote:
> >>Martijn van Buul wrote:
> >>>It occurred to me that Lennart Augustsson wrote in
> >>>>I'm very interested in the circumstances involved in this,
> >>>>since I've never had a mouse go dead myself.
> >>>My Microsoft optical mouse dies on a semi-frequent basis, but I suspect
> >>>that this is related to it being connected via an (electronic, PS/2) KVM
> >>>switch. Every now and then (Once per week, or so), the mouse will
> >>>shutdown - but *only* on the NetBSD output on the KVM! Restarting X will
> >>>get it back.
> >>Not sure if this is related, but I have USB keyboard/mouse on a USB kvm
> >>switch, and whenever I switch back to NetBSD, the mouse is dead in X
> >>until I switch virtual consoles away from the X server and back. I've
> >>thought many times about troubleshooting this, but never actually done
> >>anything about it... it's been happening since early 1.6 days, at least,
> >>maybe before. I also have a microsoft optical mouse, but I'm pretty
> >>sure it's happened with others as well.
> > I just had my Logitech mouse 'go dark' again, as it does about once
> > a week. It always and only does it when I have locked my KDE session
> > and happens right as the display is refreshing after being unlocked.
> > No syslog message. Sometimes it recovers when I toggle the console
> > switch but not often.
> > I can unplug and plug into various usb ports but this time it didn't
> > recover. I had to restart xdm.