Bug 111140 - klaptopdaemon ignores settings for performance governors
Summary: klaptopdaemon ignores settings for performance governors
Status: RESOLVED UNMAINTAINED
Alias: None
Product: klaptopdaemon
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Paul Campbell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-20 12:05 UTC by Thomas Schlesinger
Modified: 2010-02-26 14:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Schlesinger 2005-08-20 12:05:16 UTC
Version:           3.4.2 (using KDE KDE 3.4.2)
Installed from:    Gentoo Packages
Compiler:          gcc (GCC) 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8) 
OS:                Linux

klaptopdaemon ignores my settings for the power management. It lets my notebook all the time run with the "performance" governor, but it should run with the "ondemand" governor (the battery monitor shows it, and a cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor, too).

This is my ~/.kde/share/config/kcmlaptoprc:
[AcpiBattery]
BAT0=65307

[AcpiDefault]
EnableHibernate=false
EnablePerformance=true
EnableStandby=true
EnableSuspend=true
EnableThrottle=true

[BatteryCritical]
Brightness=false
BrightnessValue=255
Hibernate=false
Logout=false
LowVal=5
Notify=true
Performance=false
PerformanceValue=ondemand
PlaySound=true
PlaySoundPath=/usr/kde/3.4/share/sounds/KDE_Beep_Beep.wav
RunCommand=false
RunCommandPath=
Shutdown=false
Standby=false
Suspend=false
SystemBeep=true
Throttle=false
ThrottleValue=

[BatteryDefault]
BlankSaver=true
ChargePixmap=laptop_charge
Enable=true
NoBatteryPixmap=laptop_nobattery
NoChargePixmap=laptop_nocharge
NotifyMe=true
Poll=20

[BatteryLow]
Brightness=false
BrightnessValue=255
HaveTime=1
Hibernate=false
Logout=false
LowVal=15
Notify=true
Performance=true
PerformanceValue=powersave
PlaySound=true
PlaySoundPath=/usr/kde/3.4/share/sounds/KDE_Beep_Beep.wav
RunCommand=false
RunCommandPath=
Shutdown=false
Standby=false
Suspend=false
SystemBeep=true
Throttle=false
ThrottleValue=

[LaptopButtons]
LidBrightness=0
LidBrightnessEnabled=false
LidPerformance=powersave
LidPerformanceEnabled=true
LidSuspend=0
LidThrottle=
LidThrottleEnabled=false
PowerBrightness=0
PowerBrightnessEnabled=false
PowerPerformance=
PowerPerformanceEnabled=false
PowerSuspend=0
PowerThrottle=
PowerThrottleEnabled=false

[LaptopPower]
LavEnabled=false
NoLavEnabled=false
NoPowerBrightness=0
NoPowerBrightnessEnabled=false
NoPowerLav=0
NoPowerPerformance=ondemand
NoPowerPerformanceEnabled=true
NoPowerSuspend=0
NoPowerThrottle=
NoPowerThrottleEnabled=false
NoPowerWait=5
PowerBrightness=255
PowerBrightnessEnabled=false
PowerLav=0
PowerPerformance=ondemand
PowerPerformanceEnabled=true
PowerSuspend=0
PowerThrottle=
PowerThrottleEnabled=false
PowerWait=20

[ProfileDefault]
BrightnessOffLevel=160
BrightnessOnLevel=255
EnableBrightnessOff=0
EnableBrightnessOn=0
EnablePerformanceOff=1
EnablePerformanceOn=1
EnableThrottleOff=0
EnableThrottleOn=0
PerformanceOffLevel=ondemand
PerformanceOnLevel=ondemand
ThrottleOffLevel=
ThrottleOnLevel=

[SoftwareSuspendDefault]
EnableHibernate=false
Comment 1 Thomas Schlesinger 2005-09-17 21:13:21 UTC
Meanwhile, I've updated to KDE 3.5-alpha1. The problem has gone here.
Comment 2 Thomas Schlesinger 2005-09-25 13:47:11 UTC
With KDE 3.5-beta1, the problem is back.
Comment 3 Thomas Schlesinger 2005-10-02 11:49:34 UTC
When I change performance governor at shell, klaptopdaemon shows me the change, but I'm not able to set an other governor in klaptopdaemon.
Comment 4 Ruben Jenster 2006-02-02 20:06:39 UTC
Klaptopdaemon depends on the deprecated kernel feature CONFIG_ACPI_SLEEP_PROC_SLEEP check your kernel config if that is enabled.
It should create '/proc/acpi/sleep', so if you havn't that file recompile your kernel.
Comment 5 Thomas Schlesinger 2006-02-02 21:54:37 UTC
Ruben, thanks for explaining that ;-)

Unfortunately, I wasn't able to create /proc/acpi/sleep by building a new kernel with CONFIG_ACPI_SLEEP_PROC_SLEEP in .config from kernel sources gentoo-2.6.15-r2, but that's ok for me. Now I know the cause for the problem.
Comment 6 rob akers 2006-03-15 14:20:40 UTC
Is there a simpler work around, I can't see myself recompiling my kernel over this.
Comment 7 Dario Andres 2010-02-26 14:08:00 UTC
I have personally contacted the KLaptopDaemon author/assigned and he confirmed that the tool is deprecated in KDE SC 4 (replaced by PowerDevil) and that there are no current efforts to support/maintain the KDE SC 3 version.
Because of this, I will close the reports as UNMAINTAINED.
Regards