Bug 111747 - deprecated /proc/acpi/sleep should be changed to /sys/power/state
Summary: deprecated /proc/acpi/sleep should be changed to /sys/power/state
Status: RESOLVED UNMAINTAINED
Alias: None
Product: klaptopdaemon
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: Paul Campbell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-30 07:56 UTC by richlv
Modified: 2010-02-26 14:08 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
a quick fix to change to /sys/power/state (3.41 KB, patch)
2005-09-02 00:52 UTC, Thomas Bettler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description richlv 2005-08-30 07:56:34 UTC
Version:            (using KDE KDE 3.4.2)
Installed from:    Slackware Packages
OS:                Linux

in linux kernel version 2.6.13, CONFIG_ACPI_SLEEP_PROC_SLEEP is marked as deprecated. it adds /proc/acpi/sleep interface that klaptop daemon uses for sleep states.

if this file is not present, klaptop is not able to send signals for standby and other powersaving modes.

as this interface is deprecated by /sys/power/state, it should be supported by klaptop.
Comment 1 Thomas Bettler 2005-09-02 00:52:34 UTC
Created attachment 12450 [details]
a quick fix to change to /sys/power/state

This patch is only a quick fix and translates the states "standby", "mem" and
"disk" back to the sleepmodes 1, 3 and 4. Finally a better solution might be
needed, depending on the future support of /proc/acpi/sleep.
Comment 2 Axel Westerhold 2005-10-17 12:44:42 UTC
Fedora Core 4 Kernel 2.6.13-1.1526_FC4 will do the same which is disabling depricated /proc/acpi/sleep. 
Comment 3 Christopher Martin 2005-11-07 21:46:21 UTC
This _really_ ought to be fixed for KDE 3.5. Otherwise klaptopdaemon loses a large chunk of its functionality. Can anyone report success with the previously attached patch?
Comment 4 Daniel Schröter 2005-12-23 20:01:56 UTC
I just tested klaptopdaemon (debian/experimental version) and it's working fine with this version :-D
Maybe this bug can be closed.
Comment 5 Dario Andres 2010-02-26 14:08:04 UTC
I have personally contacted the KLaptopDaemon author/assigned and he confirmed that the tool is deprecated in KDE SC 4 (replaced by PowerDevil) and that there are no current efforts to support/maintain the KDE SC 3 version.
Because of this, I will close the reports as UNMAINTAINED.
Regards