Skip to content

Commit 7967995

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 32eefbe commit 7967995

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
@@ -94,6 +94,7 @@
9494
#define USB_VENDOR_ID_APPLE 0x05ac
9595
#define BT_VENDOR_ID_APPLE 0x004c
9696
#define SPI_VENDOR_ID_APPLE 0x05ac
97+
#define HOST_VENDOR_ID_APPLE 0x05ac
9798
#define USB_DEVICE_ID_APPLE_MIGHTYMOUSE 0x0304
9899
#define USB_DEVICE_ID_APPLE_MAGICMOUSE 0x030d
99100
#define USB_DEVICE_ID_APPLE_MAGICMOUSE2 0x0269
@@ -198,6 +199,8 @@
198199
#define SPI_DEVICE_ID_APPLE_MACBOOK_PRO13_2020 0x0341
199200
#define SPI_DEVICE_ID_APPLE_MACBOOK_PRO14_2021 0x0342
200201
#define SPI_DEVICE_ID_APPLE_MACBOOK_PRO16_2021 0x0343
202+
#define HOST_DEVICE_ID_APPLE_MACBOOK_AIR13_2022 0x0351
203+
#define HOST_DEVICE_ID_APPLE_MACBOOK_PRO13_2022 0x0354
201204

202205
#define USB_VENDOR_ID_ASETEK 0x2433
203206
#define USB_DEVICE_ID_ASETEK_INVICTA 0xf300

0 commit comments

Comments
 (0)