Fedora Linux Support Community & Resources Center
  #1  
Old 15th November 2011, 01:24 AM
silentdi Offline
Registered User
 
Join Date: Oct 2011
Posts: 15
linuxchrome
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.
Reply With Quote
  #2  
Old 15th November 2011, 04:50 AM
manol99 Offline
Registered User
 
Join Date: Nov 2011
Posts: 1
linuxfirefox
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.
Reply With Quote
  #3  
Old 15th November 2011, 11:52 AM
undertoad Offline
Registered User
 
Join Date: May 2005
Posts: 36
linuxfirefox
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
Reply With Quote
  #4  
Old 15th November 2011, 12:22 PM
silentdi Offline
Registered User
 
Join Date: Oct 2011
Posts: 15
linuxchrome
Re: Fn+keys for adjusting brightness not work after updates

Quote:
Originally Posted by undertoad View Post
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 ----------

Quote:
Originally Posted by undertoad View Post
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.
Reply With Quote
  #5  
Old 15th November 2011, 12:47 PM
undertoad Offline
Registered User
 
Join Date: May 2005
Posts: 36
linuxfirefox
Re: Fn+keys for adjusting brightness not work after updates

sorry I don't know, brightness setting is lost after reboot for me.
Reply With Quote
  #6  
Old 15th November 2011, 12:56 PM
silentdi Offline
Registered User
 
Join Date: Oct 2011
Posts: 15
linuxchrome
Re: Fn+keys for adjusting brightness not work after updates

Quote:
Originally Posted by undertoad View Post
sorry I don't know, brightness setting is lost after reboot for me.
ok, thank you all the same.
Reply With Quote
  #7  
Old 16th November 2011, 12:42 AM
troym Offline
Registered User
 
Join Date: Nov 2011
Posts: 1
linuxchrome
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:
Quote:
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.
Reply With Quote
  #8  
Old 23rd November 2011, 06:13 AM
donaldm Offline
Registered User
 
Join Date: Jan 2007
Location: Sydney, NSW, Australia
Posts: 23
linuxfirefox
Re: Fn+keys for adjusting brightness not work after updates

Quote:
Originally Posted by silentdi View Post
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.
Reply With Quote
  #9  
Old 23rd November 2011, 02:07 PM
PiElle Offline
Registered User
 
Join Date: Jun 2011
Location: Italy
Posts: 360
linuxfirefox
Re: Fn+keys for adjusting brightness not work after updates

yum reinstall bash solved the same problem here!
Great job!
Reply With Quote
  #10  
Old 23rd November 2011, 10:24 PM
donaldm Offline
Registered User
 
Join Date: Jan 2007
Location: Sydney, NSW, Australia
Posts: 23
linuxfirefox
Re: Fn+keys for adjusting brightness not work after updates

Quote:
Originally Posted by PiElle View Post
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.
Reply With Quote
  #11  
Old 28th November 2011, 02:05 PM
grdryn Offline
Registered User
 
Join Date: Apr 2011
Location: Galway, Ireland
Posts: 3
linuxfirefox
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.
Reply With Quote
  #12  
Old 29th November 2011, 12:20 AM
AdamW Offline
Fedora QA Community Monkey
 
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 4,176
linuxfirefox
Re: Fn+keys for adjusting brightness not work after updates

note https://fedoraproject.org/wiki/Commo...ash-etc-shells .
__________________
Adam Williamson | awilliam AT redhat DOT com
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net
Reply With Quote
  #13  
Old 30th November 2011, 11:22 AM
undertoad Offline
Registered User
 
Join Date: May 2005
Posts: 36
linuxfirefox
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.
Reply With Quote
  #14  
Old 13th March 2012, 01:35 AM
ssgoku129 Offline
Registered User
 
Join Date: Mar 2012
Location: Sharon,On
Posts: 2
linuxchrome
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!
Reply With Quote
  #15  
Old 14th March 2012, 03:33 PM
PiElle Offline
Registered User
 
Join Date: Jun 2011
Location: Italy
Posts: 360
windows_7ie
Re: Fn+keys for adjusting brightness not work after updates

Quote:
Originally Posted by ssgoku129 View Post
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!
Reply With Quote
Reply

Tags
brightness nvidia

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop Power Management adjusting my screen brightness gunjannigam Using Fedora 4 24th July 2011 07:20 AM
Map Fn keys to change brightness fedorer Hardware & Laptops 1 6th December 2009 01:14 AM
Brightness keys (Fn+F7/F8) dont work. tas0s Hardware & Laptops 1 30th July 2009 01:52 PM
Dell XPS M1330. Set brightness with FN keys doesn't work Alesete Hardware & Laptops 1 26th July 2009 04:18 PM
Adjusting the Brightness/Gamma in Startx zikon Using Fedora 3 25th July 2006 05:28 PM


Current GMT-time: 06:16 (Saturday, 30-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat