From owner-freebsd-mobile@FreeBSD.ORG Sat Apr 3 06:21:14 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A086E16A4D0; Sat, 3 Apr 2004 06:21:14 -0800 (PST) Received: from coruscant.rfc1149.org (coruscant.rfc1149.org [217.160.130.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C23B43D54; Sat, 3 Apr 2004 06:21:14 -0800 (PST) (envelope-from arne@rfc2549.org) Received: by coruscant.rfc1149.org (Postfix, from userid 110) id EECEC3CF5; Sat, 3 Apr 2004 16:20:56 +0200 (CEST) Received: from kamino.rfc1149.org (kamino.rfc1149.org [2001:8d8:81:11::2]) by coruscant.rfc1149.org (Postfix) with ESMTP id BEB353CE0; Sat, 3 Apr 2004 16:20:54 +0200 (CEST) Received: by kamino.rfc1149.org (Postfix, from userid 1001) id 75C6C14; Sat, 3 Apr 2004 16:20:53 +0200 (CEST) To: freebsd-mobile@freebsd.org, freebsd-current@freebsd.org From: Arne Schwabe Date: Sat, 03 Apr 2004 16:20:53 +0200 Message-ID: <86brm9b0sa.fsf@kamino.rfc1149.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on coruscant.rfc1149.org X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Level: cc: petero2@telia.com Subject: Synaptics Driver Patch (new Version) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2004 14:21:14 -0000 Hi, some Months ago I posted a very hacky synaptics driver patch. Here is a new Version: It is still not perfect, but since it will be almost perfect (I hope) for some people I posting this. - Dectecting and setup of the Synaptics touchpad works - Touchpad with moused works - the Trackpoint with the moused (Are there any other combinations?) does not work, since I did implement the parsing of the Guest yet (But should be very easy, see the comment in psm.c) - The XFree86 Synaptics Driver fully works, Touchpad and Trackpoint - Parts of psm.c touchpad parsing are from Marcin Dalecki patch - The Synaptics Driver should still work with this patches under Linux but I could not test it :( You should only have to remove the two little Changes to the Makefile In Ordner to use the XFree86 driver you have to disable moused :/ Howto: download http://www.plaisthos.de/freebsd/synaptics.kern.patch patch your kernel with it cd /usr/src/sys patch -p1 < /path/to/synaptics.kern.patch compile and install the kernel make installworld or simply cp /usr/src/sys/sys/mosue.h to /usr/include/sys download http://w1.894.telia.com/~u89404340/touchpad/files/synaptics-0.12.5.tar.bz2 extract it (tar xfvj synatpics-0.12.5.tar.bz2) Apply http://www.plaisthos.de/freebsd/synaptics.driver.patch cd synatpics-0.12.5 patch -p1 < /path/to/synaptics.driver.patch gmake synaptics_drv.o I don't know if gmake install works but cp synaptics_drv.o /usr/X11R6/lib/modules/input/synaptics_drv.o works :) Edit your XF86Config Change your Mouse Section to: Section "InputDevice" Driver "synaptics" Identifier "synaptics" Option "Device" "/dev/bpsm0" Option "Protocol" "psaux" Option "LeftEdge" "1900" Option "RightEdge" "5400" Option "TopEdge" "1900" Option "BottomEdge" "4000" Option "FingerLow" "25" Option "FingerHigh" "30" Option "MaxTapTime" "180" Option "MaxTapMove" "220" Option "VertScrollDelta" "100" Option "MinSpeed" "0.02" Option "MaxSpeed" "0.18" Option "AccelFactor" "0.0006" Option "SHMConfig" "on" # Option "Repeater" "/dev/ps2mouse" EndSection And make sure that in you ServerLayout Section you change Mouse1 or whatever to: InputDevice "synaptics" "CorePointer" The real reason I am posting this now is because I know that I prbpably to lazy to code the missing parts because the part I wanted to have works good enough (the XFree86 Driver) Arne