Public bug reported:

Binary package hint: gnome-power-manager

The Fn+Home and Fn+End used to control brightness do not work in gutsy.

What works:

- adjusting brightness with Fn+Home/Fn+End on the console
- adjusting brightness with Fn+Home/Fn+End while plain X is running from the 
console
- adjusting brightness with Fn+Home/Fn+End while gnome session is running and 
when gnome-power-manager is killed.

What does not work:

- adjusting brightness from the brightness applet
- adjusting brightness with Fn+Home/Fn+End while gnome session is running.

II have debugged hald and gnome power manager and here are my findings.

When Fn+Home/Fn+End is pressed, hald receives the GetBrightness message,
and calls /usr/lib/hal/scripts/hal-system-lcd-get-brightness. This
script correctly uses
/sys/class/backligh/thinkpad_panel/actual_brightness and reports correct
brightness level via exit value.

hald sends (probably a wrong) response to gnome-power-manager and gnome-
power-manager always reports

[gpm_brightness_lcd_get_hw] gpm-brightness-lcd.c:116 (15:17:07):
GetBrightness returned level: 0

as a result of this new wrong brightness value is computed and sent back
to hald via SetBrightness.

hald invokes /usr/lib/hal/scripts/hal-system-lcd-set-brightness with the
new brightness level (which is incorrectly computed) and sets it
correctly to hardware.

Removing /usr/lib/hal/scripts/hal-system-lcd-set-brightness makes the
stuff work again, although he brightness level indicator always shows
the level of 0.

** Affects: gnome-power-manager (Ubuntu)
     Importance: Undecided
         Status: New

-- 
brightness indicator does not work on thinkpad
https://bugs.launchpad.net/bugs/137972
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to