Gentoo Archives: gentoo-laptop

From: James Cloos <cloos+gentoo-laptop@×××××××.com>
To: gentoo-laptop@l.g.o
Cc: Sebastian Gibb <sebastiangibb@××××××××.de>
Subject: Re: [gentoo-laptop] fujitsu siemens s7110 - touch stick?
Date: Mon, 21 May 2007 11:22:10
Message-Id: m3r6patvoo.fsf@lugabout.jhcloos.org
In Reply to: Re: [gentoo-laptop] fujitsu siemens s7110 - touch stick? by Sebastian Gibb
>>>>> "Sebastian" == Sebastian Gibb <sebastiangibb@××××××××.de> writes:
Sebastian> now I use evdev: Sebastian> Section "InputDevice" Sebastian> Identifier "touchstick" Sebastian> #Driver "mouse" Sebastian> Driver "evdev" Sebastian> Option "Protocol" "auto" Sebastian> Option "Device" "/dev/input/mouse1" Sebastian> EndSection Sebastian> but it doesn't work. /dev/input/mouse1 is not an evdev device. Try this: Section "InputDevice" Identifier "evMouse" Driver "evdev" Option "evBits" "+1-2" Option "keyBits" "~272-287" Option "relBits" "~0-2 ~6 ~8" Option "Pass" "3" EndSection and then add: InputDevice "evMouse" "CorePointer" to the ServerLayout section. Or, since evdev does not support emulating the middle mouse button by pressing the left and right simultaneously, I'd suggest what I use: Section "InputDevice" Identifier "evKeyboard" Driver "evdev" Option "evBits" "+1" Option "keyBits" "~1-255 ~352-511" Option "Pass" "3" Option "AutoRepeat" "500 30" # ... plus any XkbOptions ... EndSection Section "InputDevice" Driver "mouse" Identifier "Mice" Option "Device" "/dev/input/mice" Option "InputFashion" "Mouse" Option "Name" "AutoDetected" Option "Protocol" "imps/2" Option "Vendor" "AutoDetected" Option "Emulate3Buttons" "on" Option "ZAxisMapping" "4 5" EndSection Section "ServerLayout" Identifier "Layout[all]" InputDevice "evKeyboard" "CoreKeyboard" InputDevice "Mice" "CorePointer" # ... etc ... Screen "Screen[0]" EndSection With /dev/input/mice the kernel does the hard work multiplexing the pad, stick and any external USB or PS/2 mice and the server handles emulating the middle button. In short, everything just works. I do recommend dvdev for keyboards, though. -JimC -- James Cloos <cloos@×××××××.com> OpenPGP: 1024D/ED7DAEA6 -- gentoo-laptop@g.o mailing list