public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Iain Buchanan <iaindb@netspace.net.au>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] xorg can't work with hotplugged mice?
Date: Wed, 18 Oct 2006 21:45:22 +0930	[thread overview]
Message-ID: <1161173722.4837.26.camel@orpheus> (raw)

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



             reply	other threads:[~2006-10-18 12:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-18 12:15 Iain Buchanan [this message]
2006-10-18 12:41 ` [gentoo-user] xorg can't work with hotplugged mice? 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1161173722.4837.26.camel@orpheus \
    --to=iaindb@netspace.net.au \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox