[PATCH 5/5] Input: elan_i2c - Correct the x and y trace number.

2015-04-14 Thread DusonLin
The trace number does not need to subtract 1 now. Signed-off-by: Duson Lin --- drivers/input/mouse/elan_i2c_i2c.c |4 ++-- drivers/input/mouse/elan_i2c_smbus.c |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/input/mouse/elan_i2c_i2c.c b/drivers/input/mou

[git pull] Input updates for 4.1-rc0

2015-04-14 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. You will get the following new drivers: Qualcomm PM8941 power key drver, ChipOne icn8318 touchscreen controller driver, Broadcom iProc touchscree

Re: [PATCH v2] xpad: Add rumble support for Xbox One controller

2015-04-14 Thread Dmitry Torokhov
On Wed, Apr 15, 2015 at 05:51:01AM +0800, Ming-ting Yao Wei wrote: > This adds rumble support for Xbox One controller by sending continuous rumble > command. Trigger button rumbling does not yet implemented. > > Signed-off-by: Ming-ting Yao Wei > Applied, thank you. > --- > drivers/input/joy

Re: [PATCH] input: ambakmi: Fix system PM by converting to modern callbacks

2015-04-14 Thread Dmitry Torokhov
On Tue, Apr 14, 2015 at 11:30:29PM +0100, Russell King - ARM Linux wrote: > On Tue, Apr 14, 2015 at 09:22:10AM -0700, Dmitry Torokhov wrote: > > On Tue, Apr 14, 2015 at 12:41:48PM +0200, Ulf Hansson wrote: > > > The legacy system PM support has long time ago been dropped from the > > > AMBA bus. Al

Re: [PATCH] input: ambakmi: Fix system PM by converting to modern callbacks

2015-04-14 Thread Russell King - ARM Linux
On Tue, Apr 14, 2015 at 09:22:10AM -0700, Dmitry Torokhov wrote: > On Tue, Apr 14, 2015 at 12:41:48PM +0200, Ulf Hansson wrote: > > The legacy system PM support has long time ago been dropped from the > > AMBA bus. Align to that by converting to the modern system PM > > callbacks. > > > > Fixes: 2

Re: [Patch V2] Driver for Logitech M560

2015-04-14 Thread Antonio Ospite
On Mon, 13 Apr 2015 20:24:05 +0200 Goffredo Baroncelli wrote: > Hi Benjamin, > > > I accepted near all your suggestions; the one which I leaved out is the > one related to using input_event()/input_sync() instead of rewriting > the hid report. I am not against to it, but... I don't know enough

[PATCH v2] xpad: Add rumble support for Xbox One controller

2015-04-14 Thread Ming-ting Yao Wei
This adds rumble support for Xbox One controller by sending continuous rumble command. Trigger button rumbling does not yet implemented. Signed-off-by: Ming-ting Yao Wei --- drivers/input/joystick/xpad.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/

Re: [PATCH] ff-core: use new debug macros

2015-04-14 Thread Dmitry Torokhov
On Tue, Apr 14, 2015 at 02:06:10PM +0200, Oliver Neukum wrote: > Replace old pr_* with dev_* debugging macros Not so new anymore ;) Applied, thank you. > > Signed-off-by: Oliver Neukum > --- > drivers/input/ff-core.c | 10 -- > 1 file changed, 4 insertions(+), 6 deletions(-) > > diff

Re: [PATCH] Input: Fix multitouch support for Type Cover 3

2015-04-14 Thread Benjamin Tissoires
On Mon, Apr 13, 2015 at 11:47 AM, Felipe wrote: > On Mon, Apr 13, 2015 at 11:16 AM Benjamin Tissoires > wrote: >> >> On Sun, Apr 12, 2015 at 6:04 PM, Felipe wrote: >> > Hi Benjamin, >> > >> > On Sat, Apr 11, 2015 at 11:08 AM, Benjamin Tissoires >> > wrote: >> >> Hi Felipe, >> >> >> >> On Sat, A

Re: [PATCH 2/2] xpad: Kudos to the reverse-engineering work

2015-04-14 Thread Dmitry Torokhov
On Tue, Apr 14, 2015 at 10:19:25AM -0700, Dmitry Torokhov wrote: > Hi Ming-ting, > > On Mon, Apr 13, 2015 at 04:21:35PM +0800, Ming-ting Yao Wei wrote: > > This adds credits to the reverse engineering work. > > I squashed this into the previous patch (1/2) and applied. > > Thank you. Oh, wait,

Re: [PATCH 2/2] xpad: Kudos to the reverse-engineering work

2015-04-14 Thread Dmitry Torokhov
Hi Ming-ting, On Mon, Apr 13, 2015 at 04:21:35PM +0800, Ming-ting Yao Wei wrote: > This adds credits to the reverse engineering work. I squashed this into the previous patch (1/2) and applied. Thank you. > > --- > drivers/input/joystick/xpad.c | 2 ++ > 1 file changed, 2 insertions(+) > > di

Re: [PATCH] input: ambakmi: Fix system PM by converting to modern callbacks

2015-04-14 Thread Dmitry Torokhov
On Tue, Apr 14, 2015 at 12:41:48PM +0200, Ulf Hansson wrote: > The legacy system PM support has long time ago been dropped from the > AMBA bus. Align to that by converting to the modern system PM > callbacks. > > Fixes: 26825cfd90f9 (ARM: 7914/1: amba: Drop legacy PM support ...) > Signed-off-by:

Re: [PATCH] alps: Document separate pointstick button bits for V2 alps devices

2015-04-14 Thread Dmitry Torokhov
On Tue, Apr 14, 2015 at 09:35:47AM +0200, Hans de Goede wrote: > Non interleaved dualpoint v2 devices have separate pointstick button bits, > document this. > > Signed-off-by: Hans de Goede > --- > Documentation/input/alps.txt | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > dif

[PATCH] HID: i2c-hid: Do not fail probing if gpiolib is not enabled

2015-04-14 Thread Mika Westerberg
Using GPIOs and gpiolib is optional. If the kernel is compiled without GPIO support the driver should not fail if it finds the interrupt using normal methods. However, commit a485923efbb8 ("HID: i2c-hid: Add support for ACPI GPIO interrupts") did not take into account that acpi_dev_add_driver_gpio

[PATCH] ff-core: use new debug macros

2015-04-14 Thread Oliver Neukum
Replace old pr_* with dev_* debugging macros Signed-off-by: Oliver Neukum --- drivers/input/ff-core.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/input/ff-core.c b/drivers/input/ff-core.c index f50f6dd..b81c88c 100644 --- a/drivers/input/ff-core.c +++ b

[PATCH] input: ambakmi: Fix system PM by converting to modern callbacks

2015-04-14 Thread Ulf Hansson
The legacy system PM support has long time ago been dropped from the AMBA bus. Align to that by converting to the modern system PM callbacks. Fixes: 26825cfd90f9 (ARM: 7914/1: amba: Drop legacy PM support ...) Signed-off-by: Ulf Hansson --- drivers/input/serio/ambakmi.c | 10 +++--- 1 file c

[PATCH v4] Input: set INPUT_PROP_POINTING_STICK in hid-lenovo

2015-04-14 Thread Andreas Fleig
Set flags INPUT_PROP_POINTER and INPUT_PROP_POINTING_STICK for the trackpoint integrated in Lenovo USB and Bluetooth keyboards. Libinput checks these flags to enable features such as middle-button-scrolling by default. Signed-off-by: Andreas Fleig Reviewed-by: Benjamin Tissoires Cc: Jiri Kos

Re: Hidden dependency of i2c-hid on GPIOLIB

2015-04-14 Thread Gabriele Mazzotta
On Tuesday 14 April 2015 12:59:24 Mika Westerberg wrote: > On Tue, Apr 14, 2015 at 12:55:20AM +0200, Gabriele Mazzotta wrote: > > Hi, > > > > my touchpad stopped working because of a485923efbb8 ("HID: i2c-hid: > > Add support for ACPI GPIO interrupts"). It turned out that I need > > CONFIG_GPIOLIB

Re: Hidden dependency of i2c-hid on GPIOLIB

2015-04-14 Thread Mika Westerberg
On Tue, Apr 14, 2015 at 12:55:20AM +0200, Gabriele Mazzotta wrote: > Hi, > > my touchpad stopped working because of a485923efbb8 ("HID: i2c-hid: > Add support for ACPI GPIO interrupts"). It turned out that I need > CONFIG_GPIOLIB. I think this dependency should be made explicit or the > driver sho

[PATCH v3] Input: set INPUT_PROP_POINTING_STICK in hid-lenovo

2015-04-14 Thread Andreas Fleig
Set flags INPUT_PROP_POINTER and INPUT_PROP_POINTING_STICK for the trackpoint integrated in Lenovo USB and Bluetooth keyboards. Libinput checks these flags to enable features such as middle-button-scrolling by default. Signed-off-by: Andreas Fleig Reviewed-by: Benjamin Tissoires Cc: Jiri Kos

Re: [PATCH v2] Input: set INPUT_PROP_POINTING_STICK in hid-lenovo

2015-04-14 Thread Andreas Fleig
On Mon, Apr 13, 2015 at 7:23 , Benjamin Tissoires wrote: Are we sure that there is no other integrated mouse than the track point? I would not like us to set INPUT_PROP_POINTING_STICK to other input devices that should not have them. If you are not sure, maybe test with the product ID so that

[PATCH] alps: Document separate pointstick button bits for V2 alps devices

2015-04-14 Thread Hans de Goede
Non interleaved dualpoint v2 devices have separate pointstick button bits, document this. Signed-off-by: Hans de Goede --- Documentation/input/alps.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/input/alps.txt b/Documentation/input/alps.txt index 92ae7