[linux-pm] Introducing HAL userspace power management

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

 



On Mon, 2005-03-07 at 10:29 +0000, ee21rh wrote:
>For more information, please look at:
>http://live.gnome.org/ProjectUtopia_2fPowerManagement
>
A couple of points here since this is about desktop/userspace

 - Initially only focus on what the kernel already provides

 - Main focus here is the UI; e.g. allowing configuration of
   power management from the desktop in a sane way (no need for root
   password, no need to edit configuration files) - including using
   existing desktop-level frameworks for lockdown etc. (e.g. g-conf)

 - Most of the code is actually in hal for abstracting various power
   aware devices (UPS'es) and frameworks (ACPI, PMU, ..) - so I expect
   the desktop parts to be fairly lightweight and straightforward to
   write (so it's equally easy to write a KDE/<insert favourite desktop
   here> counterparts

 - Some of the actions enforced by the UI parts will require privileged
   operations - the plan is to use D-BUS and/or SELinux (if available)
   to grant these privileges in a secure way (e.g. label the 
   binary /usr/bin/gnome-power-manager with a SELinux label so only
   the domain wherein it's running is allowed to invoke the Suspend()
   method on HAL via D-BUS - if SELinux is not available, make it
   setgid and only allow users in e.g. plugdev group to invoke this
   method) <== all this is largely a distributor choice / headache

Cheers,
David



[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux