Re: ALPS psmouse_reset on reconnect confusing Tecra M2

Vojtech Pavlik
2005-07-10T12:20:54Z

On Sun, Jul 10, 2005 at 01:03:53AM -0700, Micheal Marineau wrote:

> Yey! fixed it, simple little patch, just updates the alps_model_info
> struct. Here's a link so my mail client won't mess up the white space:
> http://dev.gentoo.org/~marineam/files/alps-dell8500-dualpoint.patch
>
> (note, this sill requires the alps-suspend-typo fix)

It's hard to believe your patch

--- linux-2.6.12-suspend2.orig/drivers/input/mouse/alps.c 2005-07-07 23:50:48.000000000 -0700
+++ linux-2.6.12-suspend2/drivers/input/mouse/alps.c 2005-07-10 00:51:36.000000000 -0700
@@ -48,1 +48,1 @@
- { { 0x63, 0x03, 0xc8 }, 0xf8, 0xf8, ALPS_PASS }, /* Dell Latitude D800 */
+ { { 0x63, 0x03, 0xc8 }, 0xf8, 0xf8, ALPS_PASS | ALPS_DUALPOINT }, /* Dell Latitude D800, Inspiron 8500 */

can fix it, because the ALPS_DUALPOINT constant doesn't affect the
initalization behavior at all, only the way how TouchPoint data are
decoded.

--
Vojtech Pavlik
SuSE Labs, SuSE CR