public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] xorg can't work with hotplugged mice?
@ 2006-10-18 12:15 Iain Buchanan
  2006-10-18 12:41 ` Alan McKinnon
  0 siblings, 1 reply; 8+ messages in thread
From: Iain Buchanan @ 2006-10-18 12:15 UTC (permalink / raw
  To: gentoo-user

Hi all,

from time to time I remove mice and plug them in, as I move my laptop
around locations.  Sometimes I also start my laptop without a mouse
plugged in, and then plug one in after boot.

But every time I do so, X doesn't recognise the "new" mouse.  I
have /dev/input/mouse[0-3] set up in /etc/X11/xorg.conf.

I have to either restart X, or (this is interesting): switch to a
console, unplug then replug the mouse, then switch back to X, and
allofasudden the mouse works again.

I can't use the generic /dev/input/mice, (the one-for-all device)
because I have a synaptic driver for the touchpad (/dev/input/mouse1),
and "auto" for any other mouse plugged in (/dev/input/mouse2).

Now, the fact that switching to a console and re-plugging the mouse
works is strange - this tells me that X "can" do it without restarting,
but I don't know how to make it recognise the mouse...

I can't (and don't want to) use custom udev rules for two reasons:
1. I want to plug in any mouse and have it used straight away
as /dev/input/mouse2
2. This is such a simple problem, and udev seems like such a complicated
solution :)

And lastly, if I have X running with a working usb mouse
(/dev/input/mouse2), and then unplug the mouse, then /dev/input/mouse2
stays there.  Until I restart X or switch to a console and back (then it
disappears)... strange!!

does _anyone_ reading use X and _not_ the /dev/input/mice device? I
would be interested to hear from you!!!

thanks,
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

  Everyone writes on the walls except me. -Said to be graffiti seen in Pompeii

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-10-23 18:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-18 12:15 [gentoo-user] xorg can't work with hotplugged mice? Iain Buchanan
2006-10-18 12:41 ` Alan McKinnon
2006-10-22 23:44   ` Iain Buchanan
2006-10-23  4:12     ` Richard Fish
2006-10-23  6:24       ` Iain Buchanan
2006-10-23  7:04         ` Richard Fish
2006-10-23  7:31     ` Mick
2006-10-23 18:35       ` Sergio Polini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox