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