]> 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:40:21 +0000 (18:40 +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 61404d7a43ee1eaafb09c4b48c122428bd3a95f4..57da4f86a9fa7f73abd89cfe575666a6848636a0 100644 (file)
@@ -355,6 +355,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" },