doesn't dim screen on SONY VAIO (vgn FS215M / Z1 RMP) (regression)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-power-manager (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
hal (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
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/
I made the script do the following:
echo "$HAL_PROP_
echo "$HAL_PROP_
echo "$HAL_PROP_
...
# read value for set brightness
read value
echo ${value} >> /home/paolo/
and the result is:
sony
8
/proc/acpi/
7
sony
8
/proc/acpi/
6
sony
8
/proc/acpi/
5
sony
8
/proc/acpi/
4
sony
8
/proc/acpi/
3
sony
8
/proc/acpi/
2
sony
8
/proc/acpi/
1
which looks rather weird and leads to no effects
Just for completeness, running gnome-power-manager --no-daemon --verbose, I get:
[gpm_brightness _set_hw] gpm-brightness. c:301 (18:00:27): Setting 1 of 7 _set_hw] gpm-brightness. c:308 (18:00:27): An unknown error occured _set_hw] gpm-brightness. c:301 (18:00:27): Setting 2 of 7 _set_hw] gpm-brightness. c:308 (18:00:27): An unknown error occured _set_hw] gpm-brightness. c:301 (18:00:27): Setting 3 of 7 _set_hw] gpm-brightness. c:308 (18:00:27): An unknown error occured _set_hw] gpm-brightness. c:301 (18:00:27): Setting 4 of 7 _set_hw] gpm-brightness. c:308 (18:00:27): An unknown error occured _set_hw] gpm-brightness. c:301 (18:00:27): Setting 5 of 7 _set_hw] gpm-brightness. c:308 (18:00:27): An unknown error occured _set_hw] gpm-brightness. c:301 (18:00:27): Setting 6 of 7 _set_hw] gpm-brightness. c:308 (18:00:27): An unknown error occured _set_hw] gpm-brightness. c:301 (18:00:27): Setting 7 of 7 _set_hw] gpm-brightness. c:308 (18:00:27): An unknown error occured
*** WARNING ***
[gpm_brightness
[gpm_brightness
*** WARNING ***
[gpm_brightness
[gpm_brightness
*** WARNING ***
[gpm_brightness
[gpm_brightness
*** WARNING ***
[gpm_brightness
[gpm_brightness
*** WARNING ***
[gpm_brightness
[gpm_brightness
*** WARNING ***
[gpm_brightness
[gpm_brightness
*** WARNING ***
[gpm_brightness