sony brightness patch

Paolo Borelli pborelli at katamail.com
Thu Mar 9 16:00:00 PST 2006


Hi,

	sony-acpi reports the brightness value in the range of {1..8} instead
of {0..7}, so the set/get-brightness scripts need to take this into
account, otherwise setting the brightness to 100% in gnome-power-manager
only sets the brightness to 7 instead of 8.

Attached there is the one liner I used to fix the issue on my system,
however the complete fix probably also requires modifying the
get-brightness script so that it reports a value that can be interpreted
correctly by g-p-m.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sony-brightness.patch
Type: text/x-patch
Size: 858 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060309/b34d9a20/sony-brightness.bin


More information about the hal mailing list