Skip to contentSkip to conversation

HID: apple: Add "F108Pro Dongle" to the list of non-apple keyboards

PATCH Applied Ignacio Martín Arano 2 participants 2 messages Oct 23 – Nov 19 HID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HID: apple: Add "F108Pro Dongle" to the list of non-apple keyboards

The 2.4 GHz dongle of the AULA F108 Pro keyboard reports itself as "Apple, Inc. Aluminium Keyboard (ANSI)" (05ac:024f), so hid-apple binds to it and, with the default fnmode, maps F1-F12 to their media functions. The keyboard has no Fn key visible to the host (Fn is handled in firmware), so the function keys become unreachable.

Add its product string to the list of non-Apple keyboards so that fnmode=3 resolves to fkeysfirst, like it already does for the SONiX keyboards sharing the same VID/PID.

---
 drivers/hid/hid-apple.c | 1 +
 1 file changed, 1 insertion(+)
drivers/hid/hid-apple.c +1 -0
index 5b32fb8c7..82118d654 100644
@@ -357,6 +357,7 @@ static const struct apple_key_translation swapped_fn_leftctrl_keys[] = {
 };
 
 static const struct apple_non_apple_keyboard non_apple_keyboards[] = {
+	{ "F108Pro Dongle" },		/* AULA F108 Pro 2.4G dongle */
 	{ "SONiX KN85 Keyboard" },
 	{ "SONiX USB DEVICE" },
 	{ "SONiX AK870 PRO" },
Signature · 1 line
2.56.0
maintainer Applied
#1 lore raw
Quoted 11 lines · Ignacio Martín Arano

The 2.4 GHz dongle of the AULA F108 Pro keyboard reports itself as "Apple, Inc. Aluminium Keyboard (ANSI)" (05ac:024f), so hid-apple binds to it and, with the default fnmode, maps F1-F12 to their media functions. The keyboard has no Fn key visible to the host (Fn is handled in firmware), so the function keys become unreachable.

Add its product string to the list of non-Apple keyboards so that fnmode=3 resolves to fkeysfirst, like it already does for the SONiX keyboards sharing the same VID/PID.

Applied, thanks.

Signature · 2 lines
Jiri Kosina
SUSE Labs