Uncomment both lines, then switch the "CorePointer" for the USB mouse to "SendCoreEvents". When docked, both mice will work.
--- Matthew Schumacher <[EMAIL PROTECTED]> wrote: > Quick question: > > I have a laptop and a docking station and 2 mice. > The internal one > (undocked) is a ps2 pointer, and the external one is > a microsoft usb > optical (docked). > > I would like to make X pick which ever one is needed > so I that I can > avoid edits to my XF86Config file when I use my > laptop offsite. > > This worked fine on my machine when I had redhat 7.3 > but quit working > when I upgraded to redhat 8.0. > > I currently have both mice configured in my > XF86Config file and switch > between them by uncommenting and commenting syntax: > > Section "ServerLayout" > Identifier "Anaconda Configured" > Screen 0 "Screen0" 0 0 > > # USB mouse > InputDevice "Mouse0" "CorePointer" > > # ps2 mouse > # InputDevice "Mouse1" "CorePointer" > > InputDevice "Keyboard0" "CoreKeyboard" > EndSection > > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "IMPS/2" > Option "Device" "/dev/input/mice" > Option "ZAxisMapping" "4 5" > Option "Emulate3Buttons" "no" > EndSection > > > Section "InputDevice" > Identifier "Mouse1" > Driver "mouse" > Option "Protocol" "PS/2" > Option "Device" "/dev/psaux" > Option "ZAxisMapping" "4 5" > Option "Emulate3Buttons" "yes" > EndSection > > Anyone know how I can automate this? > > Thanks, > > schu > > _______________________________________________ > Xpert mailing list > [EMAIL PROTECTED] > http://XFree86.Org/mailman/listinfo/xpert __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert