Red Hat Bugzilla – Bug 120991
ACPI support severely lacking
Last modified: 2014-03-16 22:44:15 EDT
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:
# sleep button
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.
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.
*** Bug 123040 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 81142 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.