Re: [PATCH 0/5] HID: wacom: Support tablets with pen and touch on same interface

2015-06-08 Thread Jason Gerecke
On 6/8/2015 8:59 AM, Benjamin Tissoires wrote: Hi again, On Jun 03 2015 or thereabouts, Jason Gerecke wrote: I've recently got my hands on a device which has an I2C sensor that sends both pen and touch reports from a single interface. To userspace, it shows up as a single input device which

Re: [PATCH 0/5] HID: wacom: Support tablets with pen and touch on same interface

2015-06-08 Thread Jiri Kosina
On Mon, 8 Jun 2015, Jason Gerecke wrote: Just stumbled across a bug with wireless operation (missing pad device). Hopefully Jiri hasn't merged anything yet :) Indeed, this was still in my 'hid-todo' queue. Given the comments so far, I am removing this patchset from it, and waiting for v2

Re: Handling Controllers with Acc/Gyro/Mag via HID system

2015-06-08 Thread Frank Praznik
On 6/8/2015 11:41, si...@mungewell.org wrote: Hi all, I'm in the process of fixing the HID descriptor for the PS3 Move Controller. which has a particularly convoluted layout for it's Accelormeters, Gyros and Magnetometers involving 2 sets of data per output report.

[PATCH 2/3] tty/vt/keyboard: define LED triggers for VT LED states

2015-06-08 Thread Dmitry Torokhov
From: Samuel Thibault samuel.thiba...@ens-lyon.org Now that input core allows controlling keyboards LEDs via standard LED subsystem triggers let's switch VT keyboard code to make use of this feature. We will define the following standard triggers: kbd-scrollock, kbd-numlock, kbd-capslock, and

[PATCH 0/3] Switch input leds over to standard LED class devices

2015-06-08 Thread Dmitry Torokhov
Hi, I finally was able to spend some time looking over Samuel's patch set switching input LEDs from custom implementation over to standard LED class devices and I think this is the shape I am reasonably happy with. The changes: 1. Instead of making LED class devices part of the input device they

[RESEND PATCH v2 1/2] HID: hid-plantronics: Update to map volume up/down controls

2015-06-08 Thread Terry Junge
Resend with mail server adjustments to stop whitespace damage to patch. Update Kconfig with enhanced help text for hid-plantronics driver. Update hid-plantronics.c to identify device type and correctly map either the vendor unique or consumer control volume up/down usages to KEY_VOLUMEUP and

[PATCH 3/3] tty/vt/keyboard: define LED triggers for VT keyboard lock states

2015-06-08 Thread Dmitry Torokhov
From: Samuel Thibault samuel.thiba...@ens-lyon.org In addition to defining triggers for VT LED states, let's define triggers for VT keyboard lock states, such as kbd-shiftlock, kbd-altgrlock, etc. This permits to fix #7063 from userland by using a modifier to implement proper CapsLock behavior

[PATCH 1/3] Input: export LEDs as class devices in sysfs

2015-06-08 Thread Dmitry Torokhov
From: Samuel Thibault samuel.thiba...@ens-lyon.org This change creates a new input handler called leds that exports LEDs on input devices as standard LED class devices in sysfs and allows controlling their ptate via sysfs or via any of the standard LED triggers. This allows to re-purpose and

Re: [PATCH 0/3] Switch input leds over to standard LED class devices

2015-06-08 Thread Bastien Nocera
On Mon, 2015-06-08 at 14:43 -0700, Dmitry Torokhov wrote: Hi, I finally was able to spend some time looking over Samuel's patch set switching input LEDs from custom implementation over to standard LED class devices and I think this is the shape I am reasonably happy with. The changes:

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

2015-06-08 Thread Dmitry Torokhov
On Thu, May 28, 2015 at 10:10:55AM +1000, Peter Hutterer wrote: 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 peter.hutte...@who-t.net Applied, thank you. ---

Re: [RESEND PATCH V4 3/3] mfd: da9063: MFD support for OnKey driver

2015-06-08 Thread Dmitry Torokhov
On Tue, May 19, 2015 at 11:32:45AM +0100, S Twiss wrote: From: Steve Twiss stwiss.opensou...@diasemi.com Add MFD support for the DA9063 OnKey driver The function da9063_clear_fault_log() is added to mitigate the case of a hardware power-cut after a long-long OnKey press. Although there is

Re: [PATCH 0/3] Switch input leds over to standard LED class devices

2015-06-08 Thread Dmitry Torokhov
On Tue, Jun 09, 2015 at 12:58:11AM +0200, Bastien Nocera wrote: On Mon, 2015-06-08 at 14:43 -0700, Dmitry Torokhov wrote: Hi, I finally was able to spend some time looking over Samuel's patch set switching input LEDs from custom implementation over to standard LED class devices and

Re: [PATCH] Input - elan_i2c: support multi ic type and iap format

2015-06-08 Thread Dmitry Torokhov
On Sun, Jun 07, 2015 at 03:34:04AM +0800, duson wrote: In order to support multi ic type for i2c/smbus protocol, add get ic type command and check fw vaild page count and signature address function. Signed-off by: Duson Lin duson...@emc.com.tw Applied, thank you (but please try to convince

[PATCH 1/2] Input: input_mt_report_pointer_emulation(), rescale pressure + tool width

2015-06-08 Thread Matt Whitlock
This patch teaches input_mt_report_pointer_emulation() to synthesize ABS_TOOL_WIDTH from ABS_MT_WIDTH_MAJOR if the touchpad driver reports ABS_MT_WIDTH_MAJOR. (As of this commit, the only in-tree drivers that do are mouse/bcm5974.c and touchscreen/goodix.c.) Additionally, this patch makes

[PATCH 2/2] Input: bcm5974 - report ABS_MT_PRESSURE + remove redundant emulation code

2015-06-08 Thread Matt Whitlock
Now that input_mt_report_pointer_emulation() can synthesize ABS_TOOL_WIDTH from ABS_MT_WIDTH_MAJOR, the report_synaptics_data() function in bcm5974.c is entirely redundant. This patch removes this function and introduces reporting of ABS_MT_PRESSURE (faked from f-touch_major) to cause the

Re: [PATCH] input: elan_i2c - Add product IDs FW names

2015-06-08 Thread Dmitry Torokhov
On Sat, Jun 06, 2015 at 11:01:03AM +0800, duson wrote: Hi Charlie, Thanks for your help to upstream this patch, it is a good idea to update right firmware to right touchpad. In order to distinguish between old and new driver, could you also modify the driver version for this patch? Thank

Re: Handling Controllers with Acc/Gyro/Mag via HID system

2015-06-08 Thread simon
Hi all, I'm in the process of fixing the HID descriptor for the PS3 Move Controller. which has a particularly convoluted layout for it's Accelormeters, Gyros and Magnetometers involving 2 sets of data per output report. https://github.com/nitsch/moveonpc/wiki/Input-report The plan is/was to

[PATCH] cap11xx: add LED support

2015-06-08 Thread Matt Ranostay
Several cap11xx variants have LEDs that be can be controlled, this patchset implements this functionality. Signed-off-by: Matt Ranostay mranos...@gmail.com --- drivers/input/keyboard/cap11xx.c | 102 +-- 1 file changed, 99 insertions(+), 3 deletions(-) diff

Re: [PATCH] cap11xx: add LED support

2015-06-08 Thread Daniel Mack
Hi Matt, On 06/09/2015 05:46 AM, Matt Ranostay wrote: Several cap11xx variants have LEDs that be can be controlled, this patchset implements this functionality. Signed-off-by: Matt Ranostay mranos...@gmail.com --- drivers/input/keyboard/cap11xx.c | 102

Re: [PATCH] cap11xx: add LED support

2015-06-08 Thread Daniel Mack
On 06/09/2015 05:46 AM, Matt Ranostay wrote: Several cap11xx variants have LEDs that be can be controlled, this patchset implements this functionality. Signed-off-by: Matt Ranostay mranos...@gmail.com --- drivers/input/keyboard/cap11xx.c | 102 +-- 1

Re: [PATCH] input: adding Surface Power Cover

2015-06-08 Thread Jiri Kosina
On Sun, 7 Jun 2015, Raimund Roth wrote: Adding support for the Microsoft Surface Pro Power Cover, Patch was tested on Debian, Keyboard and Trackpad are fully working, both when plugged in at boot or hotplugged. Signed-off-by: Raimund Roth raimundmr...@gmail.gom Your patch has been damaged

Re: [PATCH v0] gpio_keys: fix gpio key driver to proper support GIC interrupt

2015-06-08 Thread Uwe Kleine-König
Hello, On Thu, Jun 04, 2015 at 02:25:12PM +0700, Y Vo wrote: GIC is designed to support two of trigger mechanisms - active level high or edge rising. But in the gpio_keys driver, it tries to use both edge rising and edge falling trigger. This patch fixes the gpio_keys driver to request only

Re: [PATCH] input: adding Surface Power Cover

2015-06-08 Thread Raimund Roth
On Mon, 2015-06-08 at 10:15 +0200, Jiri Kosina wrote: On Sun, 7 Jun 2015, Raimund Roth wrote: Adding support for the Microsoft Surface Pro Power Cover, Patch was tested on Debian, Keyboard and Trackpad are fully working, both when plugged in at boot or hotplugged. Signed-off-by:

[PATCH v2 7/8] input: goodix: use goodix_i2c_write_u8 instead of i2c_master_send

2015-06-08 Thread Irina Tirdea
Use goodix_i2c_write_u8 instead of i2c_master_send to simplify code. Signed-off-by: Irina Tirdea irina.tir...@intel.com --- drivers/input/touchscreen/goodix.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/input/touchscreen/goodix.c

[PATCH v2 8/8] input: goodix: add support for ESD

2015-06-08 Thread Irina Tirdea
Add ESD (Electrostatic Discharge) protection mechanism. The driver enables ESD protection in HW and checks a register to determine if ESD occurred. If ESD is signalled by the HW, the driver will reset the device. This is based on Goodix datasheets for GT911 and GT9271 and on Goodix driver

[PATCH v2 3/8] input: goodix: export id and version read from device

2015-06-08 Thread Irina Tirdea
Goodix touchscreens export through their registers a Product ID and Firmware Version. The Product ID is an ASCII encoding of the product name (e.g.: 911). Export to sysfs (through the input subsystem) the product id and firmware version read from the device rather than using constant values.

[PATCH v2 0/8] Goodix touchscreen enhancements

2015-06-08 Thread Irina Tirdea
Add several enhancements to the Goodix touchscreen driver: - write configuration data to the device - power management support - cleanup and refactoring I have kept the original patch for ESD (input: goodix: add support for ESD) since it is still under discussion. I have moved it to the end of

RE: [PATCH 8/9] input: goodix: add support for ESD

2015-06-08 Thread Tirdea, Irina
-Original Message- From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] Sent: 05 June, 2015 19:46 To: Tirdea, Irina Cc: Bastien Nocera; Mark Rutland; linux-input@vger.kernel.org; devicet...@vger.kernel.org; linux-ker...@vger.kernel.org Subject: Re: [PATCH 8/9] input: goodix:

[PATCH v2 4/8] input: goodix: reset device at init

2015-06-08 Thread Irina Tirdea
After power on, it is recommended that the driver resets the device. The reset procedure timing is described in the datasheet and is used at device init (before writing device configuration) and for power management. It is a sequence of setting the interrupt and reset pins high/low at specific

[PATCH v2 2/8] input: goodix: fix variable length array warning

2015-06-08 Thread Irina Tirdea
Fix sparse warning: drivers/input/touchscreen/goodix.c:182:26: warning: Variable length array is used. Replace the variable length array with fixed length. Some Goodix devices have maximum 5 touch points, while others have 10 touch points. Using the maximum length (80 bytes) for all devices will

RE: [RESEND PATCH V4 1/1] input: misc: da9063: OnKey driver

2015-06-08 Thread Opensource [Steve Twiss]
On 05 June 2015 18:50 Dmitry Torokhov wrote: Subject: Re: [RESEND PATCH V4 1/1] input: misc: da9063: OnKey driver On Thu, Jun 04, 2015 at 12:02:32PM +0100, S Twiss wrote: From: Steve Twiss stwiss.opensou...@diasemi.com Add OnKey driver support for DA9063 Signed-off-by: Steve Twiss

Re: [PATCH v4 00/18] new MFD LoCoMo driver set

2015-06-08 Thread Jingoo Han
On Thu, 28 May 2015 22:07:40 +0300, Dmitry Eremin-Solenikov wrote: 2015-05-28 14:58 GMT+03:00 Lee Jones wrote: On Wed, 27 May 2015, Dmitry Eremin-Solenikov wrote: 2015-05-27 13:27 GMT+03:00 Lee Jones lee.jones@xx: On Mon, 25 May 2015, Dmitry Eremin-Solenikov wrote: LoCoMo is a GA

[PATCH v2 1/8] input: goodix: fix alignment issues

2015-06-08 Thread Irina Tirdea
Fix alignment to match open parenthesis detected by running checkpatch.pl --strict. Signed-off-by: Irina Tirdea irina.tir...@intel.com Acked-by: Bastien Nocera had...@hadess.net --- drivers/input/touchscreen/goodix.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH v2 5/8] input: goodix: write configuration data to device

2015-06-08 Thread Irina Tirdea
Goodix devices can be configured by writing custom data to the device at init. The configuration data is read with request_firmware from goodix_id_cfg.bin, where id is the product id read from the device (e.g.: goodix_911_cfg.bin for Goodix GT911, goodix_9271_cfg.bin for GT9271). The

Re: [PATCH 0/5] HID: wacom: Support tablets with pen and touch on same interface

2015-06-08 Thread Benjamin Tissoires
On Jun 04 2015 or thereabouts, Jason Gerecke wrote: On 6/4/2015 7:18 AM, Benjamin Tissoires wrote: Hi Jason, On Jun 03 2015 or thereabouts, Jason Gerecke wrote: I've recently got my hands on a device which has an I2C sensor that sends both pen and touch reports from a single interface.

Handling Controllers with Acc/Gyro/Mag via HID system

2015-06-08 Thread simon
Hi all, I'm in the process of fixing the HID descriptor for the PS3 Move Controller. which has a particularly convoluted layout for it's Accelormeters, Gyros and Magnetometers involving 2 sets of data per output report. https://github.com/nitsch/moveonpc/wiki/Input-report The plan is/was to

[PATCH v2 6/8] input: goodix: add power management support

2015-06-08 Thread Irina Tirdea
Implement suspend/resume for goodix driver. This is based on Goodix datasheets for GT911 and GT9271 and on Goodix driver gt9xx.c for Android (publicly available in Android kernel trees for various devices). Signed-off-by: Octavian Purdila octavian.purd...@intel.com Signed-off-by: Irina Tirdea

Re: [PATCH 0/5] HID: wacom: Support tablets with pen and touch on same interface

2015-06-08 Thread Benjamin Tissoires
Hi again, On Jun 03 2015 or thereabouts, Jason Gerecke wrote: I've recently got my hands on a device which has an I2C sensor that sends both pen and touch reports from a single interface. To userspace, it shows up as a single input device which blends both the report types (e.g. it has