[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Removing klaptopdaemon



Hi,

As some of you might have noticed, klaptopdaemon does not work anymore with
kernels 2.6.25 (and won't work with newer kernels). Below you can see a mail
from Raul that explains the problem in detail.

Best solution seems remove klaptopdaemon and using kpowersave, and next
kdeutils 3.5 upload will surely implement this. Still I wanted to announce
this and request for comments in case somebody has a better suggestion or
wants to fix klaptopdaemon :)

Ana


----- Forwarded message from Raúl Sánchez Siles <rasasi78@gmail.com> -----

From: Raúl Sánchez Siles <rasasi78@gmail.com>
Date: Thu, 10 Jul 2008 01:21:32 +0200
Subject: klaptopdaemon uses obsolete methods.

  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

----- End forwarded message -----


Reply to: