All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chase Douglas <chase.douglas@canonical.com>
To: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Jiri Kosina <jkosina@suse.cz>, Stephane Chatty <chatty@enac.fr>,
	Henrik Rydberg <rydberg@euromail.se>,
	linux-input@vger.kernel.org
Subject: Re: [PATCH 1/2] hid-mosart: ignore buttons report
Date: Mon, 13 Dec 2010 09:51:23 -0800	[thread overview]
Message-ID: <4D065D1B.7060504@canonical.com> (raw)
In-Reply-To: <1292252353-3029-2-git-send-email-benjamin.tissoires@enac.fr>

On 12/13/2010 06:59 AM, Benjamin Tissoires wrote:
> This commit allows the device to be recognized as a touchscreen, and not a
> touchpad by xf86-input-evdev.
> 
> The device has 2 modes. The first one is an emulation of a touchscreen by
> sending left and right button, and the second mode is the one used in
> dual-touch (sending trackingID, touch and else).
> 
> That's why there is a hid report containing left and right buttons
> (9000001 and 9000002). The point is that xorg relies on these fields to
> determine if it's a touchpad or a touchscreen.
> Clearing the report (return -1) makes xorg detecting it out of the box
> as a quite pleasant (dual)touchscreen.
> 
> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>

Acked-by: Chase Douglas <chase.douglas@canonical.com>

Please add "Cc: stable@kernel.org" to the SOB area so this is picked up
for previous kernels too.

Thanks!

-- Chase

  reply	other threads:[~2010-12-13 17:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-13 14:59 [PATCH 0/2] hid-mosart: small patches Benjamin Tissoires
2010-12-13 14:59 ` [PATCH 1/2] hid-mosart: ignore buttons report Benjamin Tissoires
2010-12-13 17:51   ` Chase Douglas [this message]
2010-12-13 18:55   ` Henrik Rydberg
2010-12-13 14:59 ` [PATCH 2/2] hid-mosart: support suspend/resume Benjamin Tissoires
2010-12-13 17:52   ` Chase Douglas
2010-12-13 18:56   ` Henrik Rydberg
2010-12-13 18:52 ` [PATCH 0/2] hid-mosart: small patches Henrik Rydberg
2010-12-14 10:41   ` Jiri Kosina
2010-12-14 21:29     ` Chase Douglas

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=4D065D1B.7060504@canonical.com \
    --to=chase.douglas@canonical.com \
    --cc=benjamin.tissoires@enac.fr \
    --cc=chatty@enac.fr \
    --cc=dmitry.torokhov@gmail.com \
    --cc=jkosina@suse.cz \
    --cc=linux-input@vger.kernel.org \
    --cc=rydberg@euromail.se \
    /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.