FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 17
  1. #1
    Join Date
    Oct 2011
    Posts
    15

    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.

  2. #2
    Join Date
    Nov 2011
    Posts
    1

    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.

  3. #3
    Join Date
    May 2005
    Posts
    36

    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

  4. #4
    Join Date
    Oct 2011
    Posts
    15

    Re: Fn+keys for adjusting brightness not work after updates

    Quote 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 ----------

    Quote 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.

  5. #5
    Join Date
    May 2005
    Posts
    36

    Re: Fn+keys for adjusting brightness not work after updates

    sorry I don't know, brightness setting is lost after reboot for me.

  6. #6
    Join Date
    Oct 2011
    Posts
    15

    Re: Fn+keys for adjusting brightness not work after updates

    Quote Originally Posted by undertoad
    sorry I don't know, brightness setting is lost after reboot for me.
    ok, thank you all the same.

  7. #7
    Join Date
    Nov 2011
    Posts
    1

    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.

  8. #8
    Join Date
    Jan 2007
    Location
    Sydney, NSW, Australia
    Posts
    49

    Re: Fn+keys for adjusting brightness not work after updates

    Quote 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.

  9. #9
    Join Date
    Jun 2011
    Location
    Italy
    Posts
    394

    Re: Fn+keys for adjusting brightness not work after updates

    yum reinstall bash solved the same problem here!
    Great job!

  10. #10
    Join Date
    Jan 2007
    Location
    Sydney, NSW, Australia
    Posts
    49

    Re: Fn+keys for adjusting brightness not work after updates

    Quote 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.

  11. #11
    Join Date
    Apr 2011
    Location
    Galway, Ireland
    Posts
    3

    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.

  12. #12
    Join Date
    Dec 2008
    Location
    Vancouver, BC
    Posts
    4,327

    Re: Fn+keys for adjusting brightness not work after updates

    Adam Williamson | awilliam AT redhat DOT com
    Fedora QA Community Monkey
    IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
    http://www.happyassassin.net

  13. #13
    Join Date
    May 2005
    Posts
    36

    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.

  14. #14
    Join Date
    Mar 2012
    Location
    Sharon,On
    Posts
    2

    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!

  15. #15
    Join Date
    Jun 2011
    Location
    Italy
    Posts
    394

    Re: Fn+keys for adjusting brightness not work after updates

    Quote 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!

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Stop Power Management adjusting my screen brightness
    By gunjannigam in forum Using Fedora
    Replies: 4
    Last Post: 24th July 2011, 07:20 AM
  2. Map Fn keys to change brightness
    By fedorer in forum Hardware & Laptops
    Replies: 1
    Last Post: 6th December 2009, 02:14 AM
  3. Brightness keys (Fn+F7/F8) dont work.
    By tas0s in forum Hardware & Laptops
    Replies: 1
    Last Post: 30th July 2009, 01:52 PM
  4. Dell XPS M1330. Set brightness with FN keys doesn't work
    By Alesete in forum Hardware & Laptops
    Replies: 1
    Last Post: 26th July 2009, 04:18 PM
  5. Adjusting the Brightness/Gamma in Startx
    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
  •