[lug] Dual mice under X?

Bonnell, Doug DBonnell at co.maxoptix.com
Fri Jul 13 14:43:50 MDT 2001


OK, got it working!

For the record, I'm running RedHat 7.1

I added John Karns' changes and things are working nicely.
The only "wart" so far is the need to restart X if the USB
mouse is plugged in after X as started. If the USB mouse is
plugged in as X boots, then the mouse can be disconnecte and
reconnected without having to reboot X.

Changes to /etc/XF86Config-4:

	InputDevice		"Mouse0"	"CorePointer"
	InputDevice		"Mouse1"	"SendCoreEvents"
				    .
				    .
				    .

Section "InputDevice"
	Identifier		"Mouse0"
	Driver		"mouse"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"PS/2"
	Option		"Emulate3Buttons"	"yes"
	Option		"ZAxisMapping"	" 4 5"
EndSection

Section "InputDevice"
	Identifier		"Mouse1"
	Driver		"mouse"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"PS/2"
	Option		"Emulate3Buttons"	"yes"
	Option		"ZAxisMapping"	" 4 5"
EndSection

Mouse0 needs to be the /dev/psaux device. At one point, I was using
/dev/mouse, but it was pointing to the USB device. Without the USB
mouse plugged in, the X server couldn't start since CorePointer
device wasn't there.

Thanks all for the help...

Doug Bonnell



More information about the LUG mailing list