Synaptics Touchpad Driver Kernel 2.6.5 XFree4.3

Debian auf Notebooks und speziellen Geräten wie eingebetteten Systemen, Routern, Set-Top-Boxen, ...
Antworten
marcbey
Beiträge: 4
Registriert: 14.04.2004 18:29:26
Wohnort: Stuttgart

Synaptics Touchpad Driver Kernel 2.6.5 XFree4.3

Beitrag von marcbey » 14.04.2004 18:55:09

Hello.

I googled a lot, but havent found something that fits for my problem.

I try to install the synaptics touchpad driver, because i updated my kernel to 2.6.5. i also have installed xfree4.3 and all this on a fujitsu-siemens amilo d 1840.

When i try to compile the synaptics driver 0.12.5, it ends with some compile errors(see at the end).

I have ps2 and evdev module aktivated in the kernel and loaded evdev with modprobe evdev.

I looked the the Makefile and recogniced that this script looks for xfree header files, maybe the right header files will not be found or something like this.
(btw: how could i get the xfree header files, are they the sources?)

Maybe somebody can give me a hint.
Thanx in advice.

Marc Beyerlin

this a the ending of the error msg when i do make:
synaptics.c:1684: error: dereferencing pointer to incomplete type
synaptics.c:1687: error: dereferencing pointer to incomplete type
synaptics.c:1688: error: dereferencing pointer to incomplete type
synaptics.c:1693: error: dereferencing pointer to incomplete type
synaptics.c: At top level:
synaptics.c:1701: error: parse error before "PacketOk"
synaptics.c:1701: error: parse error before '*' token
synaptics.c:1702: warning: return type defaults to `int'
synaptics.c: In function `PacketOk':
synaptics.c:1703: error: `priv' undeclared (first use in this function)
synaptics.c:1708: error: `FALSE' undeclared (first use in this function)
synaptics.c:1726: error: `TRUE' undeclared (first use in this function)
synaptics.c: At top level:
synaptics.c:1730: error: parse error before "SynapticsGetPacket"
synaptics.c:1730: error: parse error before "local"
synaptics.c:1731: warning: return type defaults to `int'
synaptics.c: In function `SynapticsGetPacket':
synaptics.c:1736: error: `priv' undeclared (first use in this function)
synaptics.c:1741: warning: implicit declaration of function `xf86WaitForInput'
synaptics.c:1741: error: `local' undeclared (first use in this function)
synaptics.c:1751: warning: implicit declaration of function `xf86write'
synaptics.c:1753: error: `Success' undeclared (first use in this function)
synaptics.c: At top level:
synaptics.c:1797: error: parse error before '*' token
synaptics.c: In function `PrintIdent':
synaptics.c:1799: error: `X_PROBED' undeclared (first use in this function)
synaptics.c:1799: error: `priv' undeclared (first use in this function)
synaptics.c: At top level:
synaptics.h:133: error: storage size of `hwState' isn't known
synaptics.c:456: warning: `SynapticsCtrl' defined but not used
make: *** [synaptics.o] Error 1

Benutzeravatar
mistersixt
Beiträge: 6601
Registriert: 24.09.2003 14:33:25
Lizenz eigener Beiträge: GNU Free Documentation License

Beitrag von mistersixt » 14.04.2004 22:06:15

"apt-get install xlibs-dev" will install the X development files. However, I think your problem is related to Kernel 2.6.X, cause on this page...

http://w1.894.telia.com/~u89404340/touchpad/

...it says "If you use a 2.6 linux kernel, you might want to try Dmitry Torokhov's kernel patches", which is this web site:

http://www.geocities.com/dt_or/input/

Good luck and kind regards,

mistersixt.

Spookymulder
Beiträge: 10
Registriert: 11.04.2004 15:37:10

Synaptics

Beitrag von Spookymulder » 16.04.2004 18:39:32

What the f*c* are you doing :) ? Just do this.
Don`t be so stupid and use mknod etc. Your Notebook works nearly out of the box !

1. apt-get update && apt-get install xfree86-driver-synaptics kernel-image-2.6.5-1-686

2. xf86config and create your core devices etc.

3. vi /etc/X11/XF86Config-4

Your Touchpad should looks like so.


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "synaptics"
Option "Protocol" "PS/2"
Option "Device" "/dev/input/mice"
Option "Finger" "25 30"
Option "MaxTapTime" "120"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.02"
Option "MaxSpeed" "0.12"
Option "AccelFactor" "0.0010"
Option "CorePointer"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
EndSection

4. You want an extra USB Mouse ? No problem :) Just add this here

# **********************************************************************
# Other input device sections...
#

Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mouse2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

# Add following lines nearly to the end of the XF86Config
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse2" "SendCoreEvents"

4. I recommend that you load the psmouse module.(vi /etc/modules)


By the way... I have an Fujitsu Siemens Lifebook 1020 and E4010D. All Thinks like Modem or 3D Graphics (DRI Driver for Savage works wonderfull if you use CVS...)

greetings
Spookymulder
Zuletzt geändert von Spookymulder am 17.04.2004 14:21:21, insgesamt 1-mal geändert.

Benutzeravatar
mistersixt
Beiträge: 6601
Registriert: 24.09.2003 14:33:25
Lizenz eigener Beiträge: GNU Free Documentation License

Beitrag von mistersixt » 16.04.2004 22:37:01

Oh, I didn't know that there is a package for the synaptics driver :) ! Thanks for the hint ...

mistersixt.

Benutzeravatar
peschmae
Beiträge: 4844
Registriert: 07.01.2003 12:50:33
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: nirgendwo im irgendwo

Beitrag von peschmae » 17.04.2004 11:00:40

If you want to compile the kernel yourself using the Sources from kernel.org you have to patch it (the patch is included in the synaptics package and can be found under /usr/share/doc/xfree86-driver-synaptics/alps.patch.gz)

The rest really works out of the box :D :D

Anyway I also was quite confused by the patches linked on their homepage :roll:
But as it worked without them i figured I don't need them :wink:

MfG Peschmä

dave
Beiträge: 294
Registriert: 15.05.2003 12:26:58
Wohnort: Niederkrüchten
Kontaktdaten:

Beitrag von dave » 19.04.2004 10:12:30

funktioniert wirklich wunderbar. Aber wie man tapping aktiviert das hab ich noch nicht hinbekommen.
Running Debian GNU/lLinux - Testing (for life:-))
Core 2 Duo E6400
4GB Ram
Asus P5B
Asus Geforce 7300 GT
750GB 32MB Cache Seagate SATA II NCQ
500GB 16MB Cache Seagate SATA II NCQ
Terratect Cinergy DVB-C

marcbey
Beiträge: 4
Registriert: 14.04.2004 18:29:26
Wohnort: Stuttgart

apt-get install xlibs-dev

Beitrag von marcbey » 20.04.2004 03:18:14

ein apt-get install xlibs-dev hat mir weitergeholfen,

Vielen Dank für die Hilfe an alle.

dave
Beiträge: 294
Registriert: 15.05.2003 12:26:58
Wohnort: Niederkrüchten
Kontaktdaten:

Beitrag von dave » 20.04.2004 09:21:06

lag an meiner externen mouse die war noch als corepointer definiert was man natürlich nicht machen sollte.
Running Debian GNU/lLinux - Testing (for life:-))
Core 2 Duo E6400
4GB Ram
Asus P5B
Asus Geforce 7300 GT
750GB 32MB Cache Seagate SATA II NCQ
500GB 16MB Cache Seagate SATA II NCQ
Terratect Cinergy DVB-C

Benutzeravatar
odradeck
Beiträge: 156
Registriert: 24.03.2003 20:58:57
Wohnort: Aachen

Beitrag von odradeck » 23.06.2004 00:26:03

sauber !
Auf dem weg zum funktionierenden Touchpad habe ich wohl alle Fehler mitgenommen, die man machen konnte - vom nichtgeladenen psmouse bis zum störenden CorePointer Eintrag in der usb-Maus.

- das schicke daran ist, dass die im forum alle schon mal irgendwo erwähnt wurden
Danke! nu funzt es :)
~ wer Rechtschreibfehler findet, darf sie behalten ~

Benutzeravatar
SilverDragon
Beiträge: 76
Registriert: 03.03.2003 13:36:02

Beitrag von SilverDragon » 27.07.2004 13:38:16

Hallo ich habe das Packet xfree86-driver-synaptics aus unstable auf mein testing installiert und benutze auch den Kernel-2.6.7-1-686, seit dem ich diesen Treiber benutze ist KDE völlig instabil bzw als normaler Nutzer gekomme ich gar keine Möglichkeit mich einzuloggen als root kann ich mich anmelden bekomme aber ständig SIG 11 Fenster von KDE.

Was kann ich den jetzt machen ??
One OS to rule them all, one OS to find them.
One OS to bring them all, and in the darkness bind them
In the land of Redmond, where the shadows lie.

Benutzeravatar
QT
Beiträge: 1235
Registriert: 22.07.2004 21:08:02
Wohnort: localhost

Beitrag von QT » 28.07.2004 14:29:05

Der Synaptics Treiber funktioniert wunderbar bei mir. Auch die Scrollfunktion am rechten und unteren Rand des Touchpads funktioniert. Nun haette ich allerdings gerne auch noch, dass das zusaetzliche Scrollrad genutzt werden kann. Ist das irgendwie moeglich?

Benutzeravatar
rab
Beiträge: 225
Registriert: 05.11.2003 12:05:09
Wohnort: zürich (CH)

alps

Beitrag von rab » 21.09.2004 22:34:38

hallo

Ich habs mit dem packet versucht, x wollte nicht starten...

hab ein alps-TP, könnte das der Grund sein, oder gehz auch mit ALPS-Touchpads out of the box?

--> acer TravelMate 290---

oder muss ich einen kernel backen? :roll:
kraaahh!!!

Antworten