klaptopdaemon uses obsolete methods.

Raúl Sánchez Siles rasasi78 at gmail.com
Wed Jul 9 23:21:32 UTC 2008


  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.

  Regards,

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480707
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480855
[3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=463253
-- 
     Raúl Sánchez Siles
----->Proud Debian user<-----
Linux registered user #416098
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-kde-talk/attachments/20080710/b8652e6b/attachment.pgp 


More information about the pkg-kde-talk mailing list