Re: [gpm] Display Brightness doesn't MAX



On Fri, 2006-05-19 at 15:54 -0400, acidphex wrote:
> I'm currently running Fedora Core 5 with sony acpi drivers. The issue is
> when the AC is plugged in the display brightness does not reach the max
> 100% which is 8. Instead the Gnome Power Manager sets it to 7. I have my
> settings set to where it would do 100% display brightness while running
> on AC. When switching to Battery it's fine and does a complete 0%
> reduction of display brightness according to my settings. Only issue is
> with AC display brightness adjustment. I have to manually do:

I committed a fix for this a few weeks ago to HAL CVS:

2006-03-10  Richard Hughes <richard hughsie com>
Patch from Paolo Borelli <pborelli katamail com>.
* tools/hal-system-lcd-set-brightness: Sony laptops have a brightness
range from 1..8 not 0..7 and so we need to add 1 before we echo this
brightness value to /proc/acpi/sony/brightness. Fixes g-p-m not setting
the screen to full brightness when set to 100%.

Which I'm guessing isn't included in the HAL version that FC5 shipped in
updates.

I think there are two ways of fixing your problem:

* open a fedora bug saying about the sony fix (i.e. request a patch to
be backported by j5)
* run a never version of HAL -- note there is a CVS rpm available in the
utopia repo if you are feeling brave. Remember if you choose this option
you get to keep both pieces :-)

Hope that helps,

Richard.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]