[patch] Synaptics touchpad with Trackpoint needs ps/2 reset

From: Arne Koewing (ark@gmx.net)
Date: Tue Mar 25 2003 - 02:25:47 EST


Hi!

I recently posted this to linux-kernel (with a different subject)
I had included a wrong ptch there, i think this one is ok.

As some people before I had the 'Dell trackpoint does not work' problem
after upgrading to 2.5.XX:
That was:
     
the trackpoint of your dell won't work until:
    - hibernate and wake up the system again
    - plug in an external mouse (you may remove it immediately)

it seems that dells hardware is disabling the trackpoint if you
probed for the touchpad.
A device reset after probing does help, but I've no idea how this
would affect other synaptics touchpad devices although I think
most devices will not complain about one extra reset.

  Arne

diff -bruN linux-2.5.65-old/drivers/input/mouse/psmouse.c linux-2.5.65/drivers/input/mouse/psmouse.c
--- linux-2.5.65-old/drivers/input/mouse/psmouse.c 2003-03-05 04:29:03.000000000 +0100
+++ linux-2.5.65/drivers/input/mouse/psmouse.c 2003-03-26 09:11:10.000000000 +0100
@@ -345,6 +345,7 @@
                   thing up. */
                psmouse->vendor = "Synaptics";
                psmouse->name = "TouchPad";
+ psmouse_command(psmouse, param, PSMOUSE_CMD_RESET_BAT);
                return PSMOUSE_PS2;
        }
-
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 : Mon Mar 31 2003 - 22:00:22 EST