SPECS: kpowersave.spec (NEW) - initial PLD spec - works, but a lot...

Fryderyk Dziarmagowski freetz at gmx.net
Thu Feb 16 23:13:07 CET 2006


--- czarny <czarny at pld-linux.org> wrote:

> Author: czarny                       Date: Thu Feb 16 21:49:10 2006 GMT
> Module: SPECS                         Tag: HEAD
> ---- Log message:
> - initial PLD spec
> - works, but a lot of work needed to complete it and make it a Proper PLD spec(TM)
> 
> ---- Files affected:
> SPECS:
>    kpowersave.spec (NONE -> 1.1)  (NEW)
[...]
> +# - find a way to make it run in priviladged mode without sudo
> +#   (maby some group of permissions for people who are allowed to change
> +#   the cpufreq and so on)

wystarczy ustwić odpowiednie policy dla org.freedesktop.Hal.Device.*
i com.novell.powersave*.

dla przykładu w /etc/dbus-1/system.d/powersave.conf zmień
policy at_console="true" na:
policy group="desktop" (analogicznie w hal.conf)
co da dostęp do wszsytkich usług dostarczanych przez
com.novell.powersave użytkownikom grupy desktop (w zamyślem mam właśnie
dodać taką grupę, co niedługo uczynię)

-- 
Fryderyk Dziarmagowski



More information about the pld-devel-pl mailing list