klaptopdaemon uses obsolete methods.

Ana Guerrero ana at debian.org
Thu Jul 10 07:27:03 UTC 2008


Hi

On Thu, Jul 10, 2008 at 01:21:32AM +0200, Raúl Sánchez Siles wrote:
>   Hello All:
> 
>   As you may know there have been some bugs that end up to be reported against 
> klaptopdaemon(3.5.9), IMO the main one is this: [1] which derived in [2] that 
> in turns come from [3].
> 
>   In summary, klaptopdaemon rely on some methods to check ac presence and 
> battery status which have been deprecated on 2.6.25+ Debian GNU/Linux 
> Kernels. This problem is specific to GNU/Linux kernels, so kfreebsd should 
> still work (confirmation appreciated). AFAIK, GNU/Hurd is not supported by 
> klaptopdaemon.
> 
>   The problem is exactly that latest Debian GNU/Linux kernels are build 
> without the option: ACPI_PROCFS_POWER which provided the battery and ac 
> interfaces on /proc/acpi/{ac,BAT} on what klaptopdaemon relied on.
> 
>   In order to fix klaptopdaemon, the ACPI_PROCFS_POWER option should be 
> reenable, which is not likely [3] or klaptopdaemon should be intrusively 
> patched. No need to remind that KDE3 development is stalled, so we can't wait 
> upstream commit such an important change. Well, TBH maybe the changes are not 
> that difficult to implement. Most of the code involved is in the portable.cpp 
> source file, but IMHO testing such a case being the release so close is not 
> advisable.
> 
>   Thus I think klaptopdaemon is unfixable for lenny and and alternative path 
> should be evaluated. I think we should go for kpowersave as a klaptopdaemon 
> substitute. Since I'm not myself a kpowersave user I can't tell how stable it 
> is and what inconveniences could it bring for lenny.
> 
>   I'm just build a testing kernel and I'll use kpowersave from now on, testing 
> it as thoroughfully I can.
> 
>   I hope to bring more feedback soon. Needless to say that any 
> comments/experiences are wellcome.
>

Thanks a lot for looking at this. I have updated to kernel 2.6.25 (I was still
using 2.6.22 to avoid iwlwifi...), and stated using kpowersave, and so far it
is good.
Question after reading your mail is: what kernel version will be in Lenny?
2.6.24 or 2.4.25?

Ana
PS: Michael, i have cc'ed you in case you have something interesting to say
wrt kpowerposave.




More information about the pkg-kde-talk mailing list