Re: ALPS psmouse_reset on reconnect confusing Tecra M2

Micheal Marineau
2005-07-10T20:09:03Z

[-- Attachment #1: Type: text/plain, Size: 1720 bytes --]

Vojtech Pavlik wrote:
> 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.
>

I don't really understand what's going on with that. It's not the root
issue for sure, just now after a run of about 15 suspends the mouse
finally capped out. Somehow that made it slightly more reliable? Or it
was just dumb luck that I couldn't reproduce it yesterday, but I managed
to do it once today.

My best guess is that something more needs to be done to priv->dev2 to
make sure it initilizes properly but I don't know what, I'm having some
difficulty understanding the alps driver.

But it could be something independent of resume, I have a gentoo user
with another inspiron 8500 who says even with 2.6.12, the dualpoint
stick doesn't initilize a lot of the time even on boot.

--
Michael Marineau
marineam@engr.orst.edu
Oregon State University

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]