* [PATCH] HID: apple: Add support for Keychron K8, K2 in bluetooth mode
@ 2021-08-19 19:32 Stephan Losa
2021-08-20 13:06 ` Jiri Kosina
0 siblings, 1 reply; 3+ messages in thread
From: Stephan Losa @ 2021-08-19 19:32 UTC (permalink / raw)
Cc: stephan.losa, Jiri Kosina, Benjamin Tissoires, linux-input, linux-kernel
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@gmail.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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] HID: apple: Add support for Keychron K8, K2 in bluetooth mode
2021-08-19 19:32 [PATCH] HID: apple: Add support for Keychron K8, K2 in bluetooth mode Stephan Losa
@ 2021-08-20 13:06 ` Jiri Kosina
2021-08-20 15:41 ` Stephan Losa
0 siblings, 1 reply; 3+ messages in thread
From: Jiri Kosina @ 2021-08-20 13:06 UTC (permalink / raw)
To: Stephan Losa; +Cc: Benjamin Tissoires, linux-input, linux-kernel
On Thu, 19 Aug 2021, Stephan Losa wrote:
> 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@gmail.com>
Applied, thanks.
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] HID: apple: Add support for Keychron K8, K2 in bluetooth mode
2021-08-20 13:06 ` Jiri Kosina
@ 2021-08-20 15:41 ` Stephan Losa
0 siblings, 0 replies; 3+ messages in thread
From: Stephan Losa @ 2021-08-20 15:41 UTC (permalink / raw)
To: Jiri Kosina; +Cc: Benjamin Tissoires, linux-input, linux-kernel
On Fri, Aug 20, 2021 at 03:06:29PM +0200, Jiri Kosina wrote:
> On Thu, 19 Aug 2021, Stephan Losa wrote:
>
> > 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@gmail.com>
>
> Applied, thanks.
>
> --
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-20 15:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-19 19:32 [PATCH] HID: apple: Add support for Keychron K8, K2 in bluetooth mode Stephan Losa
2021-08-20 13:06 ` Jiri Kosina
2021-08-20 15:41 ` Stephan Losa
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.