[PATCH evdev 3/4] Add a property to toggle fnmode on Apple keyboards

Michel Dänzer michel at daenzer.net
Wed May 18 01:38:36 PDT 2011


On Mit, 2011-05-18 at 15:00 +1000, Peter Hutterer wrote: 
> On Apple keyboards, the multimedia function keys are overlaid with the F
> keys. F1 is also BrightnessDown, F10 is Mute, etc. The kernel provides a
> tweak to enable/disable this.
> 
> /sys/module/hid_apple/parameters/fnmode
>     0 .. keyboard sends Fx keys
>     1 .. keyboard sends multimedia keys

Actually, Linux drivers/hid/hid-apple.c says:

MODULE_PARM_DESC(fnmode, "Mode of fn key on Apple keyboards (0 = disabled, "
                "[1] = fkeyslast, 2 = fkeysfirst)");

Please expose the full functionality. (As you may guess, I'm using 2, so
the function keys produce Fx by default, but I can use the multimedia
functions with the fn key)

I really like the idea behind this patch though. :)


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the xorg-devel mailing list