udev rules files
aliov at xfce.org
Mon Apr 27 00:50:31 PDT 2009
Richard Hughes wrote:
> On Sun, 2009-04-26 at 16:22 +0200, Kay Sievers wrote:
>> DeviceKit-power will use libudev, and take over the all the
>> power/battery/UPS handling from HAL. At this point, the part of HAL
>> will be disabled.
> Sure agree. Good email. One question:
> Switches (killswitch, lid, tablet, headphone) are not exposed in Xorg,
> and not exposed in DeviceKit either. At the moment the only thing
> gnome-power-manager uses HAL for in git master is the find out the lid
> status. I really want to remove the HAL dep completely.
Also in the experimental devicekit-power based version of the xfce power
manager, the only one think missing to remove completely HAL dependency
is the lid events.
> Is it insane to add a property lid-is-closed to DeviceKit-power? I can't
> think of a better place for the lid status information, and don't really
> want to add low level /dev/input type stuff to g-p-m.
It is a very good idea to have it in devkit power, i see no applications
require lid events other than power managers.
> If I'm adding lid-is-closed, would SW_TABLET_MODE, SW_HEADPHONE_INSERT
> and SW_RADIO also needed to be handled?
> I can't help thinking this is feature bloat, and should probably be
> exposed in Xorg or something. Ideas welcome.
> devkit-devel mailing list
> devkit-devel at lists.freedesktop.org
More information about the devkit-devel