Skip to contentSkip to conversation

Fixing DSDT table for correct LID behavior

DISCUSSION Renato Alves 2 participants 2 messages Mar 6, 2007 ACPI

lore
Share & tools
lore
#0 lore raw

Hi guys.

This is my first message to the mailing list.
I'm still new to the ACPI and DSDT mambo jumbo and not a programmer, but anyway... I tried to debug the dsdt of my laptop (Acer Aspire 1694 LMi) to solve some of the typical problems (no BAT info, boot hangs...). So far, by using a mixture of the custom DSDTs at acpi.sf.net I managed to solve the BAT issues and the boot hangs.
Using iasl I got only one warning, that I don't know how to solve:

dsdt.custom.dsl 7598: And (0xFE, Local7)
Warning 1104 - Result is not used, operator has no effect ^

Past this, I now have the system with thermal support in passive mode (no throttling), no fan info (no rpm, no throttling, no nothing), ac_adapter is fine, button power and sleep are fine, lid works but I will get back to it later, processor is also fine (with throttling) and battery is also fine except for present rate when charging.

Now the LID: the problem with this is the number of events generated. The ideal behavior would be 1 event on lid close and 1 on lid open. But actually what happens is 5 events per second when the lid is closed. This causes high CPU loads when software like cpufreq parses the logs and huge logs by acpid.

I was hoping someone could tip me on how to reduce the number of events generated to prevent this flooding. And enlighten about the possibility of getting the fan and thermal parts working "non-passive".

Here is a copy of what I have been working on:
http://apollo.dq.fct.unl.pt/~al1133/dsdt.tar.bz2

Thanks
--
Renato Alves

#1 lore raw

Probably, the intended statement was

And (0xFE, Local7, Local7)

This type of thing should certainly be reported to the vendor.

Quoted 11 lines

-----Original Message-----
From: [email protected] [mailto:linux-acpi- [email protected]] On Behalf Of Renato Alves
Sent: Monday, March 05, 2007 4:40 PM
To: [email protected]
Subject: Fixing DSDT table for correct LID behavior

Hi guys.

This is my first message to the mailing list.
I'm still new to the ACPI and DSDT mambo jumbo and not a programmer,

but

Quoted 1 line

anyway... I tried to debug the dsdt of my laptop (Acer Aspire 1694

LMi)

Quoted 2 lines

to solve some of the typical problems (no BAT info, boot hangs...). So far, by using a mixture of the custom DSDTs at acpi.sf.net I managed

to

Quoted 10 lines

solve the BAT issues and the boot hangs.
Using iasl I got only one warning, that I don't know how to solve:

dsdt.custom.dsl 7598: And (0xFE, Local7)
Warning 1104 - Result is not used, operator has no effect ^

Past this, I now have the system with thermal support in passive mode (no throttling), no fan info (no rpm, no throttling, no nothing), ac_adapter is fine, button power and sleep are fine, lid works but I will get back to it later, processor is also fine (with throttling)

and

Quoted 4 lines

battery is also fine except for present rate when charging.

Now the LID: the problem with this is the number of events generated. The ideal behavior would be 1 event on lid close and 1 on lid open.

But

Quoted 5 lines

actually what happens is 5 events per second when the lid is closed. This causes high CPU loads when software like cpufreq parses the logs and huge logs by acpid.

I was hoping someone could tip me on how to reduce the number of

events

Quoted 1 line

generated to prevent this flooding. And enlighten about the

possibility

Quoted 10 lines

of getting the fan and thermal parts working "non-passive".

Here is a copy of what I have been working on:
http://apollo.dq.fct.unl.pt/~al1133/dsdt.tar.bz2

Thanks
--
Renato Alves
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi"

in

Quoted 2 lines

the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html