Bug 486027

Summary: Display is always dimmed to 7 on power event
Product: Red Hat Enterprise Linux 5 Reporter: Michael Solberg <msolberg>
Component: halAssignee: David Zeuthen <davidz>
Status: CLOSED DUPLICATE QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.3CC: mclasen, rhughes, sghosh
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-11 16:57:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Solberg 2009-02-17 22:22:18 UTC
Description of problem:

Every time there's a "power event" like the power chord being unplugged or plugged, my Lenovo T61's display is dimmed to half it's brightness, even though I've set both "ac_brightness" and "battery_brightness" to 100.

Version-Release number of selected component (if applicable):
gnome-power-manager-2.16.0-10.el5
kernel-2.6.18-128.1.1.el5

How reproducible:
100%

Steps to Reproduce:
1. Ensure that the following gconf keys are set to 100:
  * /apps/gnome-power-manager/ac_brightness
  * /apps/gnome-power-manager/battery_brightness
2. Either unplug or re-plug the AC.
3. Check brightness in /proc/acpi/ibm/brightness
  
Actual results:
  * Screen is dim
  * /proc/acpi/ibm/brightness shows a Level of 7

Expected results:
  * Screen is bright
  * /proc/acpi/ibm/brightness shows a Level of 15


Additional info:
  Screen also dims when screensaver activates

Comment 1 Michael Solberg 2009-02-17 22:35:12 UTC
Updating platform

Comment 2 Michael Solberg 2009-02-19 15:54:30 UTC
Turns out this is actually a problem in HAL.

The property laptop_panel.num_levels is set to 7 on my panel.  If I do this:

hal-set-property --udi /org/freedesktop/Hal/devices/acpi_brightness --key laptop_panel.num_levels --int 15

Then gnome-power-manager behaves as expected.

Michael.

Comment 3 Richard Hughes 2009-03-11 16:57:09 UTC

*** This bug has been marked as a duplicate of bug 475850 ***