[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210819193221.558454-1-stephan.losa@gmail.com>
Date: Thu, 19 Aug 2021 15:32:21 -0400
From: Stephan Losa <stephan.losa@...il.com>
To: unlisted-recipients:; (no To-header on input)
Cc: stephan.losa@...il.com, Jiri Kosina <jikos@...nel.org>,
Benjamin Tissoires <benjamin.tissoires@...hat.com>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] 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).
Signed-off-by: Stephan Losa <stephan.losa@...il.com>
---
drivers/hid/hid-apple.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/hid/hid-apple.c b/drivers/hid/hid-apple.c
index 6b8f0d004d34..dc6bd4299c54 100644
--- a/drivers/hid/hid-apple.c
+++ b/drivers/hid/hid-apple.c
@@ -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),
--
2.25.1
Powered by blists - more mailing lists