Discussion:
Synaptics Driver Patch (new Version)
(too old to reply)
a***@rfc2549.org
2004-04-03 14:31:55 UTC
Permalink
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
l***@lambertfam.org
2004-04-03 21:52:30 UTC
Permalink
Post by a***@rfc2549.org
Hi,
some Months ago I posted a very hacky synaptics driver patch.
It is still not perfect, but since it will be almost perfect (I hope)
for some people I posting this.
The driver works here.

However, and this is purely personal opinion, it makes the touchpad even
more annoying by activating the scroll area. That makes it even more
difficult to type without wierd things happening when the thumb part of
my palm touches the touchpad. I've always hated touchpads. Someone
could make some money off me by selling replacements keyboards with
trackpoints.
--
Scott Lambert KC5MLE Unix SysAdmin
***@lambertfam.org http://www.lambertfam.org/~lambert/resume.html
p***@telia.com
2004-04-04 22:26:54 UTC
Permalink
Post by a***@rfc2549.org
some Months ago I posted a very hacky synaptics driver patch.
It is still not perfect, but since it will be almost perfect (I hope)
for some people I posting this.
...
Post by a***@rfc2549.org
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
I'll try to merge this into the XFree86 driver, but I don't want to use
the patch as is. I'd like to avoid #ifdef's and conditional compilation if
possible. My unfinished changes can be found here:

http://w1.894.telia.com/~u89404340/syn.tar.bz2
--
Peter Osterlund - ***@telia.com
http://w1.894.telia.com/~u89404340
a***@rfc2549.org
2004-04-05 16:39:08 UTC
Permalink
Post by p***@telia.com
Post by a***@rfc2549.org
some Months ago I posted a very hacky synaptics driver patch.
It is still not perfect, but since it will be almost perfect (I hope)
for some people I posting this.
...
Post by a***@rfc2549.org
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
I'll try to merge this into the XFree86 driver, but I don't want to use
the patch as is. I'd like to avoid #ifdef's and conditional compilation if
http://w1.894.telia.com/~u89404340/syn.tar.bz2
Okay let me hear If you got something, so I can test it.
I did the fps2comm.h/fps2comm.c stuff because that linux psaux seem to work
completly different from FreeBSDs psm driver. (No writing to the
device from user space)

Arne
--
<Amici|Kitty> 666 is the number of the beast ;P
<momo8D> 6667 is the number of you losing whatever social life you might
have had. -- (bash #214827)
p***@telia.com
2004-04-18 19:07:23 UTC
Permalink
Post by a***@rfc2549.org
Post by p***@telia.com
Post by a***@rfc2549.org
some Months ago I posted a very hacky synaptics driver patch.
It is still not perfect, but since it will be almost perfect (I hope)
for some people I posting this.
...
Post by a***@rfc2549.org
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
I'll try to merge this into the XFree86 driver, but I don't want to use
the patch as is. I'd like to avoid #ifdef's and conditional compilation if
http://w1.894.telia.com/~u89404340/syn.tar.bz2
Okay let me hear If you got something, so I can test it.
Now I have uploaded a new version to the same URL. You should set Protocol
to "psm" in XF86Config to enable the FreeBSD psm driver protocol.

Feedback is wanted, because I don't have a FreeBSD system to test on.
--
Peter Osterlund - ***@telia.com
http://w1.894.telia.com/~u89404340
Loading...