Yes. Have a read of my xf86AceCad.so and XF86Config-4 post.
I managed to get a PS/2 mouse and a USB tablet working (but not how I want
exactly)
You can use /usr/sbin/gpm (read the manual for gpm - pay attention to the
options: -R (which you need), -M , -t .
And you will need to know which /dev/entries are used by your mice.
You will need to modify your /etc/XF86Config file or /etc/XF86Config-4 file
depending on which version of Xfree you have ( version 4.x requires the latter
under Red Hat anyway.) Find the section that specifies the dev entry for your
mouse and replace it with /dev/gpmdata - this is a FIFO pipe that is written
to by gpm - providing that you use the -R option.
Here is the relevent section of my (XFree v4.2) config file:
Section "InputDevice"
Identifier "Mouse0"
# Modified by mouseconfig
Driver "mouse"
#Option "Device" "/dev/mouse"
Option "Device" "/dev/gpmdata" #JL
#Option "Protocol" "PS/2"
Option "Protocol" "mousesystems" #JL
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
To control gpm - in Red Hat anyway, there is a file called gpm which is
actually a script (as well as the binary in /usr/sbin) . It is in /etc/init.d
This is used to start and stop the gpm binary.
./gpm stop
./gpm start
Changes made to this script will preserve behaviour across boots.
Make a backup of both your XF86Config files and the gpm script so that if
something goes wrong, you can put it back while in console mode.
Note that Control-Alt-Backspace will re-start an X server.
Control-Alt-F1 will get you a console window.
gpm will allow the mouse to operate in the console window, and the use or the
-R option feeds the mouse output to /dev/gpmdata, so if Xfree is correctly
told to use this (with a protocol of "mousesystems"), then your X apps will
also be controlled by both mice.
I am looking for a way to make both the tablet and the mouse work under X
without using gpm.
Have a read of that gpm script and note that it sources another file which
take values as environment variables. This is /etc/sysconfig/gpm.
Modify that file. - Probably the OPTIONS section to add your other device etc.
I found a bug in the gpm script which prevented it from setting the MOUSETYPE
Here is the corrected code.
# Jeremy Lee 05-sept-01 - I think this is a mistake
# - this should be setting
# the MOUSETYPE if is is NOT defined already - as a default
# As it stood, MOUSETYPE was always /dev/mouse.
# (old line:)
# if [ -n "$DEVICE" ]; then
# (new, corrected line:)
if [ -z "$DEVICE" ]; then
DEVICE="/dev/mouse"
fi
Without further information, its hard to help. You will need to supply
more details about your mice, and the ports that they use.
On Wed, 5 Sep 2001 22:17, you wrote:
> Has anyone had success getting 2 mice and 2 pointers to work at the same
> time? I would like to be able to use 2 mice to mix music.
>
> TIA.
_______________________________________________
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie