Learning ACPI
Hello List,
I have recently undertaken the project of getting power management under control on several of my faculty's laptops and other systems. For the most part we are running on FC3 and Dell laptops. My test machine is a
Dell Inspiron 5100 with the bios at the latest A32.
The first thing I noticed was that when the power button is pressed nothing happens. Ignoring that, I was more interested in turning off the power to the lid when it was closed.
By remotely accessing the machine and monitoring the LID/state file I observed that indeed it was being updated properly (open or closed). But no events were firing off. I placed a simple action to send a message to syslog via the logger utility and it never happens. Also I never see any thing written to the acpid log file other than upon startup it loads two rules, the sample one for the power button and the one I put in for handling the lid event.
Looking through the DSDT database I noticed a mention of something called a lost interrupt for 5100's using the A26/28 bios. I didn't think that was the issue since the state file was being updated correctly.
Dmesg output looks good for ACPI stuff.
Can someone give me some ideas on what the problem might be?
I guess I am not understanding how, if the acpid is correctly monitoring the lid state then why would it not fire the events/actions? I can porvide more info, dmesg output etc...
TIA
Signature · 10 lines
Jim Summers School of Computer Science-University of Oklahoma ------------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
A message that is not in the archive (sent off-list or not yet received): 41FA9F93.4090105-5f/[email protected]
Thus wrote Jim Summers:
Quoted 3 lines
I guess I am not understanding how, if the acpid is correctly monitoring the lid state then why would it not fire the events/actions? I can porvide more info, dmesg output etc...
Basically, the lid stat is polled, while the events are interrupt driven. For the record, could you try with an older ( <= 2.6.7) kernel? There seems to be an issue in handling EC interrupts in recent kernels, it might be that.
Best regards,
Signature · 9 lines
Karol 'sziwan' Kozimor sziwan-DETuoxkZsSqrDJvtcaxF/[email protected] ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
A message that is not in the archive (sent off-list or not yet received): 20050129161334.GA28055-DETuoxkZsSqrDJvtcaxF/[email protected]
Quoted 7 lines · Karol Kozimor
Thus wrote Jim Summers:
Quoted 1 line
I guess I am not understanding how, if the acpid is correctly monitoring the lid state then why would it not fire the events/actions? I can porvide more info, dmesg output etc...
Basically, the lid stat is polled, while the events are interrupt driven. For the record, could you try with an older ( <= 2.6.7) kernel?
I will give it a go. If it works in 2.6.7 what would have gotten lost in 2.6.10?
I have not applied the 2005-01-26 patch for 2.6.10. Could that fix the lost interrupt issue?
TIA
There seems
Quoted 4 lines
to be an issue in handling EC interrupts in recent kernels, it might be that.
Best regards,
Signature · 10 lines
Jim Summers School of Computer Science-University of Oklahoma ------------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl