Skip to content

Commit 5cd330f

Browse files
hveghgregkh
authored andcommitted
[PATCH] USB: add YEALINK phones to the HID_QUIRK_IGNORE blacklist
Keys on Yealink based phones will not function properly when using the generic HID driver. This patch prevents the generic HID code from grabbing the device before the regular yealink driver can get a grip on it. Signed-off-by: Henk Vergonet <[email protected]> Signed-off-by: Vojtech Pavlik <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent c32ba30 commit 5cd330f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/usb/input/hid-core.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1563,6 +1563,8 @@ void hid_init_reports(struct hid_device *hid)
15631563
#define USB_VENDOR_ID_CREATIVELABS 0x062a
15641564
#define USB_DEVICE_ID_CREATIVELABS_SILVERCREST 0x0201
15651565

1566+
#define USB_VENDOR_ID_YEALINK 0x6993
1567+
#define USB_DEVICE_ID_YEALINK_P1K_P4K_B2K 0xb001
15661568
/*
15671569
* Alphabetically sorted blacklist by quirk type.
15681570
*/
@@ -1671,6 +1673,7 @@ static const struct hid_blacklist {
16711673
{ USB_VENDOR_ID_WACOM, USB_DEVICE_ID_WACOM_DTF + 3, HID_QUIRK_IGNORE },
16721674
{ USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_4_PHIDGETSERVO_20, HID_QUIRK_IGNORE },
16731675
{ USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_1_PHIDGETSERVO_20, HID_QUIRK_IGNORE },
1676+
{ USB_VENDOR_ID_YEALINK, USB_DEVICE_ID_YEALINK_P1K_P4K_B2K, HID_QUIRK_IGNORE },
16741677

16751678
{ USB_VENDOR_ID_ACECAD, USB_DEVICE_ID_ACECAD_FLAIR, HID_QUIRK_IGNORE },
16761679
{ USB_VENDOR_ID_ACECAD, USB_DEVICE_ID_ACECAD_302, HID_QUIRK_IGNORE },

0 commit comments

Comments
 (0)