Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fn key not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
DJ_Grijander
n00b
n00b


Joined: 15 Aug 2003
Posts: 58

PostPosted: Tue Nov 04, 2003 12:28 am    Post subject: Fn key not working Reply with quote

I have a Compaq Evo N600c, and the keyboard has a "Fn" key to get access to some extra functions. For example, Fn+F10 controls TFT brightness. This key works OK in console mode, but under X it does not work with all the keys (following with the same example, Fn+F10 does not work anymore in X).

I've been tweaking around and found out that the problem is related to the glx module: if I eliminate the "load glx" line in XF86Config, then the "Fn" key works OK in X. If I put that line back, the problem is also back.

To be honest, I don't know whether glx is something important (I haven't noticed any difference so far with or without it), so I would appreciate some advice here. Should I load glx (and find another fix for the Fn issue) or is it OK not to load it? These are the relevant parts of my XF86Config file:

Code:

Section "Module"
    Load        "dbe"
    Load        "drm"
    Load        "dri"
    Load        "extmod"
    Load        "record"
    Load        "xie"
#  Load         "glx"
    Load         "xtrap"
    Load        "speedo"
    Load        "type1"
    Load        "freetype"
EndSection
......
Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "Keyboard"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xfree86"
    Option "XkbModel"   "compaqn620c"
    Option "XkbLayout"  "es"
EndSection

The keyboard model is a "taylor-made" one with a patch that I found in the Net. Anyway, I also tried with pc101, pc102, pc105, etc, and it did not make any difference. Thanks in advance for your help.
Back to top
View user's profile Send private message
MADcow
l33t
l33t


Joined: 23 Jan 2003
Posts: 742
Location: RIT (Henrietta, New York, United States)

PostPosted: Tue Nov 04, 2003 1:54 am    Post subject: Reply with quote

glx is the module that lets you use hardware 3D rendering (OpenGL)
without it, you can't play 3D games... or if you can, it will use software rendering, with is more than slow.
Back to top
View user's profile Send private message
DJ_Grijander
n00b
n00b


Joined: 15 Aug 2003
Posts: 58

PostPosted: Tue Nov 04, 2003 2:22 am    Post subject: Reply with quote

Thank you for your answer. I thought that drm and dri were the modules related to rendering (I think I read somewhere that "dr" stands for "direct rendering", but I'm not sure...). Besides, I've seen another module called "opengl". What if I include a "load opengl" line in my XF86config?
Back to top
View user's profile Send private message
dulljeff
n00b
n00b


Joined: 29 Oct 2003
Posts: 65

PostPosted: Tue Nov 04, 2003 8:48 am    Post subject: Reply with quote

Are the keys recognized in X? Does "xev" return values when you press the Fn-keys?

I own a HP Compaq nx7000 and the keys for brightness even work when entered lilo. They worked by default in Gnome, without me required to take action.
Back to top
View user's profile Send private message
DJ_Grijander
n00b
n00b


Joined: 15 Aug 2003
Posts: 58

PostPosted: Tue Nov 04, 2003 11:42 am    Post subject: Reply with quote

Yes, the F1-F12 keys are recognized by X and xev show their keycodes. For Fn+F? xev shows no keycode, but this also happens when the combinations work (i.e., when I don't load glx and everything works OK).

But the weird thing, as I said in my initial message, is that the Fn key stops working only with some keys (specifically, with the funcion keys F1 to F12). For example, the Fn key is also used to simulate a numeric keypad, and this works OK in X even with glx loaded (Fn+m is "0", Fn+j is "1", Fn+k is "2", etc.).

Everything works OK in console mode (and in X if I remove the "load glx" line in XF86Config). So I assume the problem has something to do with glx, but I don't know what... The sequence is like this: I start up my box in console mode and everything works fine; I enter X with glx and the Fn+F? combinations stop working; I exit X and go back to console mode, and the Fn+F? don't work any longer (I have to reboot my computer to get them working again...). Strange, uh?
Back to top
View user's profile Send private message
oai79
n00b
n00b


Joined: 22 Oct 2002
Posts: 55

PostPosted: Fri Nov 07, 2003 4:11 pm    Post subject: Reply with quote

Can you see anything using "cat /proc/acpi/event"? I just found out this and still trying to figure out next step. But if you can see something from the command, then there must be something to do.
Back to top
View user's profile Send private message
DJ_Grijander
n00b
n00b


Joined: 15 Aug 2003
Posts: 58

PostPosted: Fri Nov 07, 2003 9:30 pm    Post subject: Reply with quote

I'm not using ACPI (just APM), so /proc/acpi doesn't just exist...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum