-
15th November 2011, 02:24 AM
#1
Fn+keys for adjusting brightness not work after updates
My laptop is Lenovo thinkpad T420, I only use the discrete graphic. So, I
install the nvidia drivers from rpmfusion, and the /etc/X11/xorg.conf file is below:
# RPM Fusion - nvidia-xorg.conf
#
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection
before yesterday's updates everything works ok, I can adjust the LCD brightness with fn+ keys, but after updates, fn+ keys don't work any more.
But, I can adjust the birghtness by doing below:
echo 9 > /sys/class/backlight/acpi_video0/brightness
I don't know what happened, is there a bug in updates introduce this problem.
Thank you!
---------- Post added at 01:24 AM ---------- Previous post was at 12:55 AM ----------
I remember that after updating something like Dbus, the fn+keys don't work anymore. Is the bug of dbus introduce this problem.
-
15th November 2011, 05:50 AM
#2
Re: Fn+keys for adjusting brightness not work after updates
Simliar for me. Echo to /sys/class/backlight/acpi_video0 works fine, but if I hit the Fn keys the overlay appears but doesn't change anything.
-
15th November 2011, 12:52 PM
#3
Re: Fn+keys for adjusting brightness not work after updates
I had this problem too. Took a while updating and downgrading packages... it was bash.
For me, the problem goes away when I do yum downgrade bash
Might be related to this post http://forums.fedoraforum.org/showthread.php?t=272450
---------- Post added at 10:52 PM ---------- Previous post was at 10:45 PM ----------
following the bugzilla trail, another fix is after bash update, yum reinstall bash
-
15th November 2011, 01:22 PM
#4
Re: Fn+keys for adjusting brightness not work after updates

Originally Posted by
undertoad
I had this problem too. Took a while updating and downgrading packages... it was bash.
For me, the problem goes away when I do yum downgrade bash
Might be related to this post
http://forums.fedoraforum.org/showthread.php?t=272450
---------- Post added at 10:52 PM ---------- Previous post was at 10:45 PM ----------
following the bugzilla trail, another fix is after bash update, yum reinstall bash
Yeah, you are right. I solve this problem just reinstall bash by run the command below:
yum reinstall bash
good job, undertoad, thank you!
---------- Post added at 12:22 PM ---------- Previous post was at 12:02 PM ----------

Originally Posted by
undertoad
I had this problem too. Took a while updating and downgrading packages... it was bash.
For me, the problem goes away when I do yum downgrade bash
Might be related to this post
http://forums.fedoraforum.org/showthread.php?t=272450
---------- Post added at 10:52 PM ---------- Previous post was at 10:45 PM ----------
following the bugzilla trail, another fix is after bash update, yum reinstall bash
I have another problem, do you know how to save the LCD brightness, because every time
after rebooting, the first thing I have to do is adjusting the brightness.
I have post before, by didn't get an answer.
-
15th November 2011, 01:47 PM
#5
Re: Fn+keys for adjusting brightness not work after updates
sorry I don't know, brightness setting is lost after reboot for me.
-
15th November 2011, 01:56 PM
#6
Re: Fn+keys for adjusting brightness not work after updates

Originally Posted by
undertoad
sorry I don't know, brightness setting is lost after reboot for me.
ok, thank you all the same.
-
16th November 2011, 01:42 AM
#7
Re: Fn+keys for adjusting brightness not work after updates
I had this same problem also. I looked at the system log files and found the following message in /var/log/secure:
Nov 15 18:20:40 localhost pkexec[2373]: troym: The value for the SHELL variable was not found the /etc/shells file [USER=root] [TTY=unknown] [CWD=/home/troym] [COMMAND=/usr/libexec/gsd-backlight-helper --set-brightness 1]
Then I looked in /etc/shells and saw that /bin/bash and /bin/sh were missing from the list of shells. Some upgrade must have clobberd that file. Reinstalling bash fixed it.
-
23rd November 2011, 07:13 AM
#8
Re: Fn+keys for adjusting brightness not work after updates

Originally Posted by
silentdi
My laptop is Lenovo thinkpad T420, I only use the discrete graphic. So, I
install the nvidia drivers from rpmfusion, and the /etc/X11/xorg.conf file is below:
# RPM Fusion - nvidia-xorg.conf
#
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection
before yesterday's updates everything works ok, I can adjust the LCD brightness with fn+ keys, but after updates, fn+ keys don't work any more.
But, I can adjust the birghtness by doing below:
echo 9 > /sys/class/backlight/acpi_video0/brightness
I don't know what happened, is there a bug in updates introduce this problem.
Thank you!
---------- Post added at 01:24 AM ---------- Previous post was at 12:55 AM ----------
I remember that after updating something like Dbus, the fn+keys don't work anymore. Is the bug of dbus introduce this problem.
Thanks for the info.
I have the same problem with the brightness control on my HP dv7 laptop. Basically the up/down control displays and the scale does move up/down however the screen brightness (ie. dull) remains the same.
Changing the "brightness" number (I use 3 to 5) fixes the issue and my laptop brightness is back to normal again.
-
23rd November 2011, 03:07 PM
#9
Re: Fn+keys for adjusting brightness not work after updates
yum reinstall bash solved the same problem here!
Great job!
-
23rd November 2011, 11:24 PM
#10
Re: Fn+keys for adjusting brightness not work after updates

Originally Posted by
PiElle
yum reinstall bash solved the same problem here!
Great job!

Tried a reinstall of bash but that did not work. Not sure why that would work anyway but at least I can control the brightness by putting a number in /sys/class/backlight/acpi_video0/brightness. I only need to set it once and since I only reboot when I get a new kernel the issue is just a minor annoyance. When travelling I just put the laptop to sleep and on wakeup the setting does not change. All users of my laptop (ie wife and son) are ok with a brightness setting of 6.
-
28th November 2011, 03:05 PM
#11
Re: Fn+keys for adjusting brightness not work after updates
I've just reinstalled bash, and it works!
@undertoad, was it just through trial and error you figured out it was bash??
Anyway, nice work, fixes the same problem in Dell XPS m1530.
-
29th November 2011, 01:20 AM
#12
Re: Fn+keys for adjusting brightness not work after updates
-
30th November 2011, 12:22 PM
#13
Re: Fn+keys for adjusting brightness not work after updates
hi grdryn, yes trials and errors, updating/downgrading groups of packages till only bash was left. The post from troym shows a much quicker way to find the problem.
-
13th March 2012, 01:35 AM
#14
Re: Fn+keys for adjusting brightness not work after updates
Awesome! Dell XPS 1702x 3D 1080P GT 555M 3GB here:
thought it was the kernel/init upgrade but was having so success... downgraded bash, instant response from brightness controller. updated bash, instantly unrecognized. reinstalled bash (while updated*) and now i'm up to date with brightness control, should make note of this as I assume it may not be the first time we need to use it!
P.S. I should note that this has no effect without the ' Option "RegistryDwords" "EnableBrightnessControl=1" ' in my xorg.conf under Section "Device".
Thanks!
-
14th March 2012, 03:33 PM
#15
Re: Fn+keys for adjusting brightness not work after updates

Originally Posted by
ssgoku129
P.S. I should note that this has no effect without the ' Option "RegistryDwords" "EnableBrightnessControl=1" ' in my xorg.conf under Section "Device".
Same here!
Similar Threads
-
By gunjannigam in forum Using Fedora
Replies: 4
Last Post: 24th July 2011, 07:20 AM
-
By fedorer in forum Hardware
Replies: 1
Last Post: 6th December 2009, 02:14 AM
-
By tas0s in forum Hardware
Replies: 1
Last Post: 30th July 2009, 01:52 PM
-
By Alesete in forum Hardware
Replies: 1
Last Post: 26th July 2009, 04:18 PM
-
By zikon in forum Using Fedora
Replies: 3
Last Post: 25th July 2006, 05:28 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
[[template footer(Guest)]]