Public bug reported:

This used to work well in the past, but on edgy it doesn't work anymore.

I failed to notice before because I usually prefer to keep 100% of the
brightness also when running on battery.

(May be a HAL issue, not sure)

1) From gnome-power-prefs, set brigthness on battery to 50%
2) detach power cord

expected:
  screen is dimmed

result:
  nothing happens


I digget in it a tiny bit and the proper script 
/usr/share/hal/scripts/hal-system-lcd-set-brightness gets called. 

I made the script do the following:

echo "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD"  >> /home/paolo/acpihasrun
echo "$HAL_PROP_LAPTOP_PANEL_NUM_LEVELS" >> /home/paolo/acpihasrun
echo "$HAL_PROP_LINUX_ACPI_PATH" >> /home/paolo/acpihasrun

 ...

# read value for set brightness
read value

echo ${value} >> /home/paolo/acpihasrun


and the result is:


sony
8
/proc/acpi/sony/brightness
7
sony
8
/proc/acpi/sony/brightness
6
sony
8
/proc/acpi/sony/brightness
5
sony
8
/proc/acpi/sony/brightness
4
sony
8
/proc/acpi/sony/brightness
3
sony
8
/proc/acpi/sony/brightness
2
sony
8
/proc/acpi/sony/brightness
1


which looks rather weird and leads to no effects

** Affects: hal (Ubuntu)
     Importance: Medium
         Status: Confirmed

-- 
doesn't dim screen on SONY VAIO (vgn FS215M / Z1 RMP) (regression)
https://launchpad.net/bugs/65028

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to