xbacklight doesn't work, but xrandr does and so does /sys/class/backlight
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
Sony Vaio P
Ubuntu Precise and Quantal
kernel 3.5.0
gma500_gfx kernel driver
modesetting xorg driver
Assume the current quantal & quantal-proposed versions of everything.
xbacklight doesn't work. No backlight change, and no output from the program.
"xbacklight" and "xbacklight -get" show nothing, no output from the program at all.
"xbacklight -set50" and "xbacklight-d :0 -set 50" does nothing nor prints any output.
However both sysfs and xrandr work fine.
Specifically:
xrandr --verbose lists outputs and shows the main screen has backlight property,
and "xrandr --output LVDS-0 --set backlight 50" changes the backlight brightness.
And
"cat /sys/class/
"echo 50 >/sys/class/
I have written the following script to use in place of xbacklight:
http://
This script, both the sysfs and xrandr methods of it, works fine for me on the same machine.
(for sysfs, I had to make a udev rule to allow users to write to the sysfs files, as noted on that page and in the --help output of the script)
It requires zenity for the user interactive options. Not needed for the non-interactive options.
--
bkw
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1054298/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]