2010-02-01 03:26:10

by Daniel Mack

[permalink] [raw]
Subject: ACPI device for ASUS EEEPC 1101HA not added

On my new 1101HA Eeepc, the special function keys do not work. This is
because the asus-laptop driver fails to match the ACPI device named
"ASUS010". However, acpidump tells me a device with that name does
actually exist - the (simplified) disassembly of the DSDT is below.

It looks like the gigantic parser state machine fails to add that
device for whatever reason. Any ideas how to fix that?


Thanks,
Daniel


/*
* Intel ACPI Component Architecture
* AML Disassembler version 20090521
*/
DefinitionBlock ("out/DSDT-0x3f660430-0.aml", "DSDT", 2, "A1359", "A1359000", 0x00000000)
{

[...]

Scope (_SB)
{

[...]

Device (PCI0)
{
Name (_HID, EisaId ("PNP0A08"))
Name (_ADR, Zero)

[...]

Device (SBRG)
{

[...]

Scope (\_SB)
{
Name (ATKP, Zero)
Device (ATKD)
{
Name (_HID, "ASUS010")
Name (_UID, 0x01010100)

[...]


The full version of the dump is here:

http://caiaq.de/download/tmp/DSDT-0x3f660430-0.dsl


2010-02-02 01:21:40

by Zhang, Rui

[permalink] [raw]
Subject: Re: ACPI device for ASUS EEEPC 1101HA not added

On Mon, 2010-02-01 at 11:25 +0800, Daniel Mack wrote:
> On my new 1101HA Eeepc, the special function keys do not work. This is
> because the asus-laptop driver fails to match the ACPI device named
> "ASUS010". However, acpidump tells me a device with that name does
> actually exist - the (simplified) disassembly of the DSDT is below.
>
> It looks like the gigantic parser state machine fails to add that
> device for whatever reason. Any ideas how to fix that?
>
eeepc is handled in eeepci-laptop driver.

~/src/linux-2.6$ grep ASUS010 drivers/platform/*/*
drivers/platform/x86/eeepc-laptop.c:#define EEEPC_ACPI_HID "ASUS010"

thanks,
rui

>
> Thanks,
> Daniel
>
>
> /*
> * Intel ACPI Component Architecture
> * AML Disassembler version 20090521
> */
> DefinitionBlock ("out/DSDT-0x3f660430-0.aml", "DSDT", 2, "A1359", "A1359000", 0x00000000)
> {
>
> [...]
>
> Scope (_SB)
> {
>
> [...]
>
> Device (PCI0)
> {
> Name (_HID, EisaId ("PNP0A08"))
> Name (_ADR, Zero)
>
> [...]
>
> Device (SBRG)
> {
>
> [...]
>
> Scope (\_SB)
> {
> Name (ATKP, Zero)
> Device (ATKD)
> {
> Name (_HID, "ASUS010")
> Name (_UID, 0x01010100)
>
> [...]
>
>
> The full version of the dump is here:
>
> http://caiaq.de/download/tmp/DSDT-0x3f660430-0.dsl
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

2010-02-02 02:09:59

by Daniel Mack

[permalink] [raw]
Subject: Re: ACPI device for ASUS EEEPC 1101HA not added

On Tue, Feb 02, 2010 at 09:19:22AM +0800, Zhang Rui wrote:
> On Mon, 2010-02-01 at 11:25 +0800, Daniel Mack wrote:
> > On my new 1101HA Eeepc, the special function keys do not work. This is
> > because the asus-laptop driver fails to match the ACPI device named
> > "ASUS010". However, acpidump tells me a device with that name does
> > actually exist - the (simplified) disassembly of the DSDT is below.
> >
> > It looks like the gigantic parser state machine fails to add that
> > device for whatever reason. Any ideas how to fix that?
> >
> eeepc is handled in eeepci-laptop driver.
>
> ~/src/linux-2.6$ grep ASUS010 drivers/platform/*/*
> drivers/platform/x86/eeepc-laptop.c:#define EEEPC_ACPI_HID "ASUS010"

Yes, that I know. The driver was just unable to match the device because
it was not detected by the ACPI core. Works now with the patch Andrej
sent. I would still like to make sure it's getting merged mainline
sooner or later.

Thanks,
Daniel