summaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorYihong Cao <caoyihong4@outlook.com>2023-10-30 01:05:38 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-12-20 17:01:58 +0100
commit6b3507b8ea55aae5377aaccd6d9cb9f6e0204136 (patch)
tree2d41cfec2fe4e6c86d23aec5e0bd0eeaa0a4b5e7 /drivers/hid
parentd4b50ac06ea6e47bdd2b04e97d1090c673c80645 (diff)
downloadlinux-stable-6b3507b8ea55aae5377aaccd6d9cb9f6e0204136.tar.gz
linux-stable-6b3507b8ea55aae5377aaccd6d9cb9f6e0204136.tar.bz2
linux-stable-6b3507b8ea55aae5377aaccd6d9cb9f6e0204136.zip
HID: apple: add Jamesdonkey and A3R to non-apple keyboards list
[ Upstream commit 113f736655e4f20633e107d731dd5bd097d5938c ] Jamesdonkey A3R keyboard is identified as "Jamesdonkey A3R" in wired mode, "A3R-U" in wireless mode and "A3R" in bluetooth mode. Adding them to non-apple keyboards fixes function key. Signed-off-by: Yihong Cao <caoyihong4@outlook.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-apple.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-apple.c b/drivers/hid/hid-apple.c
index 3ca45975c686..d9e9829b2200 100644
--- a/drivers/hid/hid-apple.c
+++ b/drivers/hid/hid-apple.c
@@ -345,6 +345,8 @@ static const struct apple_non_apple_keyboard non_apple_keyboards[] = {
{ "AONE" },
{ "GANSS" },
{ "Hailuck" },
+ { "Jamesdonkey" },
+ { "A3R" },
};
static bool apple_is_non_apple_keyboard(struct hid_device *hdev)