[lug] Dual mice under X?

John Karns jkarns at csd.net
Fri Jul 13 13:33:47 MDT 2001


On Fri, 13 Jul 2001, Bonnell, Doug said:

> The generic USB mouse selection comes up with /dev/mouse
> pointing to /dev/input/mice.
>
> I've tried multimouse and both mice do move the cursor, but
> the cursor jumps over to the right screen edge and pretty
> much stays there. I've seen this behaviour when the protocol
> wasn't right.
>
> Trouble is, X uses PS/2 whether I'm using the touchpad or the
> external USB mouse. Don't know what else to tell multimouse or
> gpm other than ps2 for the type.
>
> So close....

I've set up my Dell Inspiron 8000 to have both the ps/2 touchpad and a
MS USB wheel mouse active simultaneously in both X and console text mode.
I am also able to activate gpm so that it sees both.  I'm running SuSE 7.1
under a reiserfs patched 2.2.19 kernel, and X 4.0.3.  I have not yet
succeeded in getting the wheel to scroll in X / fvwm2 though, and do have
problems getting the X clipboard paste to work in some X apps such as
StarOffice.


XF86Config (relevant sections):

Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Mouse1" "SendCoreEvents"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

.
.
.

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "PS/2"
        Option      "Device" "/dev/mouse"
        Option      "Emulate3Buttons"
        Option      "Emulate3Timeout"
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "PS/2"
        Option      "Device" "/dev/usbmouse"
        Option      "Buttons"       "5"
        Option      "ZAxisMapping"  "5 4"
EndSection


gpm options are:

-t ps2 -m /dev/mouse -M -t imps2 -m /dev/usbmouse


USB related modules:

mousedev                3824   0  (unused)
hid                    11808   0  (unused)
input                   2880   0  [mousedev hid]
usb-uhci               19088   0  (unused)
usbcore                43472   1  [hid usb-uhci]


/dev/mouse is sym-linked to /dev/psaux

HTH

----------------------------------------------------------------
John Karns                                        jkarns at csd.net





More information about the LUG mailing list