Bug 120991 - ACPI support severely lacking
Summary: ACPI support severely lacking
Keywords:
Status: CLOSED DUPLICATE of bug 81142
Alias: None
Product: Fedora
Classification: Fedora
Component: acpid
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
: 123040 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-04-15 22:11 UTC by Nickolai Zeldovich
Modified: 2014-03-17 02:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 19:02:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nickolai Zeldovich 2004-04-15 22:11:45 UTC
The ACPI support in Fedora Core 2 is severely lacking, providing less
functionality than a typical APM BIOS.  The kernel ACPI support might
be there, but the OSPM is largely missing.  An obvious thing to add
is to support the ACPI sleep button in acpid scripts:

  /etc/acpi/events/sleep-button.conf:
    # sleep button
    event=button/sleep.*
    action=echo -n mem > /sys/power/state

But I've noticed that even with this added to the ACPI configuration,
my laptop randomly wakes up from suspend, and proceeds to run out of
battery power and crash.  My suspicion is that we aren't properly
setting the ACPI alarm (/proc/acpi/alarm) before suspending, but I've
not been able to debug it further yet.

What about suspend-to-disk after N hours of suspend-to-RAM?  The ACPI
timer would make it fairly simple to do this.  What about auto-suspend
when the laptop is about to run out of battery power?  My APM BIOS did
this for me very well before ACPI.  The list goes on...

This is really more of a feature-request than a bug report, although
I would like to point out that it seems that ACPI support will be a
step down for current APM users, unless OSPM is improved.

-- kolya

Comment 1 Len Brown 2004-05-19 22:34:16 UTC
This is because of issues in the upstream kernel that FC has inherited. 
If you want to be proactive to help fix those issues, then test the 
kernel.org or -mm kernels and file specific bugs against specific 
failures on bugzilla.osdl.org.  Suspend/resume has a number of 
known issues, as do alarms and events in general.  Some of the 
fixes are already being tested. 
 
I don't know what to do with this bug report -- maybe Red Hat 
can fix the button.conf file and maybe an updated kernel will 
have better underlying support for events, alarms, and suspend/resume. 
 

Comment 2 Bill Nottingham 2004-05-24 20:24:49 UTC
*** Bug 123040 has been marked as a duplicate of this bug. ***

Comment 3 Bill Nottingham 2004-07-08 19:15:46 UTC

*** This bug has been marked as a duplicate of 81142 ***

Comment 4 Red Hat Bugzilla 2006-02-21 19:02:37 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


Note You need to log in before you can comment on or make changes to this bug.