Skip to contentSkip to conversation

2.6.0-test1: Synaptics driver makes touchpad unusable

DISCUSSION Ricardo Galli 3 participants 8 messages Jul 15, 2003 – Jul 16, 2003 Input drivers

lore
Share & tools
lore
#0 lore raw

The new synaptics driver doesn't work with Dell Latitude Touchpad, it doesn't work any /dev/input/event?|mouse? and /dev/psaux neither (altough the same configuration worked at least until 2.5.70).

I tried with gpm and the X's synaptics driver from
http://w1.894.telia.com/~u89404340/touchpad/index.html (as indicated in the kernel documentation) and none worked, although "cat < /dev/input/event0" showed garbage every time I touched the touchpad (no pun intended) iff evdev was loaded.

$ dmesg
...
mice: PS/2 mouse device common for all mice
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
synaptics reset failed
synaptics reset failed
synaptics reset failed
Synaptics Touchpad, model: 1
 Firware: 5.9
 180 degree mounted touchpad
 Sensor: 37
 new absolute packet format
 Touchpad has extended capability bits
 -> multifinger detection
 -> palm detection
input: Synaptics Synaptics TouchPad on isa0060/serio4
serio: i8042 AUX3 port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
...
$ cat /proc/bus/input/devices
I: Bus=0011 Vendor=0002 Product=0007 Version=0000
N: Name="Synaptics Synaptics TouchPad"
P: Phys=isa0060/serio4/input0
H: Handlers=event0
B: EV=1b
B: KEY=670000 0 0 0 0 0 0 0 0
B: ABS=1000003
B: MSC=4

I: Bus=0011 Vendor=0001 Product=0002 Version=ab83
N: Name="AT Set 2 keyboard"
P: Phys=isa0060/serio0/input0
H: Handlers=kbd event1
B: EV=120003
B: KEY=4 2000000 c061f9 fbc9d621 efdfffdf ffefffff ffffffff fffffffe
B: LED=7

$ cat /proc/bus/input/handlers
N: Number=0 Name=kbd
N: Number=1 Name=mousedev Minor=32
N: Number=2 Name=evdev Minor=64

Hope this helps.

Regards,

Signature · 1 line
  ricardo galli       GPG id C8114D34
#1 lore raw
Quoted 10 lines · Ricardo Galli

The new synaptics driver doesn't work with Dell Latitude Touchpad, it doesn't work any /dev/input/event?|mouse? and /dev/psaux neither (altough the same configuration worked at least until 2.5.70).

I tried with gpm and the X's synaptics driver from
http://w1.894.telia.com/~u89404340/touchpad/index.html (as indicated in the kernel documentation) and none worked, although "cat < /dev/input/event0" showed garbage every time I touched the touchpad (no pun intended) iff evdev was loaded.

Quoted 10 lines
$ dmesg
...
mice: PS/2 mouse device common for all mice
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
synaptics reset failed
synaptics reset failed
synaptics reset failed

You probably need this patch.

drivers/input/mouse/psmouse-base.c renamed from drivers/input/mouse.resume/psmouse-base.c +1 -1
@@ -201,7 +201,7 @@
 	psmouse->cmdcnt = receive;
 
 	if (command == PSMOUSE_CMD_RESET_BAT)
-                timeout = 2000000; /* 2 sec */
+                timeout = 4000000; /* 4 sec */
 
 	if (command & 0xff)
 		if (psmouse_sendbyte(psmouse, command & 0xff))
Signature · 2 lines
Peter Osterlund - [email protected]
http://w1.894.telia.com/~u89404340
#2 lore raw

On Tuesday 15 July 2003 15:04, Peter Osterlund shaped the electrons to shout:

Review

Quoted 27 lines
Quoted 10 lines · Ricardo Galli

The new synaptics driver doesn't work with Dell Latitude Touchpad, it doesn't work any /dev/input/event?|mouse? and /dev/psaux neither (altough the same configuration worked at least until 2.5.70).

I tried with gpm and the X's synaptics driver from
http://w1.894.telia.com/~u89404340/touchpad/index.html (as indicated in the kernel documentation) and none worked, although "cat < /dev/input/event0" showed garbage every time I touched the touchpad (no pun intended) iff evdev was loaded.

Quoted 10 lines
$ dmesg
...
mice: PS/2 mouse device common for all mice
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
synaptics reset failed
synaptics reset failed
synaptics reset failed

You probably need this patch.

--- linux/drivers/input/mouse.resume/psmouse-base.c Sat Jul 5 23:39:14
2003 +++ linux/drivers/input/mouse/psmouse-base.c Sun Jul 6 00:23:17 2003

(quoted diff) +0 -0
@@ -201,7 +201,7 @@

Tried it, but still doesn't work. X server says cannot query/intialize de device as before:

i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12 synaptics reset failed
synaptics reset failed
synaptics reset failed
Synaptics Touchpad, model: 1
Firware: 5.9
180 degree mounted touchpad
Sensor: 37
new absolute packet format
Touchpad has extended capability bits
-> multifinger detection
-> palm detection
input: Synaptics Synaptics TouchPad on isa0060/serio4

Thanks.

Signature · 1 line
  ricardo galli       GPG id C8114D34
#3 lore raw
Quoted 25 lines · Ricardo Galli

On Tuesday 15 July 2003 15:04, Peter Osterlund shaped the electrons to shout:

Quoted 24 lines
Quoted 10 lines · Ricardo Galli

The new synaptics driver doesn't work with Dell Latitude Touchpad, it doesn't work any /dev/input/event?|mouse? and /dev/psaux neither (altough the same configuration worked at least until 2.5.70).

I tried with gpm and the X's synaptics driver from
http://w1.894.telia.com/~u89404340/touchpad/index.html (as indicated in the kernel documentation) and none worked, although "cat < /dev/input/event0" showed garbage every time I touched the touchpad (no pun intended) iff evdev was loaded.

Quoted 10 lines
$ dmesg
...
mice: PS/2 mouse device common for all mice
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
synaptics reset failed
synaptics reset failed
synaptics reset failed

You probably need this patch.

Quoted 7 lines

Review

Quoted 3 lines

--- linux/drivers/input/mouse.resume/psmouse-base.c Sat Jul 5 23:39:14
2003 +++ linux/drivers/input/mouse/psmouse-base.c Sun Jul 6 00:23:17 2003

(quoted diff) +0 -0
@@ -201,7 +201,7 @@

Tried it, but still doesn't work. X server says cannot query/intialize de device as before:

Does it help to make the timeout even longer? (15 seconds for example) Does it help to disable the reset sequence altogether, like this?

drivers/input/mouse/synaptics.c +2 -0
diff -u -r -N linux-2.6.0-test1/drivers/input/mouse/synaptics.c linux-tmp/drivers/input/mouse/synaptics.c
@@ -81,6 +81,8 @@
 {
 	unsigned char r[2];
 
+	return 0;
+
 	if (psmouse_command(psmouse, r, PSMOUSE_CMD_RESET_BAT))
 		return -1;
 	if (r[0] == 0xAA && r[1] == 0x00)
Signature · 2 lines
Peter Osterlund - [email protected]
http://w1.894.telia.com/~u89404340
#4 lore raw

On Tuesday 15 July 2003 23:33, Peter Osterlund shaped the electrons to shout:

Quoted 9 lines

Does it help to make the timeout even longer? (15 seconds for example) Does it help to disable the reset sequence altogether, like this?

diff -u -r -N linux-2.6.0-test1/drivers/input/mouse/synaptics.c linux-tmp/drivers/input/mouse/synaptics.c ---
linux-2.6.0-test1/drivers/input/mouse/synaptics.c Sat Jul 12 00:17:19 2003
+++ linux-tmp/drivers/input/mouse/synaptics.c Tue Jul 15 23:31:01 2003 @@
-81,6 +81,8 @@
{

drivers/input/mouse/synaptics.c line 88

Quoted 7 lines
drivers/input/mouse/synaptics.c +2 -0
 	unsigned char r[2];
 
+	return 0;
+
 	if (psmouse_command(psmouse, r, PSMOUSE_CMD_RESET_BAT))
 		return -1;
 	if (r[0] == 0xAA && r[1] == 0x00)

No, it didn't help. With the above patch, the x server gives the following errors:
Query no Synaptics: 0000C8
(EE) TouchPad no synaptics touchpad detected and no repeater device (EE) TouchPad Unable to query/initialize Synaptics hardware.

Signature · 1 line
  ricardo galli       GPG id C8114D34
#5 lore raw
Quoted 12 lines · Ricardo Galli

On Tuesday 15 July 2003 23:33, Peter Osterlund shaped the electrons to shout:

Quoted 11 lines

Does it help to make the timeout even longer? (15 seconds for example) Does it help to disable the reset sequence altogether, like this?

diff -u -r -N linux-2.6.0-test1/drivers/input/mouse/synaptics.c linux-tmp/drivers/input/mouse/synaptics.c ---
linux-2.6.0-test1/drivers/input/mouse/synaptics.c Sat Jul 12 00:17:19 2003
+++ linux-tmp/drivers/input/mouse/synaptics.c Tue Jul 15 23:31:01 2003 @@
-81,6 +81,8 @@
{
unsigned char r[2];

Quoted 12 lines

drivers/input/mouse/synaptics.c line 88

Quoted 5 lines
drivers/input/mouse/synaptics.c +2 -0
+	return 0;
+
 	if (psmouse_command(psmouse, r, PSMOUSE_CMD_RESET_BAT))
 		return -1;
 	if (r[0] == 0xAA && r[1] == 0x00)

No, it didn't help. With the above patch, the x server gives the following errors:
Query no Synaptics: 0000C8
(EE) TouchPad no synaptics touchpad detected and no repeater device (EE) TouchPad Unable to query/initialize Synaptics hardware.

Looks like the wrong protocol is specified in the X driver configuration. You must set "Device" to "/dev/input/eventX" and "Protocol" to "event", where X is probably 0 in your case.

Signature · 2 lines
Peter Osterlund - [email protected]
http://w1.894.telia.com/~u89404340
#6 lore raw
In reply to Ricardo Galli
Quoted 3 lines · Ricardo Galli

The new synaptics driver doesn't work with Dell Latitude Touchpad, it doesn't work any /dev/input/event?|mouse? and /dev/psaux neither (altough the same configuration worked at least until 2.5.70).

I can replicate this problem with 2.6.0-test1 on a Dell Inspiron 4150 laptop as well.

Synaptics Touchpad, model: 1
Firware: 5.9
180 degree mounted touchpad
Sensor: 27
new absolute packet format
Touchpad has extended capability bits
-> multifinger detection
-> palm detection
input: Synaptics Synaptics TouchPad on isa0060/serio1

Dax Kelson

#7 lore raw
Quoted 8 lines · Dax Kelson
Quoted 3 lines · Ricardo Galli

The new synaptics driver doesn't work with Dell Latitude Touchpad, it doesn't work any /dev/input/event?|mouse? and /dev/psaux neither (altough the same configuration worked at least until 2.5.70).

I can replicate this problem with 2.6.0-test1 on a Dell Inspiron 4150 laptop as well.

Quoted 9 lines

Synaptics Touchpad, model: 1
Firware: 5.9
180 degree mounted touchpad
Sensor: 27
new absolute packet format
Touchpad has extended capability bits
-> multifinger detection
-> palm detection
input: Synaptics Synaptics TouchPad on isa0060/serio1

This doesn't look like the same problem. There is no "reset failed" message. Are you using the correct XFree86 driver:

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

Also, note that the driver doesn't work with gpm yet.

Signature · 2 lines
Peter Osterlund - [email protected]
http://w1.894.telia.com/~u89404340