From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1Hq5xp-0003sD-TD for garchives@archives.gentoo.org; Mon, 21 May 2007 11:22:10 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l4LBKnOR032081; Mon, 21 May 2007 11:20:49 GMT Received: from eagle.jhcloos.com (eagle.jhcloos.com [207.210.242.212]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l4LBKmZU032075 for ; Mon, 21 May 2007 11:20:48 GMT Received: by eagle.jhcloos.com (Postfix, from userid 10) id 8A9A240050; Mon, 21 May 2007 11:20:45 +0000 (UTC) DKIM-Signature: v=0.5; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1179746446; bh=c/Rng42gDudeiQY/s3+EqcdHCUxe9brlVHqtisotH sM=; h=Received:X-Hashcash:From:To:Cc:Subject:In-Reply-To: References:User-Agent:Face:Copyright:OpenPGP:OpenPGP-Fingerprint: X-Hashcash:Date:Message-ID:Lines:MIME-Version:Content-Type; b=MFua 11qH8+GQPoQSHSYMaEu6NSlsjWIIa8AfVjcwefu1HRx31xsDshwe1GYtfa6e4t+oDXb am3tlQamzahHGmK6A+cKQGDOTlSEFLGbkjE8SmfVEcABpRiri8f9Sy4ewzBriLR08LQ bFosRdJ9RXiYjqIChmSpFd/7slYx/mBVY= Received: by lugabout.jhcloos.org (Postfix, from userid 500) id EDFE57C452; Mon, 21 May 2007 08:41:59 +0000 (UTC) X-Hashcash: 1:23:070521:sebastiangibb@t-online.de::+cjd5gOTq2zcV/QE:000000000000000000000000000000000000Dxr7 From: James Cloos To: gentoo-laptop@lists.gentoo.org Cc: Sebastian Gibb Subject: Re: [gentoo-laptop] fujitsu siemens s7110 - touch stick? In-Reply-To: <200705192009.29306.sebastiangibb@t-online.de> (Sebastian Gibb's message of "Sat, 19 May 2007 20:09:26 +0200") References: <200705131945.12185.sebastiangibb@t-online.de> <200705192009.29306.sebastiangibb@t-online.de> User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMnRFWHRUaXRsZQAvbWF4dG9y L2Nsb29zL2luY29taW5nLzIwMDQvMDIvUFdHL0pIQzE2LnBuZyJMlEwAAAAadEVYdFNvZnR3YXJl AEdOT01FIEljb24gRWRpdG9ynioKbAAAAHFJREFUeJzFk8EKwCAMQ1/ED9cvzw6iuM0N9WIvDTWE 1KjAxmKnLBEBjLcEIBCeI2nccy5YKrjxwbbvAvZ37zlo4GB9iRMC/cq/AppItwmMyJ5I98wd9G7P xxgrSKlYS2lMrOcV13o95aVSKA7E5ndGXG+IIzcl4BNfAAAAAElFTkSuQmCC Copyright: Copyright 2007 James Cloos OpenPGP: ED7DAEA6; url=http://jhcloos.com/public_key/0xED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 X-Hashcash: 1:23:070521:gentoo-laptop@lists.gentoo.org::SoLbxrLEkN8qkFAK:0000000000000000000000000000000o6y5 Date: Mon, 21 May 2007 04:41:36 -0400 Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-laptop@gentoo.org Reply-to: gentoo-laptop@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archives-Salt: e0c0034d-a973-4bd7-91c8-8756ce794486 X-Archives-Hash: 684c62b7710f7a1c4a5621cef05d514b >>>>> "Sebastian" == Sebastian Gibb 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 OpenPGP: 1024D/ED7DAEA6 -- gentoo-laptop@gentoo.org mailing list