diff mbox series

HID: apple: Set the tilde quirk flag on the Geyser 3

Message ID 20230404024829.13982-1-alexhenrie24@gmail.com (mailing list archive)
State Mainlined
Commit 29e1ecc197d410ee59c8877098d54cf417075f7d
Delegated to: Jiri Kosina
Headers show
Series HID: apple: Set the tilde quirk flag on the Geyser 3 | expand

Commit Message

Alex Henrie April 4, 2023, 2:48 a.m. UTC
I was finally able to obtain a MacBook1,1 to test and I've now confirmed
that it has the tilde key quirk as well:

Product    Model  Year  System      CPU    Shape  Labels     Country  Quirky
============================================================================
05ac:0218  A1181  2006  MacBook1,1  T2500  ISO    British    13       Yes

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
---
It's probably too late to squash this into my previous patch, but you
can if you want.
---
 drivers/hid/hid-apple.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Benjamin Tissoires April 13, 2023, 3:04 p.m. UTC | #1
On Mon, 03 Apr 2023 20:48:29 -0600, Alex Henrie wrote:
> I was finally able to obtain a MacBook1,1 to test and I've now confirmed
> that it has the tilde key quirk as well:
> 
> Product    Model  Year  System      CPU    Shape  Labels     Country  Quirky
> ============================================================================
> 05ac:0218  A1181  2006  MacBook1,1  T2500  ISO    British    13       Yes
> 
> [...]

Applied to hid/hid.git (for-6.4/apple), thanks!

[1/1] HID: apple: Set the tilde quirk flag on the Geyser 3
      https://git.kernel.org/hid/hid/c/29e1ecc197d4

Cheers,
diff mbox series

Patch

diff --git a/drivers/hid/hid-apple.c b/drivers/hid/hid-apple.c
index 5c145775482b..e2c73a78b597 100644
--- a/drivers/hid/hid-apple.c
+++ b/drivers/hid/hid-apple.c
@@ -875,7 +875,8 @@  static const struct hid_device_id apple_devices[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER3_ANSI),
 		.driver_data = APPLE_NUMLOCK_EMULATION | APPLE_HAS_FN },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER3_ISO),
-		.driver_data = APPLE_NUMLOCK_EMULATION | APPLE_HAS_FN },
+		.driver_data = APPLE_NUMLOCK_EMULATION | APPLE_HAS_FN |
+			APPLE_ISO_TILDE_QUIRK },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER3_JIS),
 		.driver_data = APPLE_NUMLOCK_EMULATION | APPLE_HAS_FN |
 			APPLE_RDESC_JIS },