From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: poeschel@lemonage.de
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] input: usbtouchscreen: Add new model from IRTOUCHSYSTEMS
Date: Tue, 24 Mar 2015 09:29:14 -0700 [thread overview]
Message-ID: <20150324162914.GC34117@dtor-ws> (raw)
In-Reply-To: <1427200704-20438-1-git-send-email-poeschel@lemonage.de>
On Tue, Mar 24, 2015 at 01:38:24PM +0100, poeschel@lemonage.de wrote:
> From: Lars Poeschel <poeschel@lemonage.de>
>
> This adds support for another model of IRTOUCH SYSTEMS Co.,LtD infrared
> touchscreens. The USB vendorID/deviceID is 6615/0012. It is also sold
> under the label "Elektrosil".
> The datasheet states that coordinates for x and y are in the range from
> 0 to 32767.
>
> Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
Applied, thank you.
> ---
> drivers/input/touchscreen/usbtouchscreen.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/drivers/input/touchscreen/usbtouchscreen.c b/drivers/input/touchscreen/usbtouchscreen.c
> index a096633..f2c6c35 100644
> --- a/drivers/input/touchscreen/usbtouchscreen.c
> +++ b/drivers/input/touchscreen/usbtouchscreen.c
> @@ -132,6 +132,7 @@ enum {
> DEVTYPE_GUNZE,
> DEVTYPE_DMC_TSC10,
> DEVTYPE_IRTOUCH,
> + DEVTYPE_IRTOUCH_HIRES,
> DEVTYPE_IDEALTEK,
> DEVTYPE_GENERAL_TOUCH,
> DEVTYPE_GOTOP,
> @@ -198,6 +199,7 @@ static const struct usb_device_id usbtouch_devices[] = {
> #ifdef CONFIG_TOUCHSCREEN_USB_IRTOUCH
> {USB_DEVICE(0x595a, 0x0001), .driver_info = DEVTYPE_IRTOUCH},
> {USB_DEVICE(0x6615, 0x0001), .driver_info = DEVTYPE_IRTOUCH},
> + {USB_DEVICE(0x6615, 0x0012), .driver_info = DEVTYPE_IRTOUCH_HIRES},
> #endif
>
> #ifdef CONFIG_TOUCHSCREEN_USB_IDEALTEK
> @@ -1177,6 +1179,15 @@ static struct usbtouch_device_info usbtouch_dev_info[] = {
> .rept_size = 8,
> .read_data = irtouch_read_data,
> },
> +
> + [DEVTYPE_IRTOUCH_HIRES] = {
> + .min_xc = 0x0,
> + .max_xc = 0x7fff,
> + .min_yc = 0x0,
> + .max_yc = 0x7fff,
> + .rept_size = 8,
> + .read_data = irtouch_read_data,
> + },
> #endif
>
> #ifdef CONFIG_TOUCHSCREEN_USB_IDEALTEK
> --
> 2.1.4
>
--
Dmitry
prev parent reply other threads:[~2015-03-24 16:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-24 12:38 [PATCH] input: usbtouchscreen: Add new model from IRTOUCHSYSTEMS poeschel
2015-03-24 16:29 ` Dmitry Torokhov [this message]
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=20150324162914.GC34117@dtor-ws \
--to=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=poeschel@lemonage.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.