After following up a URL about using the m$ intellimouse (anyone have that
URL? - I've lost it): I'm trying to set things up here so that I can use
both my MouseSystems 3-button serial mouse AND the intellimouse on the ps/2
port.
The intellimouse is a stock-standard "microsoft serial or ps/2 compatable".
The system is running RH5.1, with /dev/mouse -> /dev/psaux and my old
trusty mousesystems serial mouse on /dev/ttyS0
Windows refuses to see the MouseSystems serial mouse, and uses the
intellimouse no worries. (Is there a Win95/WinNT driver for 3-button
MouseSystems mice?)
I can get X to work with either of them separately, no problems. (But not
with both at the same time - I need gpm for that, see below).
I can have in /etc/X11/XF86config:
Section "Pointer"
#Protocol "intellimouse"
# ps/2 wheel mouse
Protocol "imps/2"
Device "/dev/mouse"
# map the wheel buttons on an intellimouse
ZAxisMapping 4 5
OR this:
Section "Pointer"
Protocol "MouseSystems"
Device "/dev/ttyS0"
and it will work with either mouse, respectively.
The aim is to set it up so that I can use the gpm driver in its
"duel-mouse mode" by getting X to use /dev/gpmdata instead:
Section "Pointer"
Protocol "MouseSystems"
Device "/dev/gpmdata"
# map the wheel buttons on an intellimouse
ZAxisMapping 4 5
Now this will be cool... I'll be able to use either mouse at any time, or
give two people access to the pointer at once. I can see that this will be
useful! :)
However, I can't get gpm (1.13) to work with the wheel mouse on the ps/2
bus port :-(
This works fine with the serial mouse (I *have* to use "-3"):
gpm -t msc -3 -m /dev/ttyS0
But I get absolutely no response from the wheel mouse with either of these:
gpm -t ms3 -m /dev/mouse
gpm -t ms3 -m /dev/psaux
"gpm -t ps2" does work to get *something* happening, but all the events are
out of wack (highlight instead of moving, etc).
So this is the first of my problems... gpm doesn't seem to be able to work
with this wheel-button ps/2 busmouse.
The magic command that I'd like to use is:
gpm -t ms3 -m /dev/psaux -M -t msc -m /dev/ttyS0
This is supposed to enable the use of both mice, but all I ever get is the
serial mouse. The "_M" option implies "-R", which will (supposedly) send
mouse events to X via /dev/gpmdata (if X is using it).
If I do run gpm in duel-mouse mode and have this in XFree86, I still only
get the serial mouse:
Section "Pointer"
Protocol "MouseSystems"
Device "/dev/gpmdata
And this message from the startup messages:
Warning: /dev/gpmdata unable to get status of mouse fd (Invalid argument)
Has anyone any idea what I need to do to get all this finally working?
Thanks.
Cheers .
Tony __________ Tony Nugent >> - Linux - << _--_|\
/ / / / __/ __ \ [EMAIL PROTECTED] >> UNIX power << / *\
/ /_/ /\ \/ /_/ / [EMAIL PROTECTED] >> on a pc! << \_.--._/
\____/___/\___\_\ UNIX Systems Officer, Faculty of Science v
University of Southern Queensland, Toowoomba Oueensland Australia
-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-