Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] F1,F2...F12 doesn't work!
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
kbzium
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2012
Posts: 146

PostPosted: Thu Oct 11, 2012 6:17 pm    Post subject: [SOLVED] F1,F2...F12 doesn't work! Reply with quote

Hello,

all keys on my keyboard (even such as play, forward etc.) works except of... FX keys! My keyboard is Microsoft Curve 5000. It's kinda weird that I've noticed it first after 3 months of using gentoo, when trying to switch to another card on alsamixer :)

Help me please anyways,
Grzegorz


Last edited by kbzium on Fri Oct 12, 2012 1:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
benna86
n00b
n00b


Joined: 06 Feb 2009
Posts: 11

PostPosted: Thu Oct 11, 2012 6:46 pm    Post subject: Reply with quote

emerge xev
Code:
x11-apps/xev

and check if the FN keys are producing any input
Back to top
View user's profile Send private message
kbzium
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2012
Posts: 146

PostPosted: Thu Oct 11, 2012 7:11 pm    Post subject: Reply with quote

After pressing F6 key

Code:
KeyPress event, serial 42, synthetic NO, window 0x5000001,
    root 0x15d, subw 0x0, time 23861153, (-1210,-457), root:(531,111),
    state 0x0, keycode 214 (keysym 0x1008ff56, XF86Close), same_screen YES,
    XKeysymToKeycode returns keycode: 182
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 42, synthetic NO, window 0x5000001,
    root 0x15d, subw 0x0, time 23861464, (-1210,-457), root:(531,111),
    state 0x0, keycode 214 (keysym 0x1008ff56, XF86Close), same_screen YES,
    XKeysymToKeycode returns keycode: 182
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 42, synthetic NO, window 0x5000001,
    root 0x15d, subw 0x0, time 23863664, (-1397,-205), root:(344,363),
    state 0x0, keycode 214 (keysym 0x1008ff56, XF86Close), same_screen YES,
    XKeysymToKeycode returns keycode: 182
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 42, synthetic NO, window 0x5000001,
    root 0x15d, subw 0x0, time 23863857, (-1397,-205), root:(344,363),
    state 0x0, keycode 214 (keysym 0x1008ff56, XF86Close), same_screen YES,
    XKeysymToKeycode returns keycode: 182
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
Back to top
View user's profile Send private message
benna86
n00b
n00b


Joined: 06 Feb 2009
Posts: 11

PostPosted: Thu Oct 11, 2012 7:27 pm    Post subject: Reply with quote

So they work. The keyboard layout is probably misconfigured.
Try to log in from terminal pressing "ctrl+alt+f1" or, if it doesn't work, execute in the shell
Code:
init 3

and see if alsamixer works from there.

p.s. init 5 to go back to Xorg
Back to top
View user's profile Send private message
kbzium
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2012
Posts: 146

PostPosted: Thu Oct 11, 2012 7:41 pm    Post subject: Reply with quote

Doesn't seem to work. But I've noticed something weird when assigning key shortcuts - pressing F4-F12 didn't do anything ("it says something - sorry I don't remember what - don't recognize this key") but F1 brought "help" or "open" or something like that.
Back to top
View user's profile Send private message
benna86
n00b
n00b


Joined: 06 Feb 2009
Posts: 11

PostPosted: Thu Oct 11, 2012 9:21 pm    Post subject: Reply with quote

this is the output on my system
Code:
KeyPress event, serial 36, synthetic NO, window 0x6c00001,
root 0xb0, subw 0x0, time 183273845, (692,-210), root:(694,376),
state 0x0, keycode 72 (keysym 0xffc3, F6), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False


The keycode is different (72 instead of 214) and it is recognized as F6 while yours is recognized as XF86Close, that is normally assigned to a multimedia key.
You need to change the keysyms configuration. Try modifying your Xmodmap as explained in the wiki
Back to top
View user's profile Send private message
b0nafide
Apprentice
Apprentice


Joined: 17 Feb 2008
Posts: 171
Location: ~/

PostPosted: Thu Oct 11, 2012 10:01 pm    Post subject: Reply with quote

Have you noticed your new "F-Lock" key? ;)
Back to top
View user's profile Send private message
kbzium
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2012
Posts: 146

PostPosted: Fri Oct 12, 2012 12:08 pm    Post subject: Reply with quote

LOL. You made me feel really embarrased :D

Thank you!
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