To use independent mice for each of your independent X server/session, you have to just modify the input section of the XFree configuration files to adjust the proper device files.
You have to use /dev/input/mouse[n] , where n is the number of your mouse starting from 0,
1st mouse --> /dev/input/mouse0
2nd mouse --> /dev/input/mouse1
3rd mouse --> /dev/input/mouse2
4th mouse --> /dev/input/mouse3
you shouldn't use /dev/input/mice because it merges the input from all mice.
here is my configuration: before modifications
------------------------------------------------------------------------------------------------ # ********************************************************************** # Pointer section # ********************************************************************** Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/psaux" Option "ZAxisMapping" "4 5" # ChordMiddle is an option for some 3-button Logitech mice Option "Emulate3Buttons" # Option "ChordMiddle" EndSection ------------------------------------------------------------------------------------------------ |
after modifications for the first X server
------------------------------------------------------------------------------------------------ # ********************************************************************** # Pointer section # ********************************************************************** Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mouse0" Option "ZAxisMapping" "4 5" # ChordMiddle is an option for some 3-button Logitech mice Option "Emulate3Buttons" # Option "ChordMiddle" EndSection ----------------------------------------------------------------------------------------------- |
for the second X server
----------------------------------------------------------------------------------------------- # ********************************************************************** # Pointer section # ********************************************************************** Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mouse1" Option "ZAxisMapping" "4 5" # ChordMiddle is an option for some 3-button Logitech mice Option "Emulate3Buttons" # Option "ChordMiddle" EndSection ----------------------------------------------------------------------------------------------- |
and so on ...
in case you meet some problems consult with "Second Mouse in X mini-HOWTO"
if you still have problems feel free to send me an e-mail.