[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdeutils/klaptopdaemon [POSSIBLY UNSAFE]
From:       Volker Krause <volker.krause () rwth-aachen ! de>
Date:       2003-08-10 20:41:17
[Download RAW message or body]

On Sunday 10 August 2003 22:21, George Staikos wrote:
>   Don't you need root access for that?  At least this is the case here, and
> I thought the last concensus was that root access inside klaptopdaemon just
> doesn't work (as seen with the horrible hacks in the pcmcia related stuff).

Yes, same as for ACPI performance states and throttling, that's what the 
klaptop_acpi_helper is for. This is installed with setuid root for these 
purposes. This was introduced by Paul Campbell when he added the ACPI support 
some time ago, I just reused it for CPUFreq.

>    Furthermore there are already generic userspace tools for changing the
> performance based on battery life.  I think it will get very confusing to
> have two apps trying to control the system performance at the same time.

I will have a look at cpufreqd as well as acpid. At least it would be a good 
idea to make klaptopdaemon aware of these tools to prevent this situation.

regards
Volker

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic