Fedora Linux Support Community & Resources Center
  #1  
Old 26th August 2009, 07:20 PM
rgaelzer Offline
Registered User
 
Join Date: Oct 2005
Location: Rio Grande do Sul, Brazil
Posts: 136
linuxfedorafirefox
Fn keys still not working in F11?

I've just installed F11 on my Dell Vostro 1500.

The Fn keys, specially the Fn+up/down arrows (brightness adjustment) do not work, although they were working with F9 and F10. I've still not tested the other Fn keys.

Perhaps I left some package out, or this is a bug? Is there any workaround?

I've just updated to KDE 4.3 and the Power Management module allows me to adjust the screen brightness on any power saving profile, but I would like to be able to use the Fn keys as well.

Thanks.
__________________
Rudi Gaelzer
Registered Linux user # 153741
Reply With Quote
  #2  
Old 27th August 2009, 11:46 AM
Ashish Sood Offline
Registered User
 
Join Date: Feb 2009
Location: Gwalior
Posts: 156
windows_xp_2003opera
i also have the same problem , i have dell studio 1555. i try 2 figureout the solution the this problem and let u know .
Reply With Quote
  #3  
Old 27th August 2009, 09:31 PM
cenata Offline
Registered User
 
Join Date: Apr 2009
Location: Sofia, Bulgaria
Age: 28
Posts: 22
linuxsafari
I got Dell Inspiron 1525 with the same issue.

In the beginning i thought it was KDE's fault (4.2.x), because I tried openSuse milestone 6 (KDE 4.3.0) and they worked. Unfortunately after I updated Fedora 11 to KDE 4.3 today, keys still didn't work. So ... it's not KDE I guess....

I will be happy to see if someone figure out a solution :-)
__________________
Plans sometimes change in progress.

Last edited by cenata; 27th August 2009 at 09:35 PM.
Reply With Quote
  #4  
Old 30th August 2009, 11:08 AM
Phuein Offline
Registered User
 
Join Date: Dec 2007
Location: Earth
Posts: 66
linuxfedorafirefox
Yup just noticed mine on my lenovo g530 don't work as well on Fedora11. I wanna adjust the brightness quickly as well if possible
__________________
Linux Registered User #463962.
Old Crap PC, Fedora 10, KDE 4+!. Everything Kept Updated.

Chuck Norris can clap with one hand.
Chuck Norris can judge a book by its cover.
Chuck Norris can divide by zero.
When Chuck Norris does push-ups, he doesn’t push himself up. He pushes the Earth down.

....../\___/\......
...../---------\.....
..../--.\---/.--\....
....\\---|--|--//....
......\---(o)--/........
............U............. "Woof-Moo!"
Reply With Quote
  #5  
Old 30th August 2009, 12:31 PM
Lx_rules Offline
Registered User
 
Join Date: Mar 2009
Posts: 77
linuxfedorafirefox
Mine don't work either. I have a Fujitsu amilo li3910. (
__________________
Fujitsu Amilo Li 3910 and Mivvy L310 running FC14
Reply With Quote
  #6  
Old 12th September 2009, 12:02 AM
duende Offline
Registered User
 
Join Date: Sep 2009
Posts: 97
linuxfedorafirefox
Today I was trying to fix Fn keys to adjust brightness. I could regulate brightness in PowerDevil in KDE and also in power manager in gnome, but Fn+F8 and Fn+F9 keys did not work.

I came up with a work around. It is not completely satisfactory, because in KDE I was not able to assign the Fn keys, I am using Alt+F8 and Alt+F9 instead (Gnome does allow to assign Fn keys).
Maybe some of you will find it useful.


Save the following in a file, e.g. brightness_up (make sure that that long line does not get split up)
Code:
#!/bin/bash
#
#
# Increases brightness 
#
# Assumes that the maximum value of brightness is 15
# max_ brightness is given in the file
# /sys/class/backlight/acpi_video0/max_brightness
#
max_brightness=15
current_brightness=`cat /sys/class/backlight/acpi_video0/brightness`
if  (($current_brightness < $max_brightness)); then
    ((new_brightness=$current_brightness+1))
    dbus-send --print-reply --system --dest=org.freedesktop.Hal  /org/freedesktop/Hal/devices/computer_backlight org.freedesktop.Hal.Device.LaptopPanel.SetBrightness  int32:$new_brightness
fi
Check that the path "/sys/class/backlight/acpi_video0/brightness" is correct. Make the file executable
Code:
chmod 755 brightness_up
and assign a shortcut key to it. (In KDE it is in Settings->SystemSettings->ComputerAdministration->InputActions. )

Similar thing for decreasing brightness
Code:
#!/bin/bash
#
# decreases brightness 
#
current_brightness=`cat /sys/class/backlight/acpi_video0/brightness`
if  (($current_brightness > 0)); then
    ((new_brightness=$current_brightness-1))
    dbus-send --print-reply --system --dest=org.freedesktop.Hal  /org/freedesktop/Hal/devices/computer_backlight org.freedesktop.Hal.Device.LaptopPanel.SetBrightness  int32:$new_brightness
fi
Reply With Quote
  #7  
Old 13th September 2009, 12:44 AM
BlueC Offline
Registered User
 
Join Date: Aug 2007
Location: Liverpool, UK
Posts: 733
linuxfedorafirefox
Try this:

http://www.cenolan.com/2009/06/insta...rightness-keys

(it isn't macbook specific that part, it works on many platforms)

and read this:

https://bugzilla.redhat.com/show_bug.cgi?id=505531

Chris
Reply With Quote
  #8  
Old 13th September 2009, 11:36 AM
duende Offline
Registered User
 
Join Date: Sep 2009
Posts: 97
linuxfedorafirefox
BlueC: adding nomodeset does not change anything for me. The keys behave just the same.

My laptop is Fujitsu Siemens Esprimo Mobile V6505, running Fedora 11 with kernel 2.6.30.5-43.fc11.x86_64. In fact some of Fn keys do work, like volume control or sleep, but not brightness keys. Or, to be more precise, in KDE the brightness keys do not work at all, and in Gnome only one of them works - Fn+F8 but it puts the brightness up (instead of down). Fn+F9 is simply reported as plusminus. I did try to fool around with xmodmap and evdev, but I did not get anywhere. That is why I gave that roundabout solution. I hope it should be more universal than just for my specific laptop. But I would like to know how to do it in a more proper way.
Reply With Quote
  #9  
Old 24th September 2009, 11:37 PM
Quasaur Offline
Registered User
 
Join Date: Jul 2009
Location: Pittsburgh, PA
Posts: 57
linuxfedorafirefox
Fn+down works in Gnome but NOT in KDE4
Dell E1505
Reply With Quote
  #10  
Old 24th September 2009, 11:51 PM
Quasaur Offline
Registered User
 
Join Date: Jul 2009
Location: Pittsburgh, PA
Posts: 57
linuxfedorafirefox
tried that...got:

Error org.freedesktop.Hal.Device.LaptopPanel.Invalid: Brightness level is invalid
Reply With Quote
  #11  
Old 25th September 2009, 01:15 AM
Quasaur Offline
Registered User
 
Join Date: Jul 2009
Location: Pittsburgh, PA
Posts: 57
linuxfedorafirefox
I was delighted to see that in KDE 4 systemsettings/Regional and language/keyboard layout, finally, Dell Latitude series was listed. But it doesn't seem to include the brightness keys. The brightness is readable now, but not adjustable like in Gnome.
Reply With Quote
  #12  
Old 28th September 2009, 03:27 PM
duende Offline
Registered User
 
Join Date: Sep 2009
Posts: 97
linuxfedorafirefox
Quote:
Originally Posted by Quasaur View Post
tried that...got:

Error org.freedesktop.Hal.Device.LaptopPanel.Invalid: Brightness level is invalid
My guess is that your maximal brightness level is smaller than 15 (my one is 15, that is why it is in the script as max_brightness). I get the same error message if I run dbus-send command from the command line with parameter larger than 15.

What happens if from terminal you run
Code:
dbus-send --print-reply --system --dest=org.freedesktop.Hal  /org/freedesktop/Hal/devices/computer_backlight org.freedesktop.Hal.Device.LaptopPanel.SetBrightness  int32:0
Also, try also the same, but replacing the last 0 with some other (fairly small) positive integers. If it works (brightness chages) then the scripts should work for you. You only have to modify the brightness_up script and change the line
Code:
max_brightness=15
change 15 to your maximal brightness. On my computer it is given in
/sys/class/backlight/acpi_video0/max_brightness.
Reply With Quote
  #13  
Old 29th September 2009, 01:40 AM
Quasaur Offline
Registered User
 
Join Date: Jul 2009
Location: Pittsburgh, PA
Posts: 57
linuxfedorafirefox
Re: Fn keys still not working in F11?

Thank you for your response...

On my Dell E1505 the max brightness is '8'...

...so i typed:

dbus-send --print-reply --system --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer_backlight org.freedesktop.Hal.Device.LaptopPanel.SetBrightne ss int32:8

and got the following error:

Error org.freedesktop.Hal.Device.LaptopPanel.Invalid: Brightness level is invalid

I then modified the script, changing '15' to '8' and got the following:

method return sender=:1.2 -> dest=:1.72 reply_serial=2
int32 0

is that Good?

Last edited by Quasaur; 29th September 2009 at 01:45 AM. Reason: correction
Reply With Quote
  #14  
Old 29th September 2009, 08:11 AM
duende Offline
Registered User
 
Join Date: Sep 2009
Posts: 97
linuxfedorafirefox
Quote:
Originally Posted by Quasaur View Post
Thank you for your response...

On my Dell E1505 the max brightness is '8'...

...so i typed:

dbus-send --print-reply --system --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer_backlight org.freedesktop.Hal.Device.LaptopPanel.SetBrightne ss int32:8

and got the following error:

Error org.freedesktop.Hal.Device.LaptopPanel.Invalid: Brightness level is invalid
Strange that this did not work if 8 is really the max brightness (are you sure it is not 7? max_brightness 8 would give you 9 brightness levels 0,1,2,...,8 ). Have you tried with other numbers between 0 and 8?

Quote:
I then modified the script, changing '15' to '8' and got the following:

method return sender=:1.2 -> dest=:1.72 reply_serial=2
int32 0

is that Good?
Yes, this sounds good! Did you notice the change of the brightness of the screen? It might not be very noticeable because it changes by just one level. If you want to do some more testing before assigning the shortcut keys then simply run the scripts from the terminal - several times (at least 8) brightness_down and then the same for brightness_up, maybe brightness_down again. You should see something similar to

Quote:

method return sender=:1.2 -> dest=:1.72 reply_serial=2
int32 0
when the brightness gets changed by 1 level, or nothing at all if you run brightness_up and the brightness is already at max_brightness level, also nothing if you run brigntness_down if brightness is at minimal level 0. If there are no error messages and brightness gets adjusted then it is time to assign the shortcut keys.
Reply With Quote
  #15  
Old 30th September 2009, 05:33 PM
Quasaur Offline
Registered User
 
Join Date: Jul 2009
Location: Pittsburgh, PA
Posts: 57
linuxfedorafirefox
Quote:
when the brightness gets changed by 1 level, or nothing at all if you run brightness_up and the brightness is already at max_brightness level, also nothing if you run brigntness_down if brightness is at minimal level 0. If there are no error messages and brightness gets adjusted then it is time to assign the shortcut keys.
]

What I dont understand is why Fn+Up/Fn+Down works FINE with Gnome but not with KDE4...?

Last edited by Quasaur; 30th September 2009 at 05:34 PM. Reason: correction
Reply With Quote
Reply

Tags
f11, keys, working

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
Multimedia Keys Now Working Evil_Bert Fedora Focus 0 20th July 2009 11:45 AM
Functions keys not working LuHe Hardware & Laptops 1 13th March 2009 12:35 PM
few keys are not working with Fedora 8 manishgarg21 Hardware & Laptops 1 7th June 2008 11:56 AM
Laptop Keys not working keatonvictor Hardware & Laptops 2 4th August 2007 01:47 PM


Current GMT-time: 10:10 (Thursday, 21-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