Hi all,
a little while ago I posted that I would like to disable the pointer
stick on my laptop but still use the touchpad and usb mouse. Well, it
couldn't have been simpler! I have a device for each one
(/dev/input/mouse[0-2] and a common device that melds all three together
(/dev/input/mice). So I just added two mouse devices to xorg.conf, and
two InputDevice's to my serverlayout, and removed the
single /dev/input/mice and it works great.
It also lets me specify Emulate3Buttons on my touchpad, and not the usb
mouse (which didn't work previously).
Well, almost great - here's the problem:
When I unplug one usb mouse and plug in another (or even the same
one) /dev/input/mouse2 disappears and /dev/input/mouse3 appears, so X
doesn't use it anymore (no mouse device exists for mouse3.
However, if I switch to a console before changing mice, the new mouse
takes the old position at /dev/input/mouse2, then I switch back to X and
it works.
I need to do this plugging and un-plugging because I have a wired
keyboard & mouse at my desk, but I'm frequently moving around our test
facility, so I take my wireless mouse with me.
I don't want to use udev, because I would like a general solution that
works for any of my usb mice (OK, I have a few at different locations :)
Ideally, I would like to make /dev/input/mice use all mice
from /dev/input/mouse2 and up (ie. not the stick or touchpad). Can I do
that somehow?
Any pointers would be appreciated. Thanks,
--
Iain Buchanan <iaindb at netspace dot net dot au>
If it is a Miracle, any sort of evidence will answer, but if it is a Fact,
proof is necessary.
-- Samuel Clemens
--
[email protected] mailing list