On Sun, Aug 10, 2014 at 05:21:47PM +0200, David Herrmann wrote:
> Hi
>
> On Fri, Aug 8, 2014 at 7:47 PM, Dmitry Torokhov
> wrote:
> > On Fri, Aug 08, 2014 at 03:26:56PM +0200, David Herrmann wrote:
> >> Hi
> >>
> >> On Wed, Aug 6,
On Sun, Aug 10, 2014 at 05:01:35PM -0700, Dmitry Torokhov wrote:
[...]
> > >
> > >is about handling corner-cases. If we make SYN_DROPPED
> > >handling cause SYN_DROPPED, we can just ignore it.
> >
> > yep, that too was my first thought. with a plain resync ioctl you're pretty
> > much guar
On Fri, Aug 15, 2014 at 02:01:48AM +0530, Aniroop Mathur wrote:
[...]
> >> >>
> >> >>2 separate file descriptors like below ?
> >> >>int fd1 = open("/dev/uinput", O_RDWR);
> >> >>int fd2 = open("/dev/uinput", O_RDWR);
> >> >>
> >> >>But my reading data will still come in struct input_event as menti
drivers.
>
> Signed-off-by: Hans de Goede
Acked-by: Peter Hutterer
Cheers,
Peter
> ---
> drivers/input/mouse/alps.c | 3 +++
> drivers/input/mouse/elantech.c | 3 +++
> drivers/input/mouse/synaptics_usb.c | 1 +
> drivers/input/mouse/trackpoint.c|
On Tue, Sep 02, 2014 at 10:38:34AM -0400, Benjamin Tissoires wrote:
> On Sep 02 2014 or thereabouts, Hans de Goede wrote:
> > I've not done a full audit of all mouse drivers, I noticed these ones were
> > missing the POINTER property while working on the POINTING_STICK property.
>
> I am not sure
On Tue, Sep 02, 2014 at 04:50:53PM +0200, David Herrmann wrote:
> Hi
>
> On Tue, Sep 2, 2014 at 4:40 PM, Hans de Goede wrote:
> > On 09/02/2014 02:55 PM, David Herrmann wrote:
> >> Hi
> >>
> >> On Tue, Sep 2, 2014 at 2:43 PM, Hans de Goede wrote:
> >>> Hi,
> >>>
> >>> It is useful for userspace
On Tue, Sep 23, 2014 at 09:28:11AM -0700, Dmitry Torokhov wrote:
> Hi Benjamin,
>
> On Tue, Sep 23, 2014 at 10:59:16AM -0400, Benjamin Tissoires wrote:
> > Hi Andrew,
> >
> > On Sep 23 2014 or thereabouts, Andrew de los Reyes wrote:
> > > Hi folks,
> > >
> > > More and more we're seeing touch in
On Tue, Oct 28, 2014 at 02:07:06PM -0700, Dmitry Torokhov wrote:
> On Tue, Oct 28, 2014 at 04:47:56PM -0400, Benjamin Tissoires wrote:
> > Hi Chung-yih,
> >
> > On Mon, Oct 27, 2014 at 6:08 AM, Chung-yih Wang wrote:
> > > From the definition of BTN_TOUCH, BTN_TOOL_ and BTN_TOUCH codes
> > > are
On Tue, Sep 09, 2014 at 03:57:25PM -0700, Dmitry Torokhov wrote:
> From: Dmitry Torokhov
>
> ForcePads are found on HP EliteBook 1040 laptops. They lack any kind of
> physical buttons, instead they generate primary button click when user
> presses somewhat hard on the surface of the touchpad. Unf
On Mon, Dec 08, 2014 at 02:16:48PM -0500, Amordea Whiteoak wrote:
> While I have the ears of the touchpad gods, there is one more tiny
> issue I'd like to report. This may be simply a configuration issue,
> but I would not know how to fix it.
>
> The window for double-tapping (tapping the touchpad
On Mon, Dec 15, 2014 at 03:05:04PM -0500, Amordea Whiteoak wrote:
> > Strictly speaking, there is no right click button on clickpads. We
> > emulate one with the software buttons in Xorg.
> > IIRC, there were some "workarounds" in your original bugs which
> > consist in disabling the software butto
On Mon, Jan 05, 2015 at 02:24:30PM -0500, Benjamin Tissoires wrote:
> Hi Gabriele,
>
> [Adding Peter and Hans as this change will impact both
> xf86-input-synaptics and libinput]
>
> On Sat, Dec 27, 2014 at 6:31 AM, Gabriele Mazzotta
> wrote:
> > Despite claiming to be able to report ABS_TOOL_WI
On Mon, Jan 05, 2015 at 05:04:55PM -0500, Benjamin Tissoires wrote:
> On Mon, Jan 5, 2015 at 5:00 PM, Gabriele Mazzotta
> wrote:
> > On Monday 05 January 2015 14:24:30 Benjamin Tissoires wrote:
> >> Hi Gabriele,
> >>
> >> [Adding Peter and Hans as this change will impact both
> >> xf86-input-synap
LEN0037 found in the Lenovo ThinkPad X1 Carbon 2nd (2014 model)
Cc: sta...@vger.kernel.org
Reported-and-tested-by: Bjoern Olausson
Signed-off-by: Peter Hutterer
---
drivers/input/mouse/synaptics.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/input/mouse
On Tue, Jan 20, 2015 at 11:26:20PM +0100, Henrik Rydberg wrote:
> Hi Benjamin,
>
> > Henrik, I just used the get_maintainer to add you on CC to an input-mt
> > patch series, and it ended up using the @euromail.se instead of your
> > still valid one. I can resend to you the patch series if you want
changed the subject so it'll be easier to find in the archives.
On Wed, Jan 21, 2015 at 08:38:46PM +0100, Henrik Rydberg wrote:
> Hi Benjamin,
>
> > - there is a fragmentation problem: we would have to fix the bug in
> > xorg-synaptics (which is slowly waiting for its death), libinput,
> > Chrome
On Thu, Jan 22, 2015 at 09:24:01PM +0100, Henrik Rydberg wrote:
> Hi Dmitry,
>
> On 01/22/2015 09:02 PM, Dmitry Torokhov wrote:
> > On Thu, Jan 22, 2015 at 08:52:25PM +0100, Henrik Rydberg wrote:
> >> int input_mt_assign_slots(struct input_dev *dev, int *slots,
> >> -const str
On 21/03/14 03:21, Matthew Garrett wrote:
On Thu, Mar 20, 2014 at 11:12:08AM +0100, Hans de Goede wrote:
Which in the end turns out to be much nicer too, since it gets rid of needing
a udev-helper too. After this much too long introduction I'll let the patches
speak for themselves.
Yeah, I wa
evel filter.
>
> We are heavily forward-compatible to new event-types and event-codes. So
> new user-space will be able to run on an old kernel which doesn't know the
> given event-codes or event event-types.
Looks good in principle, a couple of nitpicks below but on the whole
ues to change fast enough that flushing the queue seems irrelevant. But
> as it turns out, the ABS SLOT events suffer from the same issues. Hence,
> also flush the input queue from ABS values on EVIOCGABS.
>
> Reported-by: Peter Hutterer
> Signed-off-by: David Herrmann
> ---
>
On Mon, Apr 21, 2014 at 10:26:04PM -0700, Dmitry Torokhov wrote:
> Hi Qiting,
>
> On Wed, Mar 19, 2014 at 04:55:53PM +0800, Qiting Chen wrote:
> > Here is a patch of supporting ALPS v7 protocol device.
> > ALPS v7 protocol device is a clickpad that is currently used on
> > Lenovo S430/S435/S530, L
t the xorg driver
hasn't been up to scratch in many regards, but much of that was for lack of
developer time. Hans has recently improved the behaviour quite a bit. For
the future, it's probably easier (or better) to fix up the xorg driver to
get rid of the specific problems you
On Tue, Apr 22, 2014 at 08:21:54AM +0200, David Herrmann wrote:
> Hi Peter
>
> On Tue, Apr 22, 2014 at 6:15 AM, Peter Hutterer
> wrote:
> > How are you planning to handle the slot-based events? We'd either need to
> > add something similar (but more complex) to ev
On Wed, Apr 23, 2014 at 10:21:03AM +1000, Peter Hutterer wrote:
> On Tue, Apr 22, 2014 at 08:21:54AM +0200, David Herrmann wrote:
> > Hi Peter
> >
> > On Tue, Apr 22, 2014 at 6:15 AM, Peter Hutterer
> > wrote:
> > > How are you planning to handle the sl
On Tue, Apr 22, 2014 at 10:46:47PM -0700, Dmitry Torokhov wrote:
> On Wed, Apr 23, 2014 at 03:38:49PM +1000, Peter Hutterer wrote:
> > On Wed, Apr 23, 2014 at 10:21:03AM +1000, Peter Hutterer wrote:
> > > On Tue, Apr 22, 2014 at 08:21:54AM +0200, David Herrmann wrote
On Tue, Apr 22, 2014 at 11:07:47PM -0700, Dmitry Torokhov wrote:
> On Wed, Apr 23, 2014 at 03:55:28PM +1000, Peter Hutterer wrote:
> > On Tue, Apr 22, 2014 at 10:46:47PM -0700, Dmitry Torokhov wrote:
> > > On Wed, Apr 23, 2014 at 03:38:49PM +1000, Peter Hutterer wrote:
> >
works for me, Reviewed-by: Peter Hutterer
Cheers,
Peter
> ---
> drivers/input/evdev.c | 18 --
> 1 file changed, 18 deletions(-)
>
> diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c
> index ce953d8..fd325ec 100644
> --- a/drivers/input/e
or if the receive buffer is larger than the number of event-codes known to
the kernel, the kernel returns all zeroes for those codes.
At maximum, codes_size bytes are copied.
This ioctl may fail with ENODEV in case the file is revoked, EFAULT
if the receive-buffer points to invalid memory, or EI
On Thu, Jun 19, 2014 at 03:11:55PM +0200, David Herrmann wrote:
> This adds a new ioctl UINPUT_DEV_SETUP that replaces the old device setup
> method (by write()'ing "struct uinput_user_dev" to the node). The old
> method is not easily extendable and requires huge payloads. Furthermore,
> overloadin
d-off-by: David Herrmann
Reviewed-by: Peter Hutterer
Cheers,
Peter
> ---
> drivers/input/misc/uinput.c | 40 +---
> 1 file changed, 21 insertions(+), 19 deletions(-)
>
> diff --git a/drivers/input/misc/uinput.c b/drivers/input/misc/uinput.c
&
b/include/uapi/linux/uinput.h
> @@ -20,6 +20,8 @@
> * Author: Aristeu Sergio Rozanski Filho
> *
> * Changes/Revisions:
> + * 5 06/20/2014 (David Herrmann
> + * - add UI_DEV_SETUP ioctl
> * 0.4 01/09/2014 (Benjamin Tissoires )
> * - add
Signed-off-by: Peter Hutterer
---
Documentation/input/event-codes.txt | 13 +
1 file changed, 13 insertions(+)
diff --git a/Documentation/input/event-codes.txt
b/Documentation/input/event-codes.txt
index f82ba9c..7ff7bf4 100644
--- a/Documentation/input/event-codes.txt
+++ b
On Sun, Jul 20, 2014 at 04:46:23PM +0200, Hans de Goede wrote:
> Recent version of xf86-input-wacom no longer support directly accessing
> serial tablets. Instead xf86-input-wacom now expects all wacom tablets to
> be driven by the kernel and to show up as evdev devices.
just for the archives: xf8
sorry for the late comments, not sure how that slipped through but it hadn't
shown up in my inbox unil Benjamin poked me.
On Sat, Jul 19, 2014 at 03:10:45PM +0200, David Herrmann wrote:
> When we introduced the slotted MT ABS extensions, we didn't take care to
> make SYN_DROPPED recoverable. Imagi
On Mon, Mar 11, 2013 at 04:34:27PM -0400, Yufeng Shen wrote:
> I have ran into cases where I want to make a touch end event to have a
> touch cancel indication.
>
> This comes from trying to solve the problem of :
>
> If the touch sequence happens before the system suspends, and the touch
> relea
On Tue, Mar 12, 2013 at 02:10:26PM -0400, Yufeng Shen wrote:
> On Mon, Mar 11, 2013 at 9:36 PM, Peter Hutterer
> wrote:
> >
> > On Mon, Mar 11, 2013 at 04:34:27PM -0400, Yufeng Shen wrote:
> > > I have ran into cases where I want to make a touch end event to have a
&g
On Wed, Mar 13, 2013 at 06:44:24PM -0400, Yufeng Shen wrote:
> On Tue, Mar 12, 2013 at 8:54 PM, Peter Hutterer
> wrote:
>
> > On Tue, Mar 12, 2013 at 02:10:26PM -0400, Yufeng Shen wrote:
> > > On Mon, Mar 11, 2013 at 9:36 PM, Peter Hutterer
> > > wrote:
> &
too long
> while flushing a single event queue.
>
> Signed-off-by: David Herrmann
Sounds sensible.
Acked-by: Peter Hutterer
Cheers,
Peter
> ---
> Hi Dmitry
>
> I hope this time everything is right. I tested this on my local machine with
> uinput. You can find the se
.
Signed-off-by: Peter Hutterer
---
I admit that sentence looks a bit lost there, if you want to move this
elsewhere to have more exposure I'm happy to do so once I figure out where.
Documentation/input/multi-touch-protocol.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/
On Wed, Jun 26, 2013 at 10:17:30AM +0200, Benjamin Tissoires wrote:
> Hi Stephan,
>
> On Wed, Jun 26, 2013 at 12:02 AM, Stefan Brüns
> wrote:
> > Hi everyone,
> >
> > I have started to modify the aiptek tablet driver to be compatible with the
> > xf86-input-wacom driver.
> >
> > Motivation:
> > F
[Note: bcc'd linux-input, wayland-devel and xorg-devel since those are the
expected interested parties. Apologies if you get this email multiple times,
I won't do this in the future. Future announcements will only go to
input-to...@lists.freedesktop.org]
This is the first release for libevdev, a C
devices. Having a way
> to retrieve the sysfs path allows us to find the event node without
> having to rely on this heuristic.
>
> [1] http://www.freedesktop.org/wiki/Evemu/
>
> Signed-off-by: Benjamin Tissoires
Tested-by: Peter Hutterer
I'd really appreciate a com
0xf
> +#define SYN_CNT (SYN_MAX+1)
>
> /*
> * Keys and buttons
> --
> 1.8.4
yes please!
Acked-by: Peter Hutterer
Cheers,
Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the bo
On Mon, Aug 26, 2013 at 10:13:30AM -0700, Jason Gerecke wrote:
> Adds support for the sensors integrated in to the Cintiq Companion
> Hybrid. These sensors use by-and-large the same protocol as the
> Cintiq 24HD touch.
>
> NOTE: The ExpressKeys on the Cintiq Companion Hybrid are wired to
> both th
*/
> #define SW_LINEIN_INSERT 0x0d /* set = inserted */
> +#define SW_TOUCH_ENABLED 0x0e /* set = touch switch turned on (touch
> events off) */
> #define SW_MAX 0x0f
> #define SW_CNT (SW_MAX+1)
>
> --
> 1.8.1.2
A
On Thu, Oct 03, 2013 at 12:10:36AM +0200, David Herrmann wrote:
> As we painfully noticed during the 3.12 merge-window our
> EVIOCGABS/EVIOCSABS API is limited to ABS_MAX<=0x3f. We tried several
> hacks to work around it but if we ever decide to increase ABS_MAX, the
> EVIOCSABS ioctl ABI might ove
On Sun, Oct 06, 2013 at 12:47:00AM -0700, Dmitry Torokhov wrote:
> On Fri, Oct 04, 2013 at 09:32:23AM +1000, Peter Hutterer wrote:
> > On Thu, Oct 03, 2013 at 12:10:36AM +0200, David Herrmann wrote:
> > > As we painfully noticed during the 3.12 merge-window our
> > >
On Sun, Oct 06, 2013 at 05:04:36PM -0700, Dmitry Torokhov wrote:
> Peter Hutterer wrote:
> >On Sun, Oct 06, 2013 at 12:47:00AM -0700, Dmitry Torokhov wrote:
> >> On Fri, Oct 04, 2013 at 09:32:23AM +1000, Peter Hutterer wrote:
> >> > On Thu, Oct 03, 2013 at 12:10:36
s that do
> not support touch interface.
>
> Tested-by: Jason Gerecke
> Signed-off-by: Ping Cheng
> ---
> v2: Change SW_TOUCH_ENABLED to SW_TOUCH and clear BTN_TOUCH bit
> for button only interfaces as suggested by Peter Hutterer.
> ---
> drivers/input/tablet/wacom_s
t; not report the SW_TOUCH.
definitely agree here.
I still don't think that changing the INTUOS naming convention to use
underscores is a good idea given that in a year's time no-one will care that
some intuos used to be bamboos but we'll be stuck with the mismatched naming
scheme for a whi
On Mon, Dec 09, 2013 at 02:21:19PM -0500, Benjamin Tissoires wrote:
> On Mon, Dec 9, 2013 at 2:14 PM, Hans de Goede wrote:
> > Hi,
> >
> >
> > On 12/09/2013 07:02 PM, Benjamin Tissoires wrote:
> >>
> >> Hi Hans,
> >>
> >> adding in CC Duson, who seems to be working on the same driver
> >> currentl
count <= sizeof(struct uinput_user_dev))
> + return -EINVAL;
> +
> + /* rough check to avoid huge kernel space allocations */
> + max = ABS_CNT * sizeof(*user_dev2->abs) + sizeof(*user_dev2);
> + if (count > max)
> + return -EINVAL
On Tue, Dec 17, 2013 at 04:48:52PM +0100, David Herrmann wrote:
> As we painfully noticed during the 3.12 merge-window our
> EVIOCGABS/EVIOCSABS API is limited to ABS_MAX<=0x3f. We tried several
> hacks to work around it but if we ever decide to increase ABS_MAX, the
> EVIOCSABS ioctl ABI might ove
On Wed, Dec 18, 2013 at 03:48:37PM -0800, Dmitry Torokhov wrote:
> On Thursday, December 19, 2013 09:40:09 AM Peter Hutterer wrote:
> > > + memset(&abs, 0, sizeof(abs));
> > > + for (i = valid_cnt; i < cnt; ++i)
> > > + if (copy_to_u
On Wed, Dec 18, 2013 at 04:05:37PM -0800, Dmitry Torokhov wrote:
> On Thu, Dec 19, 2013 at 09:55:04AM +1000, Peter Hutterer wrote:
> > On Wed, Dec 18, 2013 at 03:48:37PM -0800, Dmitry Torokhov wrote:
> > > On Thursday, December 19, 2013 09:40:09 AM Peter Hutterer wrote:
> >
On Mon, Jan 20, 2014 at 01:53:13PM -0800, Dmitry Torokhov wrote:
> Hi Benjamin,
>
> On Fri, Jan 17, 2014 at 02:12:51PM -0500, Benjamin Tissoires wrote:
> > Evemu [1] uses uinput to replay devices traces it has recorded. However,
> > the way evemu uses uinput is slightly different from how uinput i
On Mon, Jan 20, 2014 at 05:17:08PM -0500, Benjamin Tissoires wrote:
> On Mon, Jan 20, 2014 at 4:53 PM, Dmitry Torokhov
> wrote:
> > Hi Benjamin,
> >
> > On Fri, Jan 17, 2014 at 02:12:51PM -0500, Benjamin Tissoires wrote:
> >> Evemu [1] uses uinput to replay devices traces it has recorded. However,
On Tue, Feb 17, 2015 at 02:27:13PM -0500, Benjamin Tissoires wrote:
> The stylus of this device works just fine out of the box.
> The touch is seen by default as a mouse with relative events and some
> gestures.
> Switching the default in raw mode allows us to retrieve the touch data
> and have a c
On Thu, Feb 19, 2015 at 01:54:17PM +0200, Nikolai Kondrashov wrote:
[...]
> >>>Last, I think we could add these tablets in the libwacom project, so that
> >>>there
> >>>will be a nice GUI to configure the buttons.
> >>
> >>That would be a very welcome change, without doubt, thank you.
> >>
> >>How
On Sun, Feb 22, 2015 at 02:33:53PM +0200, Nikolai Kondrashov wrote:
> On 02/20/2015 07:34 AM, Peter Hutterer wrote:
> >On Thu, Feb 19, 2015 at 01:54:17PM +0200, Nikolai Kondrashov wrote:
> >[...]
> >>>>>Last, I think we could add these tablets in the libwac
On Tue, Feb 24, 2015 at 01:22:37PM +0200, Nikolai Kondrashov wrote:
> On 02/24/2015 12:34 AM, Benjamin Tissoires wrote:
> >On Feb 23 2015 or thereabouts, Peter Hutterer wrote:
> >>yeah, but the thing is: those emails are only necessary _once_ per tablet.
> >>if they
On Mon, Mar 09, 2015 at 05:34:58PM -0700, Andy Isaacson wrote:
> I recently upgraded from 3.15.10 to 3.19.0 (I skipped a bunch of
> versions due to some GPU issues which I finally resolved). In the
> upgrade, the touchpad stopped delivering button1 and now always delivers
> button3 events on click
> driver. As such, the firmware can characterize what a palm looks like
> in much finer-grained detail and this change would allow such a
> device to share its findings with the kernel.
>
> Signed-off-by: Charlie Mooney
Acked-by: Peter Hutterer
Cheers,
Peter
> ---
> Docu
On Mon, Mar 23, 2015 at 10:59:24AM -0400, Benjamin Tissoires wrote:
> Hi,
>
> On Mon, Mar 23, 2015 at 5:09 AM, Borislav Petkov wrote:
> > CC people.
> >
> > On Mon, Mar 23, 2015 at 11:21:02AM +0300, Лежанкин Иван wrote:
> >> Hi,
> >>
> >> after update from 3.18.7 to 3.19.x my Logitech touchpad be
On Tue, Jan 27, 2015 at 01:30:03PM -0800, Ping Cheng wrote:
> These devices have accelerometers. To report accelerometer coordinates,
> a new property, INPUT_PROP_ACCELEROMETER, is added.
>
> Signed-off-by: Ping Cheng
> ---
[...]
> diff --git a/include/uapi/linux/input.h b/include/uapi/linux/in
same device node.
Signed-off-by: Peter Hutterer
---
I think this is the most sensible definition of what to expect when this
property is set on a device.
Documentation/input/event-codes.txt | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/input/event-codes.txt
b
On Fri, Apr 17, 2015 at 06:54:13PM +0300, Dmitry Tunin wrote:
>
>
> 17.04.2015 18:43, Benjamin Tissoires пишет:
> > On Fri, Apr 17, 2015 at 10:56 AM, Dmitry Tunin
> > wrote:
> >>
> >>
> >> 17.04.2015 17:49, Dmitry Tunin пишет:
> >>> 17.04.2015 16:57, Benjamin Tissoires пишет:
> On Fri, Apr
On Tue, Apr 21, 2015 at 11:29:16AM -0700, Dmitry Torokhov wrote:
> Hi Anshul,
>
> On Tue, Apr 21, 2015 at 11:19:52AM -0700, Anshul Garg wrote:
> > From: Anshul Garg
> >
> > while handling EV_ABS event in input_handle_abs_event
> > function added check for out of range event value from
> > input
On Thu, Apr 23, 2015 at 11:47:09AM -0700, Dmitry Torokhov wrote:
> On Thu, Apr 23, 2015 at 02:38:27PM -0400, Benjamin Tissoires wrote:
> > On Apr 23 2015 or thereabouts, Dmitry Torokhov wrote:
> > > On Thu, Apr 23, 2015 at 07:10:55PM +0200, Henrik Rydberg wrote:
> > > > > "Creation, replacement and
On Fri, Apr 24, 2015 at 08:26:39AM +0200, Henrik Rydberg wrote:
> Peter,
>
> It may be a long time ago now, but we had very vocal discussions regarding the
> MT protocol back then, and I am quite sure all the subtleties are well
> understood. In order to fully appreciate the simplicity of the prot
https://bugzilla.redhat.com/show_bug.cgi?id=1223051#c2
Cc: sta...@vger.kernel.org
Tested-by: tommy.gag...@gmail.com
Signed-off-by: Peter Hutterer
---
drivers/input/mouse/synaptics.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/input/mouse/synaptics.c b
All Elantech touchpads pre-v4 with dynamic resolution queries have a fixed
resolution of 800dpi -> 31.49 units/mm. Set this statically, so userspace does
not have to guess.
Cc: Duson Lin
Signed-off-by: Peter Hutterer
---
drivers/input/mouse/elantech.c | 13 -
1 file changed
If a device failed at the pen setup and gets a zero reply from the touch
device, we need to return an error. Otherwise we have a device with
nothing but a name and the EV_KEY and EV_ABS bits.
Signed-off-by: Peter Hutterer
Acked-by: Benjamin Tissoires
---
drivers/input/touchscreen/wacom_w8001.c
Signed-off-by: Peter Hutterer
Acked-by: Benjamin Tissoires
---
drivers/input/touchscreen/wacom_w8001.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/input/touchscreen/wacom_w8001.c
b/drivers/input/touchscreen/wacom_w8001.c
index d194d57..222006e 100644
--- a/drivers/input
rning 1 as special value here so we can then restore the true error
code on failure.
Signed-off-by: Peter Hutterer
Acked-by: Benjamin Tissoires
---
drivers/input/touchscreen/wacom_w8001.c | 198 ++--
1 file changed, 112 insertions(+), 86 deletions(-)
diff --git a/dri
Signed-off-by: Peter Hutterer
Acked-by: Benjamin Tissoires
---
drivers/input/touchscreen/wacom_w8001.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/input/touchscreen/wacom_w8001.c
b/drivers/input/touchscreen/wacom_w8001.c
index 2792ca3..d194d57 100644
--- a
ppend the
tool type, leading to a name like "Wacom Serial Penabled 2FG Touchscreen
Pen".
Note that this drops BTN_TOOL_FINGER, it is not needed once the tools are
split out (and a touch device with BTN_TOOL_FINGER is interpreted as
touchpad by most of userspace).
Signed-off-by: Peter Hut
If a device failed at the pen setup and gets a zero reply from the touch
device, we need to return an error. Otherwise we have a device with
nothing but a name and the EV_KEY and EV_ABS bits.
Signed-off-by: Peter Hutterer
Acked-by: Benjamin Tissoires
---
Change to v1:
- return -ENXIO if the
ppend the tool type,
leading to a name like "Wacom Serial Penabled 2FG Touchscreen Pen".
Note that this drops BTN_TOOL_FINGER, it is not needed once the tools
are split out (and a touch device with BTN_TOOL_FINGER is interpreted
as touchpad by most of userspace).
Signed-off-by: Peter Hut
rning 1 as special value here so we can then restore the true error
code on failure.
Signed-off-by: Peter Hutterer
Acked-by: Benjamin Tissoires
---
Change to v1:
- return -ENXIO if both pen and touch failed to initialize
- rebased for v2 of 3/5
drivers/input/touchscreen/wacom_w80
On Sat, Jan 02, 2016 at 08:39:21PM -0800, Dmitry Torokhov wrote:
> On Thu, Dec 31, 2015 at 03:36:47AM +0530, Aniroop Mathur wrote:
> > This patch introduces concept to drop partial events in evdev handler
> > itself after emptying the buffer which are dropped by all evdev
> > clients in userspace a
81 matches
Mail list logo