1 Subject: Default value of usbhid.pb_fnmode module parameter
5 The kernel default value for usbhid.pb_fnmode is 1, which means that pressing
6 the Fn keys (F1..F10) without the fn key triggers the special functions
7 decrease/increase brightness, mute, decrease/increase volume, etc., which is
8 the default under MacOS.
10 At least under 10.2 Beta2, only the volume related special functions work at
11 all. In addition, Ctrl-Alt-Fx is used to switch between consoles. with
12 pb_fnmode==1, the fn key needs to be pressed in addition.
14 Therefore, pb_fnmode==2 (F1..F10 by default trigger Fn rather than the special
15 functions) makes more sense under Linux.
18 drivers/hid/hid-input.c | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
21 --- a/drivers/hid/hid-input.c
22 +++ b/drivers/hid/hid-input.c
24 #include <linux/hid.h>
25 #include <linux/hid-debug.h>
27 -static int hid_apple_fnmode = 1;
28 +static int hid_apple_fnmode = 2;
29 module_param_named(pb_fnmode, hid_apple_fnmode, int, 0644);
30 MODULE_PARM_DESC(pb_fnmode,
31 "Mode of fn key on Apple keyboards (0 = disabled, 1 = fkeyslast, 2 = fkeysfirst)");