sony brightness patch

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


	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 :

More information about the hal mailing list