public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Learning ACPI
@ 2005-01-28 20:24 Jim Summers
       [not found] ` <41FA9F93.4090105-5f/76mLIbwCHXe+LvDLADg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Summers @ 2005-01-28 20:24 UTC (permalink / raw)
  To: Listacpi


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
-- 
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Learning ACPI
       [not found] ` <41FA9F93.4090105-5f/76mLIbwCHXe+LvDLADg@public.gmane.org>
@ 2005-01-29 16:13   ` Karol Kozimor
       [not found]     ` <20050129161334.GA28055-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Karol Kozimor @ 2005-01-29 16:13 UTC (permalink / raw)
  To: Jim Summers; +Cc: Listacpi

Thus wrote Jim Summers:
> 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,

-- 
Karol 'sziwan' Kozimor
sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Learning ACPI
       [not found]     ` <20050129161334.GA28055-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
@ 2005-01-31 14:17       ` Jim Summers
  0 siblings, 0 replies; 3+ messages in thread
From: Jim Summers @ 2005-01-31 14:17 UTC (permalink / raw)
  Cc: Listacpi

Karol Kozimor wrote:
> Thus wrote Jim Summers:
> 
>>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
> to be an issue in handling EC interrupts in recent kernels, it might be
> that.
> Best regards,
> 

-- 
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-01-31 14:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-28 20:24 Learning ACPI Jim Summers
     [not found] ` <41FA9F93.4090105-5f/76mLIbwCHXe+LvDLADg@public.gmane.org>
2005-01-29 16:13   ` Karol Kozimor
     [not found]     ` <20050129161334.GA28055-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2005-01-31 14:17       ` Jim Summers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox