Skip to content

Commit 84f6ea1

Browse files
kristrevJiri Kosina
authored andcommitted
HID: Add new PID for Microchip Pick16F1454
There seems to be a new version of the Microchip Pick16F1454 with a different PID (0xf2f7). This device should also be ignored by the HID driver. The PID was observed with the second version of the Yepkit Ykush USB hub. Signed-off-by: Kristian Evensen <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 9a32740 commit 84f6ea1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/hid/hid-core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2408,6 +2408,7 @@ static const struct hid_device_id hid_ignore_list[] = {
24082408
{ HID_USB_DEVICE(USB_VENDOR_ID_MICROCHIP, USB_DEVICE_ID_PICKIT1) },
24092409
{ HID_USB_DEVICE(USB_VENDOR_ID_MICROCHIP, USB_DEVICE_ID_PICKIT2) },
24102410
{ HID_USB_DEVICE(USB_VENDOR_ID_MICROCHIP, USB_DEVICE_ID_PICK16F1454) },
2411+
{ HID_USB_DEVICE(USB_VENDOR_ID_MICROCHIP, USB_DEVICE_ID_PICK16F1454_V2) },
24112412
{ HID_USB_DEVICE(USB_VENDOR_ID_NATIONAL_SEMICONDUCTOR, USB_DEVICE_ID_N_S_HARMONY) },
24122413
{ HID_USB_DEVICE(USB_VENDOR_ID_ONTRAK, USB_DEVICE_ID_ONTRAK_ADU100) },
24132414
{ HID_USB_DEVICE(USB_VENDOR_ID_ONTRAK, USB_DEVICE_ID_ONTRAK_ADU100 + 20) },

drivers/hid/hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -669,6 +669,7 @@
669669
#define USB_DEVICE_ID_PICOLCD 0xc002
670670
#define USB_DEVICE_ID_PICOLCD_BOOTLOADER 0xf002
671671
#define USB_DEVICE_ID_PICK16F1454 0x0042
672+
#define USB_DEVICE_ID_PICK16F1454_V2 0xf2f7
672673

673674
#define USB_VENDOR_ID_MICROSOFT 0x045e
674675
#define USB_DEVICE_ID_SIDEWINDER_GV 0x003b

0 commit comments

Comments
 (0)