Skip to contentSkip to conversation

HID: apple: Add EPOMAKER TH87 to the non-apple keyboards list

PATCH Applied Takashi Iwai 2 participants 2 messages Feb 24 – Feb 26 HID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HID: apple: Add EPOMAKER TH87 to the non-apple keyboards list

EPOMAKER TH87 has the very same ID as Apple Aluminum keyboard (05ac:024f) although it doesn't work as expected in compatible way.

Put three entries to the non-apple keyboards list to exclude this
device: one for BT ("TH87"), one for USB ("HFD Epomaker TH87") and one for dongle ("2.4G Wireless Receiver").

---
 drivers/hid/hid-apple.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/hid/hid-apple.c +3 -0
index b949b767cf08..72d98a086647 100644
@@ -365,6 +365,9 @@ static const struct apple_non_apple_keyboard non_apple_keyboards[] = {
 	{ "A3R" },
 	{ "hfd.cn" },
 	{ "WKB603" },
+	{ "TH87" },			/* EPOMAKER TH87 BT mode */
+	{ "HFD Epomaker TH87" },	/* EPOMAKER TH87 USB mode */
+	{ "2.4G Wireless Receiver" },	/* EPOMAKER TH87 dongle */
 };
 
 static bool apple_is_non_apple_keyboard(struct hid_device *hdev)
Signature · 1 line
2.53.0
maintainer Applied
#1 lore raw
Quoted 6 lines · Takashi Iwai

EPOMAKER TH87 has the very same ID as Apple Aluminum keyboard (05ac:024f) although it doesn't work as expected in compatible way.

Put three entries to the non-apple keyboards list to exclude this
device: one for BT ("TH87"), one for USB ("HFD Epomaker TH87") and one for dongle ("2.4G Wireless Receiver").

Applied to hid.git#for-7.0/upstream-fixes, thanks Takashi.

Signature · 2 lines
Jiri Kosina
SUSE Labs