[PATCH] fix hald-addon-dell-backlight AC detection
Danny Kukawka
danny.kukawka at web.de
Mon Mar 3 16:48:52 PST 2008
On Dienstag, 4. März 2008, Danny Kukawka wrote:
> Hi,
>
> this fixes fd.o bug #13669 and hald-addon-dell-backlight which uses a
> hardcoded udi to get AC adapter information. With the switch to sysfs
> power_supply devices for AC adapter the path is no longer valid. I changed
> the code to check all devices with ac_adapter capability and check then all
> AC adapter until a device has ac_adapter.present and then get the info
> about the adapter state from there.
The bug was #14797 (http://bugs.freedesktop.org/show_bug.cgi?id=14797)
Danny
More information about the hal
mailing list