Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385055 - [gnome-overlay] gnome-base/gnome-settings-daemon-3.2.0 sets wrong brightness
Summary: [gnome-overlay] gnome-base/gnome-settings-daemon-3.2.0 sets wrong brightness
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-30 09:42 UTC by poncho
Modified: 2011-10-01 18:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emere-info.txt,16.46 KB, text/plain)
2011-09-30 09:43 UTC, poncho
Details

Note You need to log in before you can comment on or make changes to this bug.
Description poncho 2011-09-30 09:42:58 UTC
/var/log/messages gets filled with
Sep 30 11:28:02 8540w pkexec: pam_unix(polkit-1:session): session opened for user root by (uid=1001)
Sep 30 11:28:02 8540w pkexec[19411]: poncho: Executing command [USER=root] [TTY=unknown] [CWD=/home/poncho] [COMMAND=/usr/libexec/gsd-backlight-helper --set-brightness 100]
Sep 30 11:28:27 8540w pkexec: pam_unix(polkit-1:session): session opened for user root by (uid=1001)
Sep 30 11:28:27 8540w pkexec[19761]: poncho: Executing command [USER=root] [TTY=unknown] [CWD=/home/poncho] [COMMAND=/usr/libexec/gsd-backlight-helper --set-brightness 100]

xsession-errors gets filled with
Could not set the value of the backlight: writing '100' to /sys/class/backlight/acpi_video0/brightness failed
Could not set the value of the backlight: writing '100' to /sys/class/backlight/acpi_video0/brightness failed

% cat /sys/class/backlight/acpi_video0/max_brightness 
24
% cat /sys/class/backlight/acpi_video0/brightness 
24
% cat /sys/class/backlight/acpi_video0/actual_brightness 
24

setting a value between 1 and 24 works fine
% echo 20 > /sys/class/backlight/acpi_video0/brightness

it seems that gnome-settings-daemon doesn't honor the max_brightness value...


Reproducible: Always




=================================================================
                        Package Settings
=================================================================

gnome-base/gnome-settings-daemon-3.2.0 was built with the following:
USE="cups (multilib) policykit udev -debug -packagekit -short-touchpad-timeout -smartcard -test"
Comment 1 poncho 2011-09-30 09:43:21 UTC
Created attachment 288337 [details]
emerge --info
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-09-30 21:01:02 UTC
Do you have x11-apps/xbacklight installed?

Does "xbacklight -set 100" produce any errors in logs?

What is the output of "/usr/libexec/gsd-backlight-helper --get-max-brightness" ?
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-10-01 00:05:12 UTC
This is probably fixed in gnome-settings-daemon-3.2.0-r1, please check.

(Note: you will need to log out and log back in after updating gnome-settings-daemon)
Comment 4 poncho 2011-10-01 12:38:30 UTC
(In reply to comment #3)
> This is probably fixed in gnome-settings-daemon-3.2.0-r1, please check.
> 
> (Note: you will need to log out and log back in after updating
> gnome-settings-daemon)

I don't have x11-apps/xbacklight installed. It doesn't work with nvidia's blob.

This issue is indeed fixed with gnome-settings-daemon-3.2.0-r1.

Thanks for fixing...