[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 hdego...@redhat.com --- Documentation/input/alps.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/input/alps.txt

[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 andreasfl...@gmail.com Reviewed-by: Benjamin

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 benjamin.tissoi...@gmail.com 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

[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 oneu...@suse.de --- 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 ---

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 should not

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. I think

[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 andreasfl...@gmail.com Reviewed-by: Benjamin

[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 ulf.hans...@linaro.org --- drivers/input/serio/ambakmi.c |

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(+) diff

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 hdego...@redhat.com --- Documentation/input/alps.txt | 5 +++-- 1 file changed, 3 insertions(+), 2

[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

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, I need

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: Ulf

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. Align to

[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

[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 duson...@emc.com.tw --- 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

[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 m...@lxde.org --- drivers/input/joystick/xpad.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-)

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 felipe.otame...@gmail.com wrote: On Mon, Apr 13, 2015 at 11:16 AM Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: On Sun, Apr 12, 2015 at 6:04 PM, Felipe felipe.otame...@gmail.com wrote: Hi Benjamin, On Sat, Apr 11, 2015 at 11:08 AM,

Re: [Patch V2] Driver for Logitech M560

2015-04-14 Thread Antonio Ospite
On Mon, 13 Apr 2015 20:24:05 +0200 Goffredo Baroncelli kreij...@inwind.it 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

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:

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 oneu...@suse.de --- drivers/input/ff-core.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-)