Re: [RFC RESEND 5/5] Input: evdev - add new EVIOCGABSRANGE ioctl

2014-08-10 Thread Peter Hutterer
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,

Re: [RFC RESEND 5/5] Input: evdev - add new EVIOCGABSRANGE ioctl

2014-08-10 Thread Peter Hutterer
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

Re: [Question: Drivers/input/evdev.c] What is the use of write function in evdev_fops?

2014-08-17 Thread Peter Hutterer
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

Re: [PATCH 1/2] input: Add INPUT_PROP_POINTING_STICK property

2014-09-02 Thread Peter Hutterer
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|

Re: [PATCH 2/2] input/mouse: Add missing POINTER / DIRECT properties to a bunch of drivers

2014-09-02 Thread Peter Hutterer
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

Re: [PATCH 0/2] input: Add INPUT_PROP_POINTING_STICK property

2014-09-02 Thread Peter Hutterer
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

Re: How to indicate hover touch when exact distance unknown?

2014-09-23 Thread Peter Hutterer
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

Re: [PATCH v2] input: fix BTN_TOUCH reporting in input_mt_report_pointer_emulation

2014-10-28 Thread Peter Hutterer
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

Re: [PATCH] Input: synaptics - add support for ForcePads

2014-10-29 Thread Peter Hutterer
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

Re: PROBLEM: [HP Stream Notebook - 11-d010nr] clickpad malfunctions after performing a hardware click

2014-12-08 Thread Peter Hutterer
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

Re: PROBLEM: [HP Stream Notebook - 11-d010nr] clickpad malfunctions after performing a hardware click

2014-12-16 Thread Peter Hutterer
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

Re: [PATCH 1/2] input: synaptics - make image sensors report ABS_MT_TOUCH_MAJOR

2015-01-06 Thread Peter Hutterer
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

Re: [PATCH 1/2] input: synaptics - make image sensors report ABS_MT_TOUCH_MAJOR

2015-01-06 Thread Peter Hutterer
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

[PATCH] Input: synaptics - adjust min/max for Lenovo ThinkPad X1 Carbon 2nd

2015-01-19 Thread Peter Hutterer
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

Re: [PATCH] MAINTAINERS: Update rydberg's addresses

2015-01-20 Thread Peter Hutterer
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

Fixing touch point jumps in the kernel (was Re: [PATCH] MAINTAINERS: Update rydberg's addresses)

2015-01-21 Thread Peter Hutterer
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

Re: [PATCH] Input: MT - Add support for balanced slot assignment

2015-01-22 Thread Peter Hutterer
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

Re: [PATCH 0/2] input/serio: Add a firmware_id sysfs attribute

2014-03-23 Thread Peter Hutterer
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

Re: [PATCH] Input: evdev - add event-mask API

2014-04-21 Thread Peter Hutterer
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

Re: [PATCH] evdev: flush ABS_* events during EVIOCGABS

2014-04-21 Thread Peter Hutterer
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 > --- >

Re: [PATCH] input: add support for ALPS v7 protocol device

2014-04-21 Thread Peter Hutterer
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

Re: [PATCH] input: add support for ALPS v7 protocol device

2014-04-21 Thread Peter Hutterer
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

Re: [PATCH] evdev: flush ABS_* events during EVIOCGABS

2014-04-22 Thread Peter Hutterer
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

Re: [PATCH] evdev: flush ABS_* events during EVIOCGABS

2014-04-22 Thread Peter Hutterer
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

Re: [PATCH] evdev: flush ABS_* events during EVIOCGABS

2014-04-22 Thread Peter Hutterer
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

Re: [PATCH] evdev: flush ABS_* events during EVIOCGABS

2014-04-23 Thread Peter Hutterer
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: > >

Re: [PATCH] Input: evdev - get rid of old workaround for EVIOCGBIT

2014-04-23 Thread Peter Hutterer
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

Re: [PATCH v2] Input: evdev - add event-mask API

2014-06-17 Thread Peter Hutterer
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

Re: [RFC] Input: uinput - add new UINPUT_DEV_SETUP ioctl

2014-06-19 Thread Peter Hutterer
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

Re: [PATCH] Input: uinput - uinput_validate_absbits() cleanup

2014-06-19 Thread Peter Hutterer
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 &

Re: [PATCH v2 2/2] Input: uinput - add new UINPUT_DEV_SETUP ioctl

2014-06-22 Thread Peter Hutterer
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

[PATCH] Input: document INPUT_PROP_TOPBUTTONPAD

2014-07-21 Thread Peter Hutterer
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

Re: [PATCH v2] input: Add support for Wacom protocol 4 serial tablets

2014-07-21 Thread Peter Hutterer
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

Re: [RFC RESEND 5/5] Input: evdev - add new EVIOCGABSRANGE ioctl

2014-08-05 Thread Peter Hutterer
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

Re: [RFC] input: mt: Support for touch cancel

2013-03-11 Thread Peter Hutterer
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

Re: [RFC] input: mt: Support for touch cancel

2013-03-12 Thread Peter Hutterer
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

Re: [RFC] input: mt: Support for touch cancel

2013-03-13 Thread Peter Hutterer
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: > &

Re: [PATCH v3] Input: evdev - Flush queues during EVIOCGKEY-like ioctls

2013-04-03 Thread Peter Hutterer
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

[PATCH] doc: specify that ABS_MT_SLOT must have a minimum of 0

2013-05-31 Thread Peter Hutterer
. 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/

Re: RFC: making the aiptek.c tablet driver xf86-input-wacom compatible

2013-06-27 Thread Peter Hutterer
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

[ANNOUNCE] libevdev 0.2

2013-07-22 Thread Peter Hutterer
[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

Re: [PATCH v2 2/2] input/uinput: add UI_GET_SYSPATH ioctl to retrieve the sysfs path

2013-07-22 Thread Peter Hutterer
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

Re: [PATCH] Input: add SYN_MAX and SYN_CNT constants

2013-08-28 Thread Peter Hutterer
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

Re: [PATCH 1/3 v2] Input: wacom - Support EMR and MFT sensors of Cintiq Companion Hybrid

2013-08-28 Thread Peter Hutterer
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

Re: [PATCH] input - input.h: Add a new switch event

2013-10-03 Thread Peter Hutterer
*/ > #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

Re: [RFC] Input: introduce ABS_MAX2/CNT2 and friends

2013-10-03 Thread Peter Hutterer
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

Re: [RFC] Input: introduce ABS_MAX2/CNT2 and friends

2013-10-06 Thread Peter Hutterer
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 > > >

Re: [RFC] Input: introduce ABS_MAX2/CNT2 and friends

2013-10-06 Thread Peter Hutterer
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

Re: [PATCH v2 2/2] Input: wacom - add support for three new Intuos devices

2013-10-13 Thread Peter Hutterer
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

Re: [PATCH v2 2/2] Input: wacom - add support for three new Intuos devices

2013-11-11 Thread Peter Hutterer
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

Re: [PATCH 1/2] elantech: Properly differentiate between clickpads and normal touchpads

2013-12-10 Thread Peter Hutterer
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

Re: [PATCH 1/4] Input: uinput: add full absinfo support

2013-12-18 Thread Peter Hutterer
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

Re: [PATCH 2/4] Input: introduce ABS_MAX2/CNT2 and friends

2013-12-18 Thread Peter Hutterer
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

Re: [PATCH 2/4] Input: introduce ABS_MAX2/CNT2 and friends

2013-12-18 Thread Peter Hutterer
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

Re: [PATCH 2/4] Input: introduce ABS_MAX2/CNT2 and friends

2013-12-18 Thread Peter Hutterer
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: > >

Re: [PATCH v3] input/uinput: add UI_GET_SYSNAME ioctl to retrieve the sysfs path

2014-01-20 Thread Peter Hutterer
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

Re: [PATCH v3] input/uinput: add UI_GET_SYSNAME ioctl to retrieve the sysfs path

2014-01-20 Thread Peter Hutterer
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,

Re: [PATCH] HID: wacom: add full support of the Wacom Bamboo PAD

2015-02-17 Thread Peter Hutterer
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

Re: [PATCH 0/2] HID: huion: add libinput support

2015-02-19 Thread Peter Hutterer
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

Re: [PATCH 0/2] HID: huion: add libinput support

2015-02-22 Thread Peter Hutterer
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

Re: [PATCH 0/2] HID: huion: add libinput support

2015-02-24 Thread Peter Hutterer
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

Re: 3.19: Thinkpad T440s clickpad always gives button3

2015-03-09 Thread Peter Hutterer
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

Re: [PATCH] Input: Add MT_TOOL_PALM

2015-03-19 Thread Peter Hutterer
> 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

Re: Logitech T650 is unusable since 3.19.0

2015-03-23 Thread Peter Hutterer
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

Re: [PATCH 3/3] Add support for Cintiq 27QHD and 27QHD touch

2015-03-25 Thread Peter Hutterer
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

[PATCH] Documentation: input - define INPUT_PROP_ACCELEROMETER behavior

2015-03-26 Thread Peter Hutterer
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

Re: Unusual Focaltech driver behavior

2015-04-20 Thread Peter Hutterer
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

Re: [PATCH] Input :Added Check for EV_ABS event params

2015-04-21 Thread Peter Hutterer
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

Re: [PATCH v2] Input - mt: Fix input_mt_get_slot_by_key

2015-04-23 Thread Peter Hutterer
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

Re: [PATCH v2] Input - mt: Fix input_mt_get_slot_by_key

2015-04-26 Thread Peter Hutterer
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

[PATCH] Input: synaptics - add min/max quirk for Lenovo S540

2015-05-27 Thread Peter Hutterer
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

[PATCH] Input - elantech: force a resolution of 31 u/mm

2015-07-09 Thread Peter Hutterer
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

[PATCH 3/5] Input: wacom_w8001 - handle touch error case correctly

2015-11-29 Thread Peter Hutterer
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

[PATCH 2/5] Input: wacom_w8001 - set BTN_TOOL_DOUBLETAP if we have 2fg support

2015-11-29 Thread Peter Hutterer
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

[PATCH 4/5] Input: wacom_w8001 - split pen and touch initialization up

2015-11-29 Thread Peter Hutterer
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

[PATCH 1/5] Input: wacom_w8001 - use __set_bit for evbits

2015-11-29 Thread Peter Hutterer
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

[PATCH 5/5] Input: wacom_w8001 - split the touch and pen devices into two devices

2015-11-29 Thread Peter Hutterer
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

[PATCH v2 3/5] Input: wacom_w8001 - handle touch error case correctly

2015-12-02 Thread Peter Hutterer
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

[PATCH v2 5/5] Input: wacom_w8001 - split the touch and pen devices into two devices

2015-12-02 Thread Peter Hutterer
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

[PATCH v2 4/5] Input: wacom_w8001 - split pen and touch initialization up

2015-12-02 Thread Peter Hutterer
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

Re: [PATCH] Input: evdev - drop partial events after emptying the buffer

2016-01-03 Thread Peter Hutterer
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