[PATCH 6/6] Input: Replace KEYBOARD_CROS_EC dependency

2015-08-19 Thread Javier Martinez Canillas
The ChromeOS EC keyboard driver config depend on CROS_EC_PROTO but MFD_CROS_EC select CROS_EC_PROTO instead. Mixing select and depends on is bad practice as it may lead to circular Kconfig dependencies. Since the platform device that is matched with the keyboard driver is registered by the

Re: [PATCH 3/3] HID: Device attributes for hid-penmount

2015-08-19 Thread Benjamin Tissoires
On Wed, Aug 19, 2015 at 3:29 AM, John Sung penmount.to...@gmail.com wrote: Add two attributes, ver and cmd, to provide more convenient way to integrate with shell scripts. Please don't. If the user space wants to talk to the device, use the plain hidraw interface. Adding such a new API would

Re: PROBLEM: Missing events on thinkpad trackpoint buttons

2015-08-19 Thread Benjamin Tissoires
On Wed, Aug 19, 2015 at 10:10 AM, Nick Bowler nbow...@draconx.ca wrote: On 2015-08-19, Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: On Tue, Aug 18, 2015 at 3:06 PM, Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: [...] On Mon, Aug 17, 2015 at 10:31 PM, Nick Bowler

Re: PROBLEM: Missing events on thinkpad trackpoint buttons

2015-08-19 Thread Nick Bowler
On 2015-08-19, Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: On Tue, Aug 18, 2015 at 3:06 PM, Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: [...] On Mon, Aug 17, 2015 at 10:31 PM, Nick Bowler nbow...@draconx.ca wrote: Here is the evtest result from placing two fingers on the

Re: [PATCH 1/3] HID: hid-penmount can support multi-touch devices

2015-08-19 Thread Benjamin Tissoires
On Wed, Aug 19, 2015 at 3:29 AM, John Sung penmount.to...@gmail.com wrote: Expand the functionality of hid-penmount to support both PenMount 6000 and PCI devices. Could you elaborate a little bit more here? From the look of your code, I think your panels should be handled by hid-multitouch

Re: PROBLEM: Missing events on thinkpad trackpoint buttons

2015-08-19 Thread Benjamin Tissoires
On Tue, Aug 18, 2015 at 3:06 PM, Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: Hi Nick, thanks for the report. On Mon, Aug 17, 2015 at 10:31 PM, Nick Bowler nbow...@draconx.ca wrote: Hi, I'm not sure if this is actually a Linux issue but figured I'd at least report it here to

[PATCH 0/6] ChromeOS EC Kconfig cleanups

2015-08-19 Thread Javier Martinez Canillas
Hello, This patch series attemp to fix the issues that exist with the ChromeOS EC drivers Kconfig symbols. These are: 1) The MFD_CROS_EC config symbol select CROS_EC_PROTO and CHROME_PLATFORMS which caused a Kconfig unmet direct dependencies warning. 2) Mix of select and depends on for the

Fwd: Controlling Linux with an smartphone or tablet, possibly android.

2015-08-19 Thread Mike Mestnik
https://groups.google.com/a/chromium.org/forum/#!topic/input-dev/nVDgxCLCuL4 -- Forwarded message -- From: Mike Mestnik che...@mikemestnik.net Date: Wed, Aug 19, 2015 at 12:53 PM Subject: Controlling Linux with an smartphone or tablet, possibly android. To: input-dev

Fwd: Asus T300CHI: Likes and dislikes about the state of input devices.

2015-08-19 Thread Mike Mestnik
https://groups.google.com/a/chromium.org/forum/#!topic/input-dev/GTRAmXmmLS8 -- Forwarded message -- From: Mike Mestnik che...@mikemestnik.net Date: Wed, Aug 19, 2015 at 9:56 AM Subject: Asus T300CHI: Likes and dislikes about the state of input devices. To: input-dev

Re: [PATCH] input: ti_am335x_tsc: Add open delay parameter

2015-08-19 Thread Michael Welling
On Wed, Aug 12, 2015 at 01:44:22PM -0500, Michael Welling wrote: On Wed, Aug 12, 2015 at 11:56:36AM +0530, Vignesh R wrote: Hi Michael, + Dmitry On 08/12/2015 12:15 AM, Michael Welling wrote: Adds a device tree parameter to set the open delay on the touchscreen conversion steps.

[PATCH v3] Input: synaptics-rmi4: Add device tree support for RMI4 I2C devices

2015-08-19 Thread Andrew Duggan
Add devicetree binding for I2C devices and add bindings for optional parameters in the function drivers. Parameters for function drivers are defined in child nodes for each of the functions. Signed-off-by: Andrew Duggan adug...@synaptics.com --- This version fixes the issues in v2 pointed out by

[PATCH v2] Input: synaptics-rmi4: Use generic interrupt handling

2015-08-19 Thread Andrew Duggan
Currently the RMI4 driver expects the device to have a GPIO and manages the that GPIO internally. However, this duplicates functionality which could be handled by more generic interrupt handling code. Also, some RMI devices will not have a GPIO or it won't be accessible to the rmi4 driver. This

Re: [PATCH v2] drivers/hid: Check result of debugfs_create_dir() and debugfs_create_file()

2015-08-19 Thread Jiri Kosina
On Wed, 19 Aug 2015, Alexander Kuleshov wrote: The debugfs_create_dir() and debugfs_create_file() functions may return -errno if an error occurs. This patch adds a couple of checks of the result of the debufs_create_dir() and debugfs_create_file() functions execution in the

Re: PROBLEM: Missing events on thinkpad trackpoint buttons

2015-08-19 Thread Dmitry Torokhov
On Wed, Aug 19, 2015 at 09:52:00AM -0400, Benjamin Tissoires wrote: On Tue, Aug 18, 2015 at 3:06 PM, Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: Hi Nick, thanks for the report. On Mon, Aug 17, 2015 at 10:31 PM, Nick Bowler nbow...@draconx.ca wrote: Hi, I'm not sure if

Re: [PATCH 6/6] Input: Replace KEYBOARD_CROS_EC dependency

2015-08-19 Thread Dmitry Torokhov
On Wed, Aug 19, 2015 at 01:19:58PM +0200, Javier Martinez Canillas wrote: The ChromeOS EC keyboard driver config depend on CROS_EC_PROTO but MFD_CROS_EC select CROS_EC_PROTO instead. Mixing select and depends on is bad practice as it may lead to circular Kconfig dependencies. Since the

Re: PROBLEM: Missing events on thinkpad trackpoint buttons

2015-08-19 Thread Stephen Chandler Paul
There is support in the spec for PS/2 guests believe it or not, it's just mostly undocumented. Coincidentally, I was actually the one who wrote the drivers for this in Benjamin's tree. Using that, we can actually just create a serio port that goes through the rmi4 driver and communicate with that

Re: PROBLEM: Missing events on thinkpad trackpoint buttons

2015-08-19 Thread Benjamin Tissoires
On Wed, Aug 19, 2015 at 5:27 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Wed, Aug 19, 2015 at 09:52:00AM -0400, Benjamin Tissoires wrote: On Tue, Aug 18, 2015 at 3:06 PM, Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: Hi Nick, thanks for the report. On Mon, Aug 17,

Re: [PATCH v3 3/3] touchscreen: colibri-vf50-ts: Add touchscreen support for Colibri VF50

2015-08-19 Thread maitysanchayan
Hello Dmitry, Will take care of all points with the next revision. Thank you for the feedback. - Sanchayan. On 15-08-14 15:53:46, Dmitry Torokhov wrote: Hi Sanchayan, On Wed, Aug 05, 2015 at 02:25:51PM +0530, Sanchayan Maity wrote: The Colibri Vybrid VF50 module supports 4-wire

[PATCH 3/3] HID: Device attributes for hid-penmount

2015-08-19 Thread John Sung
Add two attributes, ver and cmd, to provide more convenient way to integrate with shell scripts. Signed-off-by: John Sung penmount.to...@gmail.com --- drivers/hid/hid-penmount.c | 87 1 file changed, 87 insertions(+) diff --git

[PATCH 2/3] HID: hid-penmount shows device version

2015-08-19 Thread John Sung
Let hid-penmount retrieve the device version using feature report. Signed-off-by: John Sung penmount.to...@gmail.com --- drivers/hid/hid-penmount.c | 112 1 file changed, 112 insertions(+) diff --git a/drivers/hid/hid-penmount.c

[PATCH] Input: evdev - Use EBADFD for flush() errors

2015-08-19 Thread Takashi Iwai
We've got bug reports showing the old systemd-logind (at least system-210) aborting unexpectedly, and this turned out to be because of an invalid error code from close() call to evdev devices. close() is supposed to return only either EINTR or EBADFD, while the device returned ENODEV. logind was

[PATCH 1/3] HID: hid-penmount can support multi-touch devices

2015-08-19 Thread John Sung
Expand the functionality of hid-penmount to support both PenMount 6000 and PCI devices. Signed-off-by: John Sung penmount.to...@gmail.com --- drivers/hid/hid-core.c |1 + drivers/hid/hid-penmount.c | 242 +++- 2 files changed, 242 insertions(+), 1