From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GaAOe-0007qq-1g for garchives@archives.gentoo.org; Wed, 18 Oct 2006 12:19:44 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9ICHZIg003316; Wed, 18 Oct 2006 12:17:35 GMT Received: from mail.netspace.net.au (lightning.netspace.net.au [203.10.110.77]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9ICFQV1018620 for ; Wed, 18 Oct 2006 12:15:26 GMT Received: from [172.16.0.52] (dsl-203-113-237-3.SA.netspace.net.au [203.113.237.3]) by mail.netspace.net.au (Postfix) with ESMTP id 32371375995 for ; Wed, 18 Oct 2006 22:15:26 +1000 (EST) Subject: [gentoo-user] xorg can't work with hotplugged mice? From: Iain Buchanan To: gentoo-user@lists.gentoo.org Content-Type: text/plain Date: Wed, 18 Oct 2006 21:45:22 +0930 Message-Id: <1161173722.4837.26.camel@orpheus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 097fbb98-512a-4ce0-9cba-388f27a3c577 X-Archives-Hash: 1465b49962b9af5f21dfe66fba544fe2 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 Everyone writes on the walls except me. -Said to be graffiti seen in Pompeii -- gentoo-user@gentoo.org mailing list