2005-01-19 23:25:42

by Daniel Caujolle-Bert

[permalink] [raw]
Subject: [PATCH] Alps touchpad probing failure

Hi,

With 2.6.11-rc1 bk6 and bk7 (didn't tried with < bk6), my alps touchpad is no
more correctly probed, it's recognised as a standard PS/2 mouse.
So, with this trivial two line patch, everything is working again.

Cheers.
--
73's de Daniel "Der Schreckliche", F1RMB.

-=- Daniel Caujolle-Bert -=- [email protected] -=-
-=- http://naboo.homelinux.org -=-


Attachments:
(No filename) (0.00 B)
(No filename) (189.00 B)
Download all attachments

2005-01-20 03:45:34

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [PATCH] Alps touchpad probing failure

On Wednesday 19 January 2005 18:23, Daniel Caujolle-Bert wrote:
> Hi,
>
> With 2.6.11-rc1 bk6 and bk7 (didn't tried with < bk6), my alps touchpad is no
> more correctly probed, it's recognised as a standard PS/2 mouse.
> So, with this trivial two line patch, everything is working again.
>
> Cheers.

Hi,

I think Peter Osterlund has send similar patch recently - the breakage
appears to be caused by Kensington mouse detection. It looks like these
two don't like each other.

--
Dmitry

2005-01-20 07:13:41

by Daniel Caujolle-Bert

[permalink] [raw]
Subject: Re: [PATCH] Alps touchpad probing failure

Hi Dmitry,

Le Jeudi 20 Janvier 2005 04:45, Dmitry Torokhov a écrit :
> On Wednesday 19 January 2005 18:23, Daniel Caujolle-Bert wrote:
> > Hi,
> >
> > With 2.6.11-rc1 bk6 and bk7 (didn't tried with < bk6), my alps touchpad
> > is no more correctly probed, it's recognised as a standard PS/2 mouse.
> > So, with this trivial two line patch, everything is working again.
> >
> > Cheers.
>
> Hi,
>
> I think Peter Osterlund has send similar patch recently - the breakage
> appears to be caused by Kensington mouse detection. It looks like these
> two don't like each other.

Oh, i see. Okay, maybe that explain why the ps2 command _CMD_GETINFO returned
the wrong 0x0 0x0 0x16 values.

Cheers.
--
73's de Daniel "Der Schreckliche", F1RMB.

-=- Daniel Caujolle-Bert -=- [email protected] -=-
-=- http://naboo.homelinux.org -=-


Attachments:
(No filename) (874.00 B)
(No filename) (189.00 B)
Download all attachments

2005-01-20 07:39:18

by Juergen Quade

[permalink] [raw]
Subject: Re: [PATCH] Alps touchpad probing failure

On Thu, Jan 20, 2005 at 12:23:58AM +0100, Daniel Caujolle-Bert wrote:
> Hi,
>
> With 2.6.11-rc1 bk6 and bk7 (didn't tried with < bk6), my alps touchpad is no
> more correctly probed, it's recognised as a standard PS/2 mouse.
> So, with this trivial two line patch, everything is working again.
>
> Cheers.

I have had the same problems...
Now solved ...

Thanks for the patch,

Juergen.
> --
> 73's de Daniel "Der Schreckliche", F1RMB.
>
> -=- Daniel Caujolle-Bert -=- [email protected] -=-
> -=- http://naboo.homelinux.org -=-

> --- linux-2.6.11-rc1/drivers/input/mouse/alps.c 2005-01-19 19:43:36.000000000 +0100
> +++ linux/drivers/input/mouse/alps.c 2005-01-19 19:34:32.000000000 +0100
> @@ -194,6 +194,12 @@
> int i;
>
> /*
> + * Let's clean the stuff.
> + */
> + if(psmouse_reset(psmouse) < 0)
> + printk(KERN_ERR "alps reset failed\n");
> +
> + /*
> * First try "E6 report".
> * ALPS should return 0x00,0x00,0x0a or 0x00,0x00,0x64
> */