Bug#337502: klaptopdaemon: deprecated /proc/acpi/sleep should be changed to /sys/power/state
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christopher Martin wrote: > > I think it would be prudent to leave things as they are for the > moment, but for the 3.5 packages, try (at least) this patch. Have you applied this patch in KDE 3.5 experimental package? However. It's working again :-D -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDrEoyF7lQkYolXTIRAsVJAJ9FyjlEJUix8wciDdFP0ELNdCmcxgCgq2Av +vQeVr3vIgC+jkQyu33kAcY= =d2+3 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#337502: klaptopdaemon: deprecated /proc/acpi/sleep should be changed to /sys/power/state
On November 5, 2005 08:07, Daniel Schröter wrote: > Christopher Martin wrote: > > On November 4, 2005 11:45, Daniel Schröter wrote: > >>A patch is avaiable on the kde bugtracking system > >>http://bugs.kde.org/show_bug.cgi?id=111747#c1 > > > > Thanks for the information. Have you tested this patch yourself? > > No, I didn't test it, but it looks very easy. If the patch would check > for /proc/acpi/sleep and it not exist and then use /sys/power/state > would be more complicated. > I don't compile klaptodaemon by my self. So I can not test it (in an > easy way). > > I think the patch has a problem: What happen with the 2.4 Kernels if > there is a /proc/acpi/sleep but no /sys/power/state? Yes, that would be a problem. I think it would be prudent to leave things as they are for the moment, but for the 3.5 packages, try (at least) this patch. Cheers, Christopher Martin
Bug#337502: klaptopdaemon: deprecated /proc/acpi/sleep should be changed to /sys/power/state
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christopher Martin wrote: > On November 4, 2005 11:45, Daniel Schröter wrote: > >>A patch is avaiable on the kde bugtracking system >>http://bugs.kde.org/show_bug.cgi?id=111747#c1 > > Thanks for the information. Have you tested this patch yourself? No, I didn't test it, but it looks very easy. If the patch would check for /proc/acpi/sleep and it not exist and then use /sys/power/state would be more complicated. I don't compile klaptodaemon by my self. So I can not test it (in an easy way). I think the patch has a problem: What happen with the 2.4 Kernels if there is a /proc/acpi/sleep but no /sys/power/state? Bye Daniel Schröter -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDbK6YF7lQkYolXTIRAupdAKDM7D2PC5WXZSWmeGM428p1/l6T9QCfUFgd lqfstGsdJT1i5WDCqTgLuVg= =iOLu -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#337502: klaptopdaemon: deprecated /proc/acpi/sleep should be changed to /sys/power/state
On November 4, 2005 11:45, Daniel Schröter wrote: > In linux kernel version higher then 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. It is also avaiable in the 2.6.8 Kernel. > > A patch is avaiable on the kde bugtracking system > http://bugs.kde.org/show_bug.cgi?id=111747#c1 Thanks for the information. Have you tested this patch yourself? My access to laptops is limited, and the bugs.kde.org report you cite suggests that the patch provided is a partial solution. Thus it would be nice to have some reports (from any and all) that this patch does indeed work, doesn't cause any laptops to erupt into flames, etc. before looking more closely at the possibility of applying it. Thanks, Christopher Martin pgpGVPAu7SLxG.pgp Description: PGP signature
Bug#337502: klaptopdaemon: deprecated /proc/acpi/sleep should be changed to /sys/power/state
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Package: klaptopdaemon Version: 4:3.4.3-1 Severity: normal In linux kernel version higher then 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. It is also avaiable in the 2.6.8 Kernel. A patch is avaiable on the kde bugtracking system http://bugs.kde.org/show_bug.cgi?id=111747#c1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDa5AdF7lQkYolXTIRAmS1AKCNLo7+OzUCartHH1VxuIE+7lyltwCgvhyd yl+u/oe57YyLEj8WegWWAbQ= =aHv9 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]