]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
HID: apple: Add SONiX AK870 PRO to non_apple_keyboards quirk list
authorApril Grimoire <april@aprilg.moe>
Wed, 22 Oct 2025 16:37:26 +0000 (00:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Dec 2025 17:37:20 +0000 (18:37 +0100)
[ Upstream commit 743c81cdc98fd4fef62a89eb70efff994112c2d9 ]

SONiX AK870 PRO keyboard pretends to be an apple keyboard by VID:PID,
rendering function keys not treated properly. Despite being a
SONiX USB DEVICE, it uses a different name, so adding it to the list.

Signed-off-by: April Grimoire <april@aprilg.moe>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hid/hid-apple.c

index 25d1edb6a21075d67860e3a7fa5c3e1303fb8e48..a0f79803df3bdf376694a820e10384b95d78ba5a 100644 (file)
@@ -354,6 +354,7 @@ static const struct apple_key_translation swapped_fn_leftctrl_keys[] = {
 
 static const struct apple_non_apple_keyboard non_apple_keyboards[] = {
        { "SONiX USB DEVICE" },
+       { "SONiX AK870 PRO" },
        { "Keychron" },
        { "AONE" },
        { "GANSS" },