diff options
Diffstat (limited to 'drivers/hid/hid-core.c')
-rw-r--r-- | drivers/hid/hid-core.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 0a6b36fbb4ce..a7550bb30836 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c | |||
@@ -2183,7 +2183,16 @@ static bool hid_ignore(struct hid_device *hdev) | |||
2183 | if (hdev->product == USB_DEVICE_ID_JESS_YUREX && | 2183 | if (hdev->product == USB_DEVICE_ID_JESS_YUREX && |
2184 | hdev->type == HID_TYPE_USBNONE) | 2184 | hdev->type == HID_TYPE_USBNONE) |
2185 | return true; | 2185 | return true; |
2186 | break; | 2186 | break; |
2187 | case USB_VENDOR_ID_DWAV: | ||
2188 | /* These are handled by usbtouchscreen. hdev->type is probably | ||
2189 | * HID_TYPE_USBNONE, but we say !HID_TYPE_USBMOUSE to match | ||
2190 | * usbtouchscreen. */ | ||
2191 | if ((hdev->product == USB_DEVICE_ID_EGALAX_TOUCHCONTROLLER || | ||
2192 | hdev->product == USB_DEVICE_ID_DWAV_TOUCHCONTROLLER) && | ||
2193 | hdev->type != HID_TYPE_USBMOUSE) | ||
2194 | return true; | ||
2195 | break; | ||
2187 | } | 2196 | } |
2188 | 2197 | ||
2189 | if (hdev->type == HID_TYPE_USBMOUSE && | 2198 | if (hdev->type == HID_TYPE_USBMOUSE && |