Hello Mich On Fri, Jan 20, 2006 at 12:06:31AM +0100, Mich Lanners wrote: > Fn + cursor keys do produce the expected acion, i.e page up/down and > home/end.
Okay, so you don't have a keyboard the patch/driver doesn't know about. > In default config, Fn+Fx (eg. Fn+F1) do produce different keycodes. But > it seems the Fn-ified keycode is not what it should be. Fn sends KEY_FN, too. The sequences you should get: pb_fnmode=1, F1: KEY_BRIGHTNESSDOWN down, KEY_BRIGHTNESSDOWN up pb_fnmode=1, Fn+F1: KEY_FN down, KEY_F1 down, KEY_F1 up, KEY_FN up pb_fnmode=2, F1: KEY_F1 down, KEY_F1 up pb_fnmode=2, Fn+F1: KEY_FN down, KEY_BRIGHTNESSDOWN down, KEY_BRIGHTNESSDOWN up, KEY_FN up See linux/include/linux/input.h for the constants. In the Fn+ cases, the latter two events might be swapped, depending on in which order you release the keys. pb_fnmode=1 is the default, known as fkeysfirst in pbbuttonsd or also as the Mac OS X default mode. I hope this information brought you some steps further. Greets, Michael -- Gentoo Linux developer, http://hansmi.ch/, http://forkbomb.ch/ "Linux: the operating system with a CLUE... Command Line User Environment". (seen in a posting in comp.software.testing)
pgpAS0gL2hEME.pgp
Description: PGP signature