linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.0-test1: Synaptics driver makes touchpad unusable
@ 2003-07-15 10:44 Ricardo Galli
  2003-07-15 13:04 ` Peter Osterlund
  2003-07-15 19:14 ` Dax Kelson
  0 siblings, 2 replies; 8+ messages in thread
From: Ricardo Galli @ 2003-07-15 10:44 UTC (permalink / raw)
  To: linux-kernel

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,

-- 
  ricardo galli       GPG id C8114D34

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.0-test1: Synaptics driver makes touchpad unusable
  2003-07-15 10:44 2.6.0-test1: Synaptics driver makes touchpad unusable Ricardo Galli
@ 2003-07-15 13:04 ` Peter Osterlund
  2003-07-15 15:53   ` Ricardo Galli
  2003-07-15 19:14 ` Dax Kelson
  1 sibling, 1 reply; 8+ messages in thread
From: Peter Osterlund @ 2003-07-15 13:04 UTC (permalink / raw)
  To: Ricardo Galli; +Cc: linux-kernel

Ricardo Galli <gallir@uib.es> writes:

> 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

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
@@ -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))

-- 
Peter Osterlund - petero2@telia.com
http://w1.894.telia.com/~u89404340

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.0-test1: Synaptics driver makes touchpad unusable
  2003-07-15 13:04 ` Peter Osterlund
@ 2003-07-15 15:53   ` Ricardo Galli
  2003-07-15 21:33     ` Peter Osterlund
  0 siblings, 1 reply; 8+ messages in thread
From: Ricardo Galli @ 2003-07-15 15:53 UTC (permalink / raw)
  To: Peter Osterlund; +Cc: linux-kernel

On Tuesday 15 July 2003 15:04, Peter Osterlund shaped the electrons to shout:
> Ricardo Galli <gallir@uib.es> writes:
> > 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
>
> 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
> @@ -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.

-- 
  ricardo galli       GPG id C8114D34


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.0-test1: Synaptics driver makes touchpad unusable
  2003-07-15 10:44 2.6.0-test1: Synaptics driver makes touchpad unusable Ricardo Galli
  2003-07-15 13:04 ` Peter Osterlund
@ 2003-07-15 19:14 ` Dax Kelson
  2003-07-15 21:27   ` Peter Osterlund
  1 sibling, 1 reply; 8+ messages in thread
From: Dax Kelson @ 2003-07-15 19:14 UTC (permalink / raw)
  To: Ricardo Galli; +Cc: linux-kernel

On Tue, 2003-07-15 at 04:44, Ricardo Galli wrote:
> 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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.0-test1: Synaptics driver makes touchpad unusable
  2003-07-15 19:14 ` Dax Kelson
@ 2003-07-15 21:27   ` Peter Osterlund
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Osterlund @ 2003-07-15 21:27 UTC (permalink / raw)
  To: Dax Kelson; +Cc: Ricardo Galli, linux-kernel

Dax Kelson <dax@gurulabs.com> writes:

> On Tue, 2003-07-15 at 04:44, Ricardo Galli wrote:
> > 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

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.

-- 
Peter Osterlund - petero2@telia.com
http://w1.894.telia.com/~u89404340

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.0-test1: Synaptics driver makes touchpad unusable
  2003-07-15 15:53   ` Ricardo Galli
@ 2003-07-15 21:33     ` Peter Osterlund
  2003-07-16 14:49       ` Ricardo Galli
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Osterlund @ 2003-07-15 21:33 UTC (permalink / raw)
  To: Ricardo Galli; +Cc: linux-kernel

Ricardo Galli <gallir@uib.es> writes:

> On Tuesday 15 July 2003 15:04, Peter Osterlund shaped the electrons to shout:
> > Ricardo Galli <gallir@uib.es> writes:
> > > 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
> >
> > 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
> > @@ -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?

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];
 
+	return 0;
+
 	if (psmouse_command(psmouse, r, PSMOUSE_CMD_RESET_BAT))
 		return -1;
 	if (r[0] == 0xAA && r[1] == 0x00)

-- 
Peter Osterlund - petero2@telia.com
http://w1.894.telia.com/~u89404340

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.0-test1: Synaptics driver makes touchpad unusable
  2003-07-15 21:33     ` Peter Osterlund
@ 2003-07-16 14:49       ` Ricardo Galli
  2003-07-16 15:04         ` Peter Osterlund
  0 siblings, 1 reply; 8+ messages in thread
From: Ricardo Galli @ 2003-07-16 14:49 UTC (permalink / raw)
  To: Peter Osterlund; +Cc: linux-kernel

On Tuesday 15 July 2003 23:33, Peter Osterlund shaped the electrons to shout:
> 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];
>
> +	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.




-- 
  ricardo galli       GPG id C8114D34


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.0-test1: Synaptics driver makes touchpad unusable
  2003-07-16 14:49       ` Ricardo Galli
@ 2003-07-16 15:04         ` Peter Osterlund
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Osterlund @ 2003-07-16 15:04 UTC (permalink / raw)
  To: Ricardo Galli; +Cc: linux-kernel

Ricardo Galli <gallir@uib.es> writes:

> On Tuesday 15 July 2003 23:33, Peter Osterlund shaped the electrons to shout:
> > 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];
> >
> > +	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.

-- 
Peter Osterlund - petero2@telia.com
http://w1.894.telia.com/~u89404340

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-07-16 14:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-15 10:44 2.6.0-test1: Synaptics driver makes touchpad unusable Ricardo Galli
2003-07-15 13:04 ` Peter Osterlund
2003-07-15 15:53   ` Ricardo Galli
2003-07-15 21:33     ` Peter Osterlund
2003-07-16 14:49       ` Ricardo Galli
2003-07-16 15:04         ` Peter Osterlund
2003-07-15 19:14 ` Dax Kelson
2003-07-15 21:27   ` Peter Osterlund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).