linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Jiri Kosina <jikos@jikos.cz>
Cc: zeylienospam@gmail.com, linux-input@atrey.karlin.mff.cuni.cz
Subject: Re: GeneralTouch USB Touchscreen Support
Date: Thu, 11 Oct 2007 08:02:01 -0400	[thread overview]
Message-ID: <200710110802.01953.dmitry.torokhov@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0710081633330.25413@twin.jikos.cz>

Hi Jiri,

On Monday 08 October 2007, Jiri Kosina wrote:
> On Mon, 8 Oct 2007, Dmitry Torokhov wrote:
> 
> > The patch looks good, thanks a lot. Can I please have your 
> > "Signed-off-by:" so I can apply it?  Thanks!
> 
> Hi,
> 
> my only concern with this patch is -- could we please keep the entries in 
> hid_blacklist[] properly sorted? (i.e. first by quirk type, then by vendor 
> name).
> 
> Also, patch to hid-quirks seem to contain some whitespace changes, I'd 
> like to do this separately if possible.
> 
> Besides that, I am fine with that and you can add
> 
> 	Signed-off-by: Jiri Koisna <jkosina@suse.cz>
> 
> for the HID part of the patch if you want to.
> 

I'd rather HID part go through your tree. Here is is split out.

-- 
Dmitry

--------------------------------------------------------------------
Subject: HID: Add GeneralTouch touchscreen to the blacklist
From: Ilya Frolov <zeylie@gmail.com>

GeneralTouch touchscreens are handled by usbtouchscreen driver,
make sure HID ignores them.

Signed-off-by: Ilya Frolov <zeylie@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
---
 drivers/hid/usbhid/hid-quirks.c |    6 ++++++
 1 file changed, 6 insertions(+)

Index: work/drivers/hid/usbhid/hid-quirks.c
===================================================================
--- work.orig/drivers/hid/usbhid/hid-quirks.c
+++ work/drivers/hid/usbhid/hid-quirks.c
@@ -110,6 +110,8 @@
 #define USB_VENDOR_ID_GAMERON		0x0810
 #define USB_DEVICE_ID_GAMERON_DUAL_PSX_ADAPTOR	0x0001
 
+#define USB_VENDOR_ID_GENERAL_TOUCH	0x0dfc
+
 #define USB_VENDOR_ID_GLAB		0x06c2
 #define USB_DEVICE_ID_4_PHIDGETSERVO_30	0x0038
 #define USB_DEVICE_ID_1_PHIDGETSERVO_30	0x0039
@@ -392,6 +394,10 @@ static const struct hid_blacklist {
 	{ USB_VENDOR_ID_DELORME, USB_DEVICE_ID_DELORME_EARTHMATE, HID_QUIRK_IGNORE },
 	{ USB_VENDOR_ID_DELORME, USB_DEVICE_ID_DELORME_EM_LT20, HID_QUIRK_IGNORE },
 	{ USB_VENDOR_ID_ESSENTIAL_REALITY, USB_DEVICE_ID_ESSENTIAL_REALITY_P5, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_GENERAL_TOUCH, 0x0001, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_GENERAL_TOUCH, 0x0002, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_GENERAL_TOUCH, 0x0003, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_GENERAL_TOUCH, 0x0004, HID_QUIRK_IGNORE },
 	{ USB_VENDOR_ID_GLAB, USB_DEVICE_ID_4_PHIDGETSERVO_30, HID_QUIRK_IGNORE },
 	{ USB_VENDOR_ID_GLAB, USB_DEVICE_ID_1_PHIDGETSERVO_30, HID_QUIRK_IGNORE },
 	{ USB_VENDOR_ID_GLAB, USB_DEVICE_ID_0_0_4_IF_KIT, HID_QUIRK_IGNORE },

  parent reply	other threads:[~2007-10-11 12:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-08 10:05 GeneralTouch USB Touchscreen Support if
2007-10-08 13:23 ` Dmitry Torokhov
2007-10-08 14:36   ` Jiri Kosina
2007-10-08 18:04     ` if
2007-10-11 12:02     ` Dmitry Torokhov [this message]
2007-10-11 12:05       ` Jiri Kosina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200710110802.01953.dmitry.torokhov@gmail.com \
    --to=dmitry.torokhov@gmail.com \
    --cc=jikos@jikos.cz \
    --cc=linux-input@atrey.karlin.mff.cuni.cz \
    --cc=zeylienospam@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).