l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Oct 04 09:45

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Multiple Mice in X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Multiple Mice in X

First, people will probably need your config file.

Hans W. Uhlig wrote:
> 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 and
> then the internal mouse go haywire(They still work on occasion but they are
> dyeing.) 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.

Is it sufficient to get the USB mouse to 'plug-and-play'? Or do you also want to
disable the other mouse? It's legal (and probably easier)  to have two mice
active, after all. Make sure you have entries for both mice. With this:

    Section "InputDevice"
        Identifier    "Configured Mouse"
        Driver        "mouse"
        Option        "CorePointer"
        Option        "Device"        "/dev/psaux"
        Option        "Protocol"      "ExplorerPS/2"
        Option        "Buttons"       "6"
        Option        "ZAxisMapping"  "5 6"

    Section "InputDevice"
        Identifier    "USBMouse"
        Driver        "mouse"
        Option        "CorePointer"
        Option        "Device"        "/dev/input/mice"
        Option        "Protocol"      "ExplorerPS/2"
        Option        "Buttons"       "6"
        Option        "ZAxisMapping"  "5 6"

and this:

    Section "ServerLayout"
        Identifier    "Default Layout"
        Screen        "Default Screen"
        InputDevice    "Generic Keyboard"
        InputDevice    "Configured Mouse"
        InputDevice    "USBMouse"
my PS2 mouse works, and I can plug in a USB mouse at will (assuming I've loaded
the hid kernel module).


p.s. I don't know if it's wrong to have both as 'CorePointers'. 

Attachment: signature.asc
Description: Digital signature

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.