diff options
| -rw-r--r-- | drivers/hid/hid-core.c | 11 | ||||
| -rw-r--r-- | drivers/hid/hid-ids.h | 1 | 
2 files changed, 11 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)  		if (hdev->product == USB_DEVICE_ID_JESS_YUREX &&  				hdev->type == HID_TYPE_USBNONE)  			return true; -	break; +		break; +	case USB_VENDOR_ID_DWAV: +		/* These are handled by usbtouchscreen. hdev->type is probably +		 * HID_TYPE_USBNONE, but we say !HID_TYPE_USBMOUSE to match +		 * usbtouchscreen. */ +		if ((hdev->product == USB_DEVICE_ID_EGALAX_TOUCHCONTROLLER || +		     hdev->product == USB_DEVICE_ID_DWAV_TOUCHCONTROLLER) && +		    hdev->type != HID_TYPE_USBMOUSE) +			return true; +		break;  	}  	if (hdev->type == HID_TYPE_USBMOUSE && diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 9bc8d570777a..6a971477535c 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -254,6 +254,7 @@  #define USB_VENDOR_ID_DWAV		0x0eef  #define USB_DEVICE_ID_EGALAX_TOUCHCONTROLLER	0x0001 +#define USB_DEVICE_ID_DWAV_TOUCHCONTROLLER	0x0002  #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_480D	0x480d  #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_480E	0x480e  #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_7207	0x7207 |