Input: usbtouchscreen - fix eGalax HID ignoring
Commit ec42d4481e broke usbtouchscreen for
some eGalax/EETI devices that claim to be HID, but are not.
Devices confirmed to be real HID have the class set to HID and the protocol
set to 'mouse'.  Some have HID class but protocol set to 'none'. Those are
not HID and should be driven by usbtouchscreen.
Fix the device ignoring macro by adding match for the protocol too.
Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
	
	
This commit is contained in:
		
					parent
					
						
							
								4ab73761fa
							
						
					
				
			
			
				commit
				
					
						139ebe8dc8
					
				
			
		
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -122,6 +122,7 @@ enum { | ||||||
| 
 | 
 | ||||||
| #define USB_DEVICE_HID_CLASS(vend, prod) \ | #define USB_DEVICE_HID_CLASS(vend, prod) \ | ||||||
| 	.match_flags = USB_DEVICE_ID_MATCH_INT_CLASS \ | 	.match_flags = USB_DEVICE_ID_MATCH_INT_CLASS \ | ||||||
|  | 		| USB_DEVICE_ID_MATCH_INT_PROTOCOL \ | ||||||
| 		| USB_DEVICE_ID_MATCH_DEVICE, \ | 		| USB_DEVICE_ID_MATCH_DEVICE, \ | ||||||
| 	.idVendor = (vend), \ | 	.idVendor = (vend), \ | ||||||
| 	.idProduct = (prod), \ | 	.idProduct = (prod), \ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Daniel Ritz
				Daniel Ritz