2005-02-25 21:33:51

by Johan Brannlund

[permalink] [raw]
Subject: ALPS touchpad not seen by 2.6.11 kernels

Hi. I've had trouble with my ALPS touchpad on my Acer Aspire, ever
since ALPS support was merged into the kernel. I've tried various
kernels from 2.6.11-rc3 to -rc5 (including some -mm kernels) and none
of them detect the pad. After sprinkling some printk's in the mouse
drivers, it seems like psmouse_connect in psmouse-base.c is never even
called.

On the other hand, using earlier kernels (such as 2.6.9) with the
kernel patch from Peter Osterlund's driver package works fine. In that
case, I get lines like this in syslog:

kernel: alps.c: E6 report: 00 00 64
kernel: alps.c: E7 report: 73 02 14
kernel: alps.c: E6 report: 00 00 64
kernel: alps.c: E7 report: 73 02 14
kernel: alps.c: Status: 15 01 0a
kernel: ALPS Touchpad (Glidepoint) detected
kernel: input: AlpsPS/2 ALPS TouchPad on isa0060/serio4

With the newer kernels, there's nothing ALPS-related in the log. Any
pointers on what to look for would be appreciated. My kernel config is
at http://nullinfinity.org/config-2.6.11-rc5

Thanks,

Johan




__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail


2005-02-25 21:44:47

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: ALPS touchpad not seen by 2.6.11 kernels

On Fri, 25 Feb 2005 13:33:36 -0800 (PST), Johan Braennlund
<[email protected]> wrote:
> Hi. I've had trouble with my ALPS touchpad on my Acer Aspire, ever
> since ALPS support was merged into the kernel. I've tried various
> kernels from 2.6.11-rc3 to -rc5 (including some -mm kernels) and none
> of them detect the pad. After sprinkling some printk's in the mouse
> drivers, it seems like psmouse_connect in psmouse-base.c is never even
> called.
>
> On the other hand, using earlier kernels (such as 2.6.9) with the
> kernel patch from Peter Osterlund's driver package works fine. In that
> case, I get lines like this in syslog:
>
> kernel: alps.c: E6 report: 00 00 64
> kernel: alps.c: E7 report: 73 02 14
> kernel: alps.c: E6 report: 00 00 64
> kernel: alps.c: E7 report: 73 02 14
> kernel: alps.c: Status: 15 01 0a
> kernel: ALPS Touchpad (Glidepoint) detected
> kernel: input: AlpsPS/2 ALPS TouchPad on isa0060/serio4
>
> With the newer kernels, there's nothing ALPS-related in the log. Any
> pointers on what to look for would be appreciated. My kernel config is
> at http://nullinfinity.org/config-2.6.11-rc5
>

Hi,

Does i8042 detect presence of an AUX port (check dmesg)? If not try
booting with i8042.noacpi kernel boot option.

--
Dmitry

2005-02-25 22:20:39

by Johan Brannlund

[permalink] [raw]
Subject: Re: ALPS touchpad not seen by 2.6.11 kernels


--- Dmitry Torokhov wrote:

> Does i8042 detect presence of an AUX port (check dmesg)?

No.

> If not try booting with i8042.noacpi kernel boot option.

Yes, that helped - everything's working now. Thank you.

- Johan


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

2005-02-26 03:17:22

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: ALPS touchpad not seen by 2.6.11 kernels

On Friday 25 February 2005 17:20, Johan Braennlund wrote:
>
> --- Dmitry Torokhov wrote:
>
> > Does i8042 detect presence of an AUX port (check dmesg)?
>
> No.
>
> > If not try booting with i8042.noacpi kernel boot option.
>
> Yes, that helped - everything's working now. Thank you.
>

Could you please send me contents of your DSDT
(cat /proc/acpi/dsdt > dsdt.hex)

Thanks!

--
Dmitry

2005-02-26 22:55:18

by Frank Victor Fischer

[permalink] [raw]
Subject: Re: ALPS touchpad not seen by 2.6.11 kernels

I have had the same problem and the solution worked for me as well.

Where should I put the DSDT?

Please reply to my e-mail, as I am no linux-kernel subscriber.

Victor Fischer

2005-02-27 03:23:25

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: ALPS touchpad not seen by 2.6.11 kernels

On Saturday 26 February 2005 17:55, Frank Victor Fischer wrote:
> I have had the same problem and the solution worked for me as well.
>
> Where should I put the DSDT?
>

Just e-mail it to me - I suspect your PS/2 port has a wierd ID assigned
to it, one that i8042 driver does not expect.

--
Dmitry

2005-02-27 06:34:22

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: ALPS touchpad not seen by 2.6.11 kernels

On Saturday 26 February 2005 17:55, Frank Victor Fischer wrote:
> I have had the same problem and the solution worked for me as well.
>
> Where should I put the DSDT?
>
> Please reply to my e-mail, as I am no linux-kernel subscriber.

Thanks for DSDT! Could you please try the follwing patch?

Andrew, if this works I'd like to see it in 2.6.11...
Vojtech, I will send you patch for PNP shortly after.

--
Dmitry


=====================================================================

Input: add more PNP IDs to i8042 driver.

Signed-off-by: Dmitry Torokhov <[email protected]>


===== drivers/input/serio/i8042-x86ia64io.h 1.2 vs edited =====
--- 1.2/drivers/input/serio/i8042-x86ia64io.h 2004-10-19 05:58:22 -05:00
+++ edited/drivers/input/serio/i8042-x86ia64io.h 2005-02-27 01:27:58 -05:00
@@ -224,7 +224,7 @@

static struct acpi_driver i8042_acpi_aux_driver = {
.name = "i8042",
- .ids = "PNP0F13,SYN0801",
+ .ids = "PNP0F03,PNP0F0B,PNP0F0E,PNP0F12,PNP0F13,SYN0801",
.ops = {
.add = i8042_acpi_aux_add,
},

2005-03-01 02:49:14

by Johan Brannlund

[permalink] [raw]
Subject: Re: ALPS touchpad not seen by 2.6.11 kernels

After applying your patch, I can confirm that the kernel detects the
touchpad without the i8042.noacpi option. Thanks!

- Johan




__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail