Brightness Settings Don't Work

Bug #76274 reported by Paul Campbell
6
Affects Status Importance Assigned to Milestone
hal (Ubuntu)
Invalid
Wishlist
Unassigned

Bug Description

The brightness settings as set in System Preferences > Power Management don't make any difference whatsoever to the brightness when changed. Either when using AC or battery.

However, using the function keys I can succesfully change the brightness.

This on a Sony Vaio S4XP/B using Edgy.

Revision history for this message
Ben T (bentucci523) wrote :
Revision history for this message
Paul Campbell (campbep5) wrote :

I don't think you understand... I said the function keys *do* work.

Revision history for this message
Chris Burgan (cburgan) wrote :

Setting this to Gnome-Power-Manager package,

Revision history for this message
Paul Sladen (sladen) wrote :

This is more likely a 'hal' or kernel issue:

  /usr/share/hal/scripts/hal-system-lcd-set-brightness

Currently has the following code for Sonys:

  elif [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "sony" ]; then
        # echo "{1..8}" > /proc/acpi/sony/brightness
        # http://popies.net/sonypi/2.6-sony_acpi4.patch
        echo "$((value + 1))" > $HAL_PROP_LINUX_ACPI_PATH

Does this work on your laptop. Could you also please include the DMI decode data for your laptop as detailed on the HotkeyResearch page above so that we can identify your laptop.

Changed in gnome-power-manager:
importance: Undecided → Wishlist
status: Unconfirmed → Needs Info
Revision history for this message
Paul Campbell (campbep5) wrote :

I'm not sure quite what you mean by does it work. Please clarify.

DMI data:

Sony Corporation
VGN-S4XP_B
J000VXDY

Revision history for this message
Guido Conaldi (guido-conaldi) wrote :

Can confirm the same issue with my vaio S1XP.

DMI decode data:
Sony Corporation
VGN-S1XP(IT)
J0009F44

I guess my bug report:
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/92478
and this one:
https://bugs.launchpad.net/ubuntu/+bug/103890
are duplicates.

Revision history for this message
artt (cualquiercosa) wrote :

same problem on vgn-fe31z

here the problem is solved using smartdimmer (only with nvidia)
on feisty change /usr/lib/hal/scripts/hal-system-lcd-set-brightness

elif [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "sony" ]; then
        # echo "{1..8}" > /proc/acpi/sony/brightness
        # http://popies.net/sonypi/2.6-sony_acpi4.patch
        echo "$((value + 1))" > $HAL_PROP_LINUX_ACPI_PATH

by

elif [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "sony" ]; then
        # echo "{1..8}" > /proc/acpi/sony/brightness
        # http://popies.net/sonypi/2.6-sony_acpi4.patch
        smartdimmer -s"$(($value * 3))"

and /usr/lib/hal/scripts/hal-system-lcd-get-brightness

elif [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "sony" ]; then
 # cat /proc/acpi/sony/brightness
 # 7
 value="`cat $HAL_PROP_LINUX_ACPI_PATH`"
 value=$(($value-1))

by

elif [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "sony" ]; then
 # cat /proc/acpi/sony/brightness
 # 7
        value="`smartdimmer -g`"
 value=$(($value/3))

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for hal (Ubuntu) because there has been no activity for 60 days.]

Revision history for this message
lostangel78 (lostangel78) wrote :

Try typing the following command in a terminal:

xgamma -gamma 0.75

If that doesn't work you need to install xgamma from the repos.

I have posted my own solution here on setting it up:

http://ubuntuforums.org/showthread.php?p=4168042#post4168042

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.