Update on DeviceKit
Rémi Cardona
remi at gentoo.org
Wed May 7 08:45:00 PDT 2008
Danny Kukawka a écrit :
> On Mittwoch, 7. Mai 2008, Lennart Poettering wrote:
>> On Wed, 07.05.08 13:47, Holger Macht (hmacht at suse.de) wrote:
>>> Yes, I think of it like following:
>>>
>>> Having a subsystem daemon for power management incuding:
>>>
>>> org.freedesktop.PowerManagement.*
>>> .PowerSupply
>>> .CPUFreq
>>> .Backlight
>> I think it would be best if backlight control is left to X. For some
>> graphics cards its already properly exported in XRANDR. XRANDR knows
>> about multiple screens, hotplug and stuff, is network transparent and
>> so on. It's also much easier for normal desktop apps like cheese to
>> use the backlight as a flash if its exported via XRANDR.
>
> And what if there is no X running (e.g. machine runs on tty*) and someone
> wants to control the brightness? There should be a way to use the available
> kernel interfaces without X if possible. I would prefer to have brightness
> handling still in HAL/DeviceKit.
Won't kernel modesetting make this point moot as backlight control will
be moved down to the kernel anyway?
Once this is done, both DeviceKit/HAL and X will use kernel controls.
Problem solved.
Cheers
--
Rémi Cardona
LRI, INRIA
remi.cardona at lri.fr
remi at gentoo.org
More information about the hal
mailing list