On 11/29/05, Richard Fish <[EMAIL PROTECTED]> wrote:
> On 11/29/05, Christoph Eckert <[EMAIL PROTECTED]> wrote:
> > I wonder that it only tells something about /dev/psaux and PS/S mouse,
> > but where is my USB mouse?
>
> Oh, a few more things. /dev/psaux is now deprecated, so you should
> probably change this to be /dev/input/mouseX.
>
> Also, you might want to play a bit with the ordering of your module
> loading (assuming you are using modules) in /etc/autoload.d/kerne-2.6,
> so that psmouse is loaded before usbhid. This should make mouse0 and
> mouse1 your trackpad & stick, and mouse2 your USB mouse. This way,
> you have the option of not connecting the USB mouse, without having X
> complain about a missing device.
>
> In this setup, you would having something like:
>
> Section "ServerLayout"
> Identifier "XFree86 Configured"
> Screen 0 "Screen0" 0 0
> InputDevice "Keyboard0" "CoreKeyboard"
> InputDevice "trackpad" "CorePointer"
> InputDevice "stick"
> InputDevice "usbmouse"
> EndSection
> ...
Oops, I clicked send when I meant to click inside the edit box...so
let me finish that thought:
...
Section "InputDevice"
Identifier "trackpad"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/input/mouse0"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
EndSection
Section "InputDevice"
Identifier "stick"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/input/mouse1"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
EndSection
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Protocol" "ExplorerPS/2"
# Option "Protocol" "IMPS/2"
Option "Buttons" "8"
Option "ZAxisMapping" "4 5"
EndSection
The above is assuming that you really need/want Emulate3Buttons for
the stick and trackpad. Otherwise, you can get by with a single
InputDevice section set to /dev/input/mice.
HTH,
-Richard
--
[email protected] mailing list