Skip to content

Commit 8b34c10

Browse files
marcanjannau
authored andcommitted
HID: add HOST vendor/device IDs for Apple MTP devices
Apple M2 chips have an embedded MTP processor that handles all HID functions, and does not go over a traditional bus like SPI. The devices still have real IDs, so add them here. Signed-off-by: Hector Martin <marcan@marcan.st>
1 parent 47c9beb commit 8b34c10

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/hid/hid-ids.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
#define USB_VENDOR_ID_APPLE 0x05ac
9191
#define BT_VENDOR_ID_APPLE 0x004c
9292
#define SPI_VENDOR_ID_APPLE 0x05ac
93+
#define HOST_VENDOR_ID_APPLE 0x05ac
9394
#define USB_DEVICE_ID_APPLE_MIGHTYMOUSE 0x0304
9495
#define USB_DEVICE_ID_APPLE_MAGICMOUSE 0x030d
9596
#define USB_DEVICE_ID_APPLE_MAGICMOUSE2 0x0269
@@ -194,6 +195,8 @@
194195
#define SPI_DEVICE_ID_APPLE_MACBOOK_PRO13_2020 0x0341
195196
#define SPI_DEVICE_ID_APPLE_MACBOOK_PRO14_2021 0x0342
196197
#define SPI_DEVICE_ID_APPLE_MACBOOK_PRO16_2021 0x0343
198+
#define HOST_DEVICE_ID_APPLE_MACBOOK_AIR13_2022 0x0351
199+
#define HOST_DEVICE_ID_APPLE_MACBOOK_PRO13_2022 0x0354
197200

198201
#define USB_VENDOR_ID_ASUS 0x0486
199202
#define USB_DEVICE_ID_ASUS_T91MT 0x0185

0 commit comments

Comments
 (0)