PMU backlight panel fix

Richard Hughes hughsient at gmail.com
Sun Feb 4 15:32:21 PST 2007


New kernels export the PMU backlight as a kernel backlight class, and
GET_BACKLIGHT and SET_BACKLIGHT ioctls fail. This means that HAL fails
to set the brightness on PPC hardware.

We should check for the existence of the backlight device (like in
acpi.c) before we add the PMU backlight to avoid having two backlight
devices, one of which that does not work.

The patch also gives the generic backlight class a name, so it does not
show up as unknown device.

Okay to commit?

Richard.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-pmu-backlight.patch
Type: text/x-patch
Size: 1518 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070204/2af88fa8/hal-fix-pmu-backlight.bin


More information about the hal mailing list