Re: [PATCH 2/4] Input - synaptics: do not release extra buttons once they are pressed

2015-02-02 Thread Dmitry Torokhov
On Wed, Jan 28, 2015 at 03:10:05PM -0500, Benjamin Tissoires wrote: The current code releases the extra buttons right after they are pressed. As soon as a new serio report comes in, the hw state is reset to 0 and so the buttons are released. Check for the report type before acting on the

[PATCH 5/5] i8042: Add i8042_dt.h glue for DT support

2015-02-02 Thread Roman Volkov
This header file designed to be similar to other glue layers found for i8042. The difference is that interrupt numbers, device address, and other information should be retrieved from the device tree. Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov v1...@v1ros.org ---

[PATCH 2/5] i8042: Kernel configuration handling for DT support

2015-02-02 Thread Roman Volkov
i8042_dt.h should be included when CONFIG_ARCH_MIGHT_HAVE_PC_SERIO and CONFIG_USE_OF are selected. It should be not necessary to create additional options in the kernel config. Signed-off-by: Roman Volkov v1...@v1ros.org --- drivers/input/serio/i8042.h | 3 +++ 1 file changed, 3 insertions(+)

[PATCH 4/5] i8042: Prepare i8042 driver for DT support

2015-02-02 Thread Roman Volkov
Use platform_device_probe() instead of platform_create_bundle() when compiled with DT support, since the latter function is not suitable for handling the OF device tree. The order of initialization is changed, since i8042_platform_init() for DT requires initialized platform_device structure. To

[PATCH 1/5] i8042: intel-8042 DT documentation

2015-02-02 Thread Roman Volkov
Documentation for 'intel,8042' DT compatible node. Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov v1...@v1ros.org --- .../devicetree/bindings/input/intel-8042.txt | 29 ++ 1 file changed, 29 insertions(+) create mode 100644

Re: [PATCH 1/5] i8042: intel-8042 DT documentation

2015-02-02 Thread Roman Volkov
В Tue, 3 Feb 2015 00:48:46 +0300 Roman Volkov v1...@v1ros.org пишет: Documentation for 'intel,8042' DT compatible node. Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov v1...@v1ros.org --- .../devicetree/bindings/input/intel-8042.txt | 29

Re: [PATCH 2/4] Input - synaptics: do not release extra buttons once they are pressed

2015-02-02 Thread Benjamin Tissoires
On Mon, Feb 2, 2015 at 4:46 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Wed, Jan 28, 2015 at 03:10:05PM -0500, Benjamin Tissoires wrote: The current code releases the extra buttons right after they are pressed. As soon as a new serio report comes in, the hw state is reset to 0 and

Re: [PATCH 3/4] Input - synaptics: remove TOPBUTTONPAD property for Lenovos 2015

2015-02-02 Thread Dmitry Torokhov
On Wed, Jan 28, 2015 at 03:10:06PM -0500, Benjamin Tissoires wrote: The 2015 series of the Lenovo thinkpads added back the hardware buttons on top of the touchpad for the trackstick. Unfortunately, they are wired to the touchpad, and not the trackstick. Thus, they are seen as extra buttons

[PATCH 3/5] i8042: Add OF match table

2015-02-02 Thread Roman Volkov
The OF device table allows the platform_driver_probe() function to automatically match device and parse the DT node. Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov v1...@v1ros.org --- drivers/input/serio/i8042.c | 10 ++ 1 file changed, 10 insertions(+) diff

Re: [PATCH 1/4] Input - synaptics: fix middle button on Lenovo 2015 products

2015-02-02 Thread Dmitry Torokhov
On Wed, Jan 28, 2015 at 03:10:04PM -0500, Benjamin Tissoires wrote: On the X1 Carbon 3rd gen (with a 2015 broadwell cpu), the physical middle button of the trackstick (attached to the touchpad serio device, of course) seems to get lost. Actually, the touchpads reports 3 extra buttons, which

RE: input: elantech.c: adding more Fujtisu notebooks to force crc_enabled

2015-02-02 Thread 洪一竹
Dear Rainer: Please help us get the computer records. as below steps: Step1.open terminal. Step2.reboot pc Step3.dmesg elanTouch.txt Step4.send elanTouch.txt to me. **Keeping mount elan Touchpad on PC. Thanks! BR, Sam -Original Message- From: duson [mailto:duson...@emc.com.tw] Sent:

Re: [PATCH 5/6] Input: ALPS - fix trackstick detection on some Dell Latitudes

2015-02-02 Thread Pali Rohár
On Monday 02 February 2015 06:34:08 Dmitry Torokhov wrote: On Sat, Jan 17, 2015 at 11:26:50AM +0100, Pali Rohár wrote: On Wednesday 14 January 2015 23:55:53 Dmitry Torokhov wrote: On some Dell Latitudes we fail to identify presence of trackstick unless we reset the device. The issue is

Re: i2c_hid: Could not register for interrupt, irq = -1 on Thinkpad Tablet 10

2015-02-02 Thread Mika Westerberg
On Mon, Feb 02, 2015 at 09:19:51PM +0800, Sebastien Bourdeauducq wrote: On Monday, February 02, 2015 06:00 PM, Mika Westerberg wrote: With this patch and IRQF_TRIGGER_LOW | IRQF_ONESHOT, I get an interrupt flood and the kernel disables the interrupt line. I have reverted it to

Re: i2c_hid: Could not register for interrupt, irq = -1 on Thinkpad Tablet 10

2015-02-02 Thread Sebastien Bourdeauducq
On Monday, February 02, 2015 06:00 PM, Mika Westerberg wrote: With this patch and IRQF_TRIGGER_LOW | IRQF_ONESHOT, I get an interrupt flood and the kernel disables the interrupt line. I have reverted it to IRQF_TRIGGER_FALLING | IRQF_ONESHOT, and the i2c_hid initialization completes

Re: i2c_hid: Could not register for interrupt, irq = -1 on Thinkpad Tablet 10

2015-02-02 Thread Mika Westerberg
On Sun, Feb 01, 2015 at 11:27:09AM +0800, Sebastien Bourdeauducq wrote: Hi, On Sunday, February 01, 2015 04:39 AM, Benjamin Tissoires wrote: Mika sent a patch recently which should solve your problem. Can you give a try to the following patch? https://patchwork.kernel.org/patch/5709961/

Re: [PATCH 0/6] Fixes for ALPS trackstick

2015-02-02 Thread Pali Rohár
On Monday 02 February 2015 06:49:31 Dmitry Torokhov wrote: On Sun, Jan 18, 2015 at 10:47:06AM +0100, Pali Rohár wrote: On Sunday 18 January 2015 08:22:45 Dmitry Torokhov wrote: On Sat, Jan 17, 2015 at 11:01:56AM +0100, Pali Rohár wrote: On Thursday 15 January 2015 22:02:16 Dmitry

Re: [PATCH] Handle more microsoft keyboards types.

2015-02-02 Thread Jiri Kosina
On Sat, 31 Jan 2015, Alistair Leslie-Hughes wrote: Fixes https://bugzilla.kernel.org/show_bug.cgi?id=52841 Please provide: - at least few words of the changelog ( ... this add support for hardware X, which needs the same quirks as already existing hardware Y ... ) - your Signed-off-by:

Re: [PATCH 0/6] Fixes for ALPS trackstick

2015-02-02 Thread Pali Rohár
On Monday 02 February 2015 11:49:58 Pali Rohár wrote: On Monday 02 February 2015 06:49:31 Dmitry Torokhov wrote: On Sun, Jan 18, 2015 at 10:47:06AM +0100, Pali Rohár wrote: On Sunday 18 January 2015 08:22:45 Dmitry Torokhov wrote: On Sat, Jan 17, 2015 at 11:01:56AM +0100, Pali Rohár

Re: i2c_hid: Could not register for interrupt, irq = -1 on Thinkpad Tablet 10

2015-02-02 Thread Sébastien Bourdeauducq
On 02/02/2015 09:48 PM, Mika Westerberg wrote: On Mon, Feb 02, 2015 at 09:19:51PM +0800, Sebastien Bourdeauducq wrote: With this computer nothing is normal. Every single component except the CPU, display and USB has major issues under Linux. We need to get one here then. Can you point me to

Re: i2c_hid: Could not register for interrupt, irq = -1 on Thinkpad Tablet 10

2015-02-02 Thread Benjamin Tissoires
On Mon, Feb 2, 2015 at 10:32 AM, Sébastien Bourdeauducq s...@m-labs.hk wrote: On 02/02/2015 09:48 PM, Mika Westerberg wrote: On Mon, Feb 02, 2015 at 09:19:51PM +0800, Sebastien Bourdeauducq wrote: With this computer nothing is normal. Every single component except the CPU, display and USB has

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

2015-02-02 Thread Benjamin Tissoires
On Feb 01 2015 or thereabouts, Henrik Rydberg wrote: Hi Benjamin, Tested this morning, and yes, it solves the problem. I assumed that the dmax was in mm, and used 10 * priv-x_res, which seemed to do the trick: - tapping with two fingers side by side triggered the jumps - in the

Re: i2c_hid: Could not register for interrupt, irq = -1 on Thinkpad Tablet 10

2015-02-02 Thread Sébastien Bourdeauducq
On 02/02/2015 11:42 PM, Benjamin Tissoires wrote: There has been a patch floating around last year which tried to pull all the available reports after the IRQ was triggered. I rejected it for the sake of not breaking existing devices, but maybe your device needs it.

Re: [PATCH v6 6/8] input: touchscreen: imx25 tcq driver

2015-02-02 Thread Markus Pargmann
Hi, On Fri, Jan 30, 2015 at 10:57:21AM -0800, Dmitry Torokhov wrote: On Thu, Jan 29, 2015 at 07:56:40PM +0530, Varka Bhadram wrote: Hi, On Thursday 29 January 2015 07:39 PM, Markus Pargmann wrote: This is a driver for the imx25 ADC/TSC module. It controls the touchscreen conversion

Re: i2c_hid: Could not register for interrupt, irq = -1 on Thinkpad Tablet 10

2015-02-02 Thread Mika Westerberg
On Mon, Feb 02, 2015 at 11:32:19PM +0800, Sébastien Bourdeauducq wrote: On 02/02/2015 09:48 PM, Mika Westerberg wrote: On Mon, Feb 02, 2015 at 09:19:51PM +0800, Sebastien Bourdeauducq wrote: With this computer nothing is normal. Every single component except the CPU, display and USB has

Re: [PATCH v6 6/8] input: touchscreen: imx25 tcq driver

2015-02-02 Thread Dmitry Torokhov
On Mon, Feb 02, 2015 at 05:05:39PM +0100, Markus Pargmann wrote: Hi, On Fri, Jan 30, 2015 at 10:57:21AM -0800, Dmitry Torokhov wrote: On Thu, Jan 29, 2015 at 07:56:40PM +0530, Varka Bhadram wrote: Hi, On Thursday 29 January 2015 07:39 PM, Markus Pargmann wrote: This is a driver

[PATCH] Input - synaptics: use dmax in input_mt_assign_slots

2015-02-02 Thread Benjamin Tissoires
When tapping a clickpad with two fingers, there is a chance that the sensor sees first only one finger, and at the next scan only the second one. In this case, the sensors says that there has been only one finger on the clickpad, which moved really fast between two scans. We can try to counter

Re: [PATCH v3 00/20] power_supply: Allow safe usage of power supply

2015-02-02 Thread Marc Dietrich
Am Freitag, 30. Januar 2015, 15:47:38 schrieb Krzysztof Kozlowski: Hi, The patchset changes power supply API and drivers implementing power supply class. TLDR for driver and subsystem maintainers = Two patches of patchset change