Re: 2.6.0-test1: Synaptics driver makes touchpad unusable

From: Peter Osterlund (petero2@telia.com)
Date: Tue Jul 15 2003 - 16:33:04 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:01:00 EST