Gentoo Archives: gentoo-amd64

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Shift + Fn Keys Suddenly Don't Work
Date: Sun, 09 Oct 2011 19:13:33
Message-Id: CAK2H+ecGbjGzHQVDOwUZCdmb1zRH1H-C+noe_RoCM7W4W1r5SA@mail.gmail.com
In Reply to: [gentoo-amd64] Shift + Fn Keys Suddenly Don't Work by Frank Peters
1 On Sun, Oct 9, 2011 at 10:45 AM, Frank Peters <frank.peters@×××××××.net> wrote:
2 > Hello,
3 >
4 > On an ordinary keyboard, the extended function keys, F13 to F24, should
5 > be accessible as Shift + Fn, where Fn are the keys F1 to F12.
6 >
7 > Well, up until a few days ago, the Shift+Fn combination was working as it
8 > should.  Then suddenly, Shift+Fn stopped working correctly.  I noticed
9 > it when using the Midnight Commander (MC) file manager where I extensively
10 > use Shift+F5 and Shift+F6 to conveniently rename and copy files.
11 > MC is a terminal program but the problem also shows up in some X programs
12 > that use Shift+Fn combinations.
13 >
14 > Because I have no need to closely monitor changes on my system I can't
15 > actually pinpoint any new install that may be responsible.  My first
16 > guess would be a new version of xorg-server-1.11.1 that was emerged
17 > on October 2.
18 >
19 > I need to know how I can debug this situation further.  Using xev
20 > to record key presses gives the following output when using
21 > Shift+F1:
22 >
23 > KeyPress event, serial 40, synthetic NO, window 0xe00001,
24 >    root 0x121, subw 0x0, time 6919279, (23,152), root:(463,411),
25 >    state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
26 >    XLookupString gives 0 bytes:
27 >    XmbLookupString gives 0 bytes:
28 >    XFilterEvent returns: False
29 >
30 > KeyPress event, serial 40, synthetic NO, window 0xe00001,
31 >    root 0x121, subw 0x0, time 6921351, (23,152), root:(463,411),
32 >    state 0x1, keycode 67 (keysym 0xffffff, VoidSymbol), same_screen YES,
33 >    XKeysymToKeycode returns keycode: 63
34 >    XLookupString gives 0 bytes:
35 >    XmbLookupString gives 0 bytes:
36 >    XFilterEvent returns: False
37 >
38 > The data for the F1 keypress is not correct.  Compare this output with
39 > the expected output that is shown in this forum thread:
40 > http://forums.gentoo.org/viewtopic-t-524537-start-0.html
41 >
42 > It appears that the X server is at fault.
43 >
44 > Can anyone using xorg-server-1.11.1 very that the Shift+Fn keys
45 > are broken?
46 >
47 > Frank Peters
48 >
49 >
50 >
51
52 Hi Frank,
53 I've never used the Shift-Function keys myself. Here is what I'm
54 seeing here using xev to capture Shift-F1:
55
56 KeyPress event, serial 30, synthetic NO, window 0x3e00001,
57 root 0x26a, subw 0x0, time 14761403, (323,554), root:(1606,577),
58 state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
59 XLookupString gives 0 bytes:
60 XmbLookupString gives 0 bytes:
61 XFilterEvent returns: False
62
63 KeyPress event, serial 33, synthetic NO, window 0x3e00001,
64 root 0x26a, subw 0x0, time 14762104, (323,554), root:(1606,577),
65 state 0x1, keycode 67 (keysym 0xffbe, F1), same_screen YES,
66 XLookupString gives 0 bytes:
67 XmbLookupString gives 0 bytes:
68 XFilterEvent returns: False
69
70 KeyRelease event, serial 33, synthetic NO, window 0x3e00001,
71 root 0x26a, subw 0x0, time 14762163, (323,554), root:(1606,577),
72 state 0x1, keycode 67 (keysym 0xffbe, F1), same_screen YES,
73 XLookupString gives 0 bytes:
74 XFilterEvent returns: False
75
76 KeyRelease event, serial 33, synthetic NO, window 0x3e00001,
77 root 0x26a, subw 0x0, time 14762733, (323,554), root:(1606,577),
78 state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
79 XLookupString gives 0 bytes:
80 XFilterEvent returns: False
81
82
83 I didn't read through the link you posted but it's showing left-shift
84 & F1, both key on and key off, so I assume it's working correctly
85 here. This is, however xorg-server-1.10.4 so possibly there's a bug in
86 the testing version? I still show 1.10.4 as stable but haven't updated
87 in a couple of days on this machine.
88
89
90 mark@c2stable ~ $ eix -I xorg-server
91 [I] x11-base/xorg-server
92 Available versions: 1.9.4 1.9.5 1.10.2 ~1.10.3 1.10.4 ~1.11.0
93 ~1.11.1 {dmx doc ipv6 kdrive minimal nptl static-libs tslib +udev
94 xnest xorg xvfb}
95 Installed versions: 1.10.4(03:34:56 PM 08/30/2011)(nptl udev
96 xorg -dmx -doc -ipv6 -kdrive -minimal -static-libs -tslib -xnest
97 -xvfb)
98 Homepage: http://xorg.freedesktop.org/
99 Description: X.Org X servers
100
101 mark@c2stable ~ $
102
103
104 Hope this helps,
105 Mark

Replies

Subject Author
Re: [gentoo-amd64] Shift + Fn Keys Suddenly Don't Work Frank Peters <frank.peters@×××××××.net>