[ltp] fn key

Theodore Ts'o linux-thinkpad@linux-thinkpad.org
Mon, 30 Jun 2003 17:11:21 -0400


On Mon, Jun 30, 2003 at 09:34:48PM +0200, hella-ltp@public-files.de wrote:
> > hi
> > 
> > is it normal that the xev program doesn't detect the Fn keypress?
> 
> well, mine does:
> KeyPress event, serial 27, synthetic NO, window 0x4e00001,
>     root 0x3b, subw 0x0, time 518276880, (-235,737), root:(607,757),
>     state 0x0, keycode 227 (keysym 0x0, NoSymbol), same_screen YES,
>     XLookupString gives 0 bytes:  ""
> 
> I've got a x30 - If you tell us your model, probably somebody with that
> model can tell you more ..

On the T40p, you need to run the following command in /etc/init.d
before you start the X server in order to the Fn keypress to work, and
so you don't get the kernel complaining about an unknown keyboard scan
code every single time you hit the Fn, window-left and window-right
key.  (By window-left and window-right and mean the keys that are to
the left and right of the up arrow key, which have a picture of a
window and a left- or right- facing triangle.)

    # Set the thinkpad keycodes
    /usr/bin/setkeycodes e063 125 e06a 126 e069 127

						- Ted