+ usbtouchscreen-fix-egalax-hid-ignoring.patch added to -mm tree

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

 



The patch titled
     usbtouchscreen: fix eGalax HID ignoring
has been added to the -mm tree.  Its filename is
     usbtouchscreen-fix-egalax-hid-ignoring.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

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>

Fix the eGalax/EETI HID device ignoring by adding a match for the protocol
too.  This is what the marco USB_DEVICE_HID_CLASS() was supposed to do
anyways.

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.

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

usbtouchscreen-fix-egalax-hid-ignoring.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