[vox-tech] Multiple Mice in X

Peter Jay Salzman p at dirac.org
Mon Oct 4 08:21:54 PDT 2004


On Mon 04 Oct 04,  8:13 AM, Hans W. Uhlig <deathguard at yahoo.com> said:
> Ok Ive got a laptop with bad mice and I need to be
> able to swap out to an external usb mouse. X doesent
> want to see it without me booting with it in

this can't be correct.  X will work perfectly even with no mouse.

the key is what you specify here:


Section "ServerLayout"
   Identifier  "Default Layout"
   Screen      "Default Screen"
   InputDevice "Generic Keyboard"
   InputDevice "Generic Mouse"
EndSection


if you simply want to ignore the built in mouse, don't make reference to it.
in your "generic mouse" inputdevice entry (or whatever you call it) make
reference to /dev/input/mice (or whatever it is on your system) instead of
/dev/psaux (or whatever it is on your system)


> and then
> the internal mouse go haywire(They still work on
> occasion but they are dyeing.)

sounds like what happens when two applications read from the same device
file.

> how can I turn off one
> mouse and turn on another in X. Ive been looking but I
> cant seem to find it and xsetmouse doesent seem to
> have any function other then listing my config file.
 
as mentioned before, remove all reference to /dev/psaux in you XF86Config,
and just have one inputdevice entry using driver "mouse" and  device
"/dev/input/mice".

pete

-- 
Make everything as simple as possible, but no simpler. -- Albert Einstein
GPG Instructions: http://www.dirac.org/linux/gpg
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D


More information about the vox-tech mailing list