[merged] usbtouchscreen-fix-egalax-hid-ignoring.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     usbtouchscreen: fix eGalax HID ignoring
has been removed from the -mm tree.  Its filename was
     usbtouchscreen-fix-egalax-hid-ignoring.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: usbtouchscreen: fix eGalax HID ignoring
From: Daniel Ritz <daniel.ritz-ml@xxxxxxxxxxxxxx>

Commit ec42d4481e36cbdb5b2801f957e678211a9e5ae2 ("Input: usbtouchscreen -
ignore eGalax screens supporting HID protocol") 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@xxxxxx>
Reported-and-tested-by: Max Weninger <max.weninger@xxxxxxxxx>
Cc: Dmitry Torokhov <dtor@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/input/touchscreen/usbtouchscreen.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/input/touchscreen/usbtouchscreen.c~usbtouchscreen-fix-egalax-hid-ignoring drivers/input/touchscreen/usbtouchscreen.c
--- a/drivers/input/touchscreen/usbtouchscreen.c~usbtouchscreen-fix-egalax-hid-ignoring
+++ a/drivers/input/touchscreen/usbtouchscreen.c
@@ -122,6 +122,7 @@ enum {
 
 #define USB_DEVICE_HID_CLASS(vend, prod) \
 	.match_flags = USB_DEVICE_ID_MATCH_INT_CLASS \
+		| USB_DEVICE_ID_MATCH_INT_PROTOCOL \
 		| USB_DEVICE_ID_MATCH_DEVICE, \
 	.idVendor = (vend), \
 	.idProduct = (prod), \
_

Patches currently in -mm which might be from daniel.ritz-ml@xxxxxxxxxxxxxx are

linux-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux