Basically, you'll want to set up two input device sections. One mouse1
and the other mouse2 for example. Set up the first one to use
/dev/psaux and the ps/2 protocol. Even set it to do 3rd button
emulation.
Then set the other one to use imps/2, do scroll buttons, and use
/dev/input/mice as the input. (presuming it's usb)
Then set the ServerLayout to use one as "CorePinter" and the other as
"SendCoreEvents."
Here's an example, that's mostly syntactically correct:
Section "ServerLayout"
:
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
EndSection
:
:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "yes"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
Michael
On Thu, 2003-02-20 at 13:02, Tucker, David wrote:
> Hi all,
> I just installed SuSE 8.0 on my Dell laptop. All is working well.
> However, I had a Micro$oft wheel mouse attached when I did the install and I
> seems to have created a problem. If in have the external mouse attached
> when I boot, everything works fine. (including the touch pad on the laptop)
> However, if it is not attached the touch pad doesn't work correctly. The
> cursor jumps around uncontrollably.
> I looked at the XF86Config file and it initially had this.
>
> Section "InputDevice"
> Driver "mouse"
> Identifier "Mouse[1]"
> Option "ButtonNumber" "5"
> Option "Device" "/dev/mouse"
> Option "Name" "AutoDetected"
> Option "Protocol" "imps/2"
> Option "Vendor" "AutoDetected"
> Option "ZAxisMapping" "4 5"
> EndSection
>
> I changed it to:
>
> Section "InputDevice"
> Identifier "Mouse[1]"
> Driver "mouse"
> Option "Protocol" "PS/2"
> Option "Device" "/dev/mouse"
> EndSection
>
> And now the touch pad works fine if I boot without the wheel mouse attached
> but has the same problems if I do have it attached. The wheel mouse doesn't
> work ether.
>
> For the last few weeks, I've been changing the XF86Config file depending
> on if the wheel mouse is attached. While this works, its a pain. Does
> anyone know how I can get one XF86Config file to work in all configurations?
> I really like using the scroll wheel when I have it, but I don't like having
> to change the config file when I don't.
>
> dave
>
> ____________________
> BYU Unix Users Group
> http://uug.byu.edu/
> ___________________________________________________________________
> List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list
--
Michael L Torrie <[EMAIL PROTECTED]>
____________________
BYU Unix Users Group
http://uug.byu.edu/
___________________________________________________________________
List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list