Summary: | "Hibernate" menu item missing with 2.6.22 (and possibly later) kernels | ||
---|---|---|---|
Product: | [Unmaintained] klaptopdaemon | Reporter: | Sergey Temerkhanov <temerkhanov> |
Component: | general | Assignee: | Paul Campbell <paul> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | darose, kde.bugzilla.2012, mh+kde-bugs, wk |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
patch to resolve the bug
another patch |
Description
Sergey Temerkhanov
2007-08-17 13:11:41 UTC
Created attachment 21420 [details]
patch to resolve the bug
I've changed has_acpi_sleep() function so that it can handle both old and new
format as well (tested with gentoo-sources-2.6.22-r2 and 2.6.21-r4). I've also
removed /proc/acpi/sleep checks due to deprecation of it in the mainline kernel
and scheduled ACPI procfs interface removal.
FYI - this patch worked for me. "Hibernate" and "Lock & Hibernate" now appear on the laptop daemon menu again. (This is on Arch Linux w/kdeutils 3.5.7 and kernel 2.6.22.5) Woo hoo!!! Thanks much for the fix! Any idea when this might make it into the official KDE release? Works for me as well, I have locally patched the Debian packages. Looks like maybe this is fixed in KDE 3.5.8. Can anyone else confirm? NAK, klaptopdaemon 3.5.8-1 from Debian unstable does not show the menu entries. This is also Debian Bug #444500, http://bugs.debian.org/444500 Created attachment 23387 [details]
another patch
SVN commit 770083 by fabo: Fix "Hibernate" and "Lock & Hibernate" missing menu in kernel >= 2.6.22 BUG: 148928 M +4 -2 portable.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=770083 |