Skip to contentSkip to conversation

HID: apple: Add support for Keychron K8, K2 in bluetooth mode

PATCH Applied Stephan Losa 2 participants 3 messages Aug 19, 2021 – Aug 20, 2021 HID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HID: apple: Add support for Keychron K8, K2 in bluetooth mode

Use hid-apple in bluetooth mode like in wired mode for Keychron K8, K2 (and others). Those keyboards use vendor/product ids 05AC:024F (APPLE_ALU_REVB_ANSI).

---
 drivers/hid/hid-apple.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/hid/hid-apple.c +2 -0
index 6b8f0d004d34..dc6bd4299c54 100644
@@ -501,6 +501,8 @@ static const struct hid_device_id apple_devices[] = {
 			APPLE_RDESC_JIS },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_REVB_ANSI),
 		.driver_data = APPLE_HAS_FN },
+	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_REVB_ANSI),
+		.driver_data = APPLE_HAS_FN },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_REVB_ISO),
 		.driver_data = APPLE_HAS_FN },
 	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_REVB_ISO),
Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw
Quoted 4 lines · Stephan Losa

Use hid-apple in bluetooth mode like in wired mode for Keychron K8, K2 (and others). Those keyboards use vendor/product ids 05AC:024F (APPLE_ALU_REVB_ANSI).

Applied, thanks.

Signature · 2 lines
Jiri Kosina
SUSE Labs
#2 lore raw
Quoted 13 lines · Jiri Kosina
Quoted 4 lines · Stephan Losa

Use hid-apple in bluetooth mode like in wired mode for Keychron K8, K2 (and others). Those keyboards use vendor/product ids 05AC:024F (APPLE_ALU_REVB_ANSI).

Applied, thanks.

Signature · 2 lines
Jiri Kosina
SUSE Labs

FYI

Someone brought to my attention that a similar fix has been already merged into 5.14-rc4 three weeks ago torvalds/linux@ebe0b42.

Stephan