Tech Support > Operating Systems > Linux / Variants > How can I reactivate my USB mouse?
How can I reactivate my USB mouse?
Posted by Tristan Miller on January 23rd, 2004


Greetings.

Short story: Linux no longer accepts input from my USB mouse after it's been
unplugged and plugged back in again. How can I reactivate it?

Long story: USB devices are supposedly hot-pluggable, though this doesn't
seem to be automated under Linux (at least, not on the SuSE 9.0 I run).
That is, when I unplug a USB device and plug it back in again, it doesn't
seem to work any more. With my USB webcam this is easy to work around: I
just remove and then reload the corresponding kernel module (i.e., `rmmod
pwc' followed by `modprobe pwc'). However, I can't figure out the
corresponding workaround for my USB mouse. Can anyone tell me if there's a
general solution? Some command I can run or kernel module I can reset?

Regards,
Tristan

--
_
_V.-o Tristan Miller [en,(fr,de,ia)] >< Space is limited
/ |`-' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= <> In a haiku, so it's hard
(7_\\ http://www.nothingisreal.com/ >< To finish what you

Posted by Davide Bianchi on January 23rd, 2004


Tristan Miller <psychonaut@nothingisreal.com> wrote:
Try dropping into a console and back into the X environment.
Davide

--
| Q: What's the difference between Windows 95 and a highly destructive
| virus? A: About 90 MB of hard disk space.

Posted by John Hasler on January 23rd, 2004


Tristan writes:
Package: hotplug
Priority: optional
Section: admin
Installed-Size: 360
Maintainer: Fumitoshi UKAI <ukai@debian.or.jp>
Architecture: all
Version: 0.0.20031013-2
Replaces: usbmgr
Depends: modutils (>= 2.4.2) | module-init-tools, debconf (>= 0.2.26), procps
Recommends: ifupdown, usbutils, pciutils, bsdutils
Suggests: kudzu, fxload | hotplug-utils
Conflicts: usbmgr
Filename: pool/main/h/hotplug/hotplug_0.0.20031013-2_all.deb
Size: 51850
MD5sum: 6f908352cbb7d1217ee63d73db8f53fc
Description: Linux Hotplug Scripts
This package contains the scripts necessary for hotplug Linux support,
and lets you plug in new devices and use them immediately.
Initially, it includes support for USB and PCI (Cardbus) devices,
and can automatically configure network interfaces.

--
John Hasler
john@dhh.gt.org
Dancing Horse Hill
Elmwood, Wisconsin

Posted by P.T. Breuer on January 23rd, 2004


Tristan Miller <psychonaut@nothingisreal.com> wrote:
It should be automatic. Some hardware is broken, though (I recall my
tosh portege had an obvious usb defect visible when watching kernel
messages as one replugged the mouse - it always used a new slot!
after a while it ran out of them).

Sure. Your whole usb module stack, if necessary. Start with the mouse
module first.

Peter


Similar Posts