Here are the relevant parts of an XF86Config that does exactly that: Section "InputDevice" Driver "mouse" Identifier "Mouse[1]" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "on" Option "Emulate3Timeout" "50" Option "InputFashion" "Mouse" Option "Name" "Autodetection" Option "Protocol" "ps/2" Option "Vendor" "Sysp" EndSection
Section "InputDevice" Driver "mouse" Identifier "Mouse[2]" Option "Device" "/dev/input/mice" Option "Protocol" "IMPS/2" Option "ZAxisMapping" "4 5" EndSection Section "ServerLayout" Identifier "Layout[all]" InputDevice "Keyboard[0]" "CoreKeyboard" InputDevice "Mouse[1]" "CorePointer" InputDevice "Mouse[2]" "SendCoreEvents" Option "Clone" "off" Option "Xinerama" "off" Screen "Screen[0]" EndSection Have fun, Schlomo PS: X 4.0.3 PPS: SuSE's SaX2 utility lets you configure this kind of stuff ! On Wed, 12 Dec 2001, Erez Doron wrote: > please tell us if that works ! > > regards > erez. > > The Rabbit of Vugluskr wrote: > > > Thanks ;-) > > Max. > > > > On Wednesday 12 December 2001 00:18, Nadav Har'El wrote: > > > On Tue, Dec 11, 2001, The Rabbit of Vugluskr wrote about "Two mouses in X.": > > > > IBM laptop with "native" mouse (I don't remember how it's called, the red > > > > button people sometimes call "dagdegan":-)) recognized as Generic PS/2 > > > > (/dev/psaux) and USB mouse (/dev/input/mice). X works perfectly with > > > > both, of couse, but my purpose is make the user able to unplug USB mouse > > > > and continue working with "red button" "on the fly". OS - RH7.2 > > > > > > You can perhaps try to have both mice work all the time (even when the USB > > > mouse is plugged in), by having two mice. Look at your XF86Config-4 file: > > > it has parts looking like: > > > > > > Section "ServerLayout" > > > .. > > > InputDevice "Mouse0" "CorePointer" > > > .. > > > EndSection > > > ... > > > Section "InputDevice" > > > Identifier "Mouse0" > > > Driver "mouse" > > > Option "Device" "/dev/mouse" > > > Option "Protocol" "imPS/2" > > > Option "Emulate3Buttons" "off" > > > Option "ZAxisMapping" "4 5" > > > EndSection > > > > > > > > > You can add another mouse, Mouse1 (with a different "Device" option), > > > and then say that Mouse1 is an alternate pointer on that InputDevice line. > > > I don't remember the exact syntax - maybe you should read the docs or maybe > > > someone else can give a working example - but I tried it once and it > > > worked: I got both a PS2 mouse and a USB mouse to work on the same system > > > concurrently. I could even have the mice "fight" each other - you move the > > > two mice, and see which way the pointer ends up moving (obviously, even > > > with two mice you only end up with one pointer). > > > > ================================================================= > > To unsubscribe, send mail to [EMAIL PROTECTED] with > > the word "unsubscribe" in the message body, e.g., run the command > > echo unsubscribe | mail [EMAIL PROTECTED] > > -- > This message is for the designated recipient only, and will self destruct in 5 > seconds, > Please Duck beforehand. > > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] > > -- Schlomo Schapiro Senior System Administrator MobilEye Vision Technologies Ltd. 24 Mishol Hadkalim St., Jerusalem, Israel Telephone: + 972-2-586-6989 Ext. 131 Mobile: + 972-55-767898 Fax: + 972-2-586-7720 email: [EMAIL PROTECTED] WWW: http://www.mobileye.com ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]