[PATCH v3 1/3] input: misc: Support NI Ettus Research USRP E3x0 Button

2015-01-08 Thread Moritz Fischer
Signed-off-by: Moritz Fischer moritz.fisc...@ettus.com --- drivers/input/misc/Kconfig | 10 +++ drivers/input/misc/Makefile | 1 + drivers/input/misc/e3x0-button.c | 156 +++ 3 files changed, 167 insertions(+) diff --git

RE: [eGalax] no click events with touchscreen

2015-01-08 Thread Gavin Lambert
On 9 January 2015 13:08, quoth Benjamin Tissoires: You can also make an udev rule which write 1040 in /sys/bus/hid/devices/0003\:0EEF\:0001.*/quirks on plug in an udev rule (you should probably rely on the path given by the udev rule instead of writing the wildcard). I get a permission denied

[PATCH v3 0/3] NI Ettus Research USRP E3x0 Button driver

2015-01-08 Thread Moritz Fischer
This patchset adds NI Ettus Research USRP E3x0 power button support and corresponding devicetree bindings and MAINTAINER entries. It was developed and tested on our NI Ettus Research USRP E310 embedded SDR on top of 3.19-rc3. Moritz Fischer (3): input: misc: Support NI Ettus Research USRP E3x0

Re: [PATCH 2/2] Report In Range event according to the spec

2015-01-08 Thread Bastien Nocera
On Thu, 2015-01-08 at 12:06 -0800, Ping Cheng wrote: Some Citniq and Intuos tablets report In Range event. This event Cintiq. is sent before valid data is reported when tool enters proximity; or before out of proximity event is reported when tool exits. While erntering proximity, In Range

Re: NULL pointer dereference in i2c-hid

2015-01-08 Thread Andrew Duggan
On 12/24/2014 03:53 PM, Gabriele Mazzotta wrote: [...snip...] Also, if you can get the firmware id from your touchpad that would also be useful. $ sudo ./rmihidtool -f /dev/hidraw0 firmware id: 1522295 Thanks, I will see if I can get any additional information on this. Andrew Hi, I think I

[PATCH v3 2/3] doc: dt: Add documentation for e3x0-button bindings.

2015-01-08 Thread Moritz Fischer
Signed-off-by: Moritz Fischer moritz.fisc...@ettus.com --- .../devicetree/bindings/input/e3x0-button.txt | 25 ++ 1 file changed, 25 insertions(+) diff --git a/Documentation/devicetree/bindings/input/e3x0-button.txt

[PATCH v3 3/3] Update MAINTAINERS file with e3x0-button info.

2015-01-08 Thread Moritz Fischer
Signed-off-by: Moritz Fischer moritz.fisc...@ettus.com --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ddb9ac8..65358d1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3466,6 +3466,14 @@ M: Maciej W. Rozycki ma...@linux-mips.org S:

RE: [eGalax] no click events with touchscreen

2015-01-08 Thread Gavin Lambert
On 9 January 2015 11:55, quoth Benjamin Tissoires: On Thu, Jan 8, 2015 at 5:20 PM, Gavin Lambert gav...@compacsort.com wrote: On 9 January 2015 04:17, you quoth: So here, everything seems fine except for the tracking ID and the BTN_TOUCH. The kernel does not sends the touch begin and touch

Re: [PATCH] Input:Flush client events on clk_type change

2015-01-08 Thread Dmitry Torokhov
On Thu, Jan 08, 2015 at 07:27:59PM +0530, Anshul Garg wrote: Dear Mr. Dmitry , Thanks a lot for your suggestions. + spin_lock_irq(dev-event_lock); + spin_lock(client-buffer_lock); + spin_unlock(dev-event_lock); Umm, why? Yes, there is no need of event_lock as we are modifying

Re: [PATCH 1/1] Elantech touchpad detection fix for laptops

2015-01-08 Thread Dmitry Torokhov
On Thu, Jan 08, 2015 at 04:02:27PM +1100, Srihari Vijayaraghavan wrote: On 8 January 2015 at 12:23, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Wed, Jan 07, 2015 at 08:11:36PM +1100, Srihari Vijayaraghavan wrote: On 7 January 2015 at 19:23, Srihari Vijayaraghavan

Re: [PATCH v1 4/4] leds: no longer use unnamed gpios

2015-01-08 Thread Dmitry Torokhov
On Thu, Jan 08, 2015 at 08:40:20AM -0600, Rob Herring wrote: On Thu, Jan 8, 2015 at 2:45 AM, Olliver Schinagl oli...@schinagl.nl wrote: Hey Dmitry, On 08-01-15 00:55, Dmitry Torokhov wrote: On Wed, Jan 07, 2015 at 10:08:42AM +0100, Olliver Schinagl wrote: From: Olliver Schinagl

Re: [PATCH] Input: Optimize Auto Repeat Loop

2015-01-08 Thread Dmitry Torokhov
On Thu, Jan 08, 2015 at 05:38:53AM -0800, Anshul Garg wrote: From: Anshul Garg aksgarg1...@gmail.com As input_pass_values function is called everytime when EV_SYN is sent from input driver or input event buffer becomes full. So avoid running auto repeat code if input device doesn't support

Re: [PATCH] Input: Optimize Event Filter functionality

2015-01-08 Thread Dmitry Torokhov
On Thu, Jan 08, 2015 at 05:39:44AM -0800, Anshul Garg wrote: From: Anshul Garg aksgarg1...@gmail.com As input_pass_values function is called everytime when EV_SYN is sent from input driver or input event buffer becomes full. So in case of regular handler event filter code should not run so

Re: [PATCH v2] HID: logitech-hidpp: store the name of the device in struct hidpp

2015-01-08 Thread Peter Wu
On Thursday 08 January 2015 14:37:12 Benjamin Tissoires wrote: If a disconnect occurs while getting the actual name of the device (which can take several HID transactions), the name of the device will be the hid name, provided by the Unifying Receiver. This means that in some cases, the user

[PATCH v2 3/3] Update MAINTAINERS file with e3x0-button info.

2015-01-08 Thread Moritz Fischer
Signed-off-by: Moritz Fischer moritz.fisc...@ettus.com --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ddb9ac8..65358d1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3466,6 +3466,14 @@ M: Maciej W. Rozycki ma...@linux-mips.org S:

[PATCH v2 0/3] NI Ettus Research USRP E3x0 Button driver

2015-01-08 Thread Moritz Fischer
This patchset adds NI Ettus Research USRP E3x0 power button support and corresponding devicetree bindings and MAINTAINER entries. It was developed and tested on our NI Ettus Research USRP E310 embedded SDR on top of 3.19-rc3. Moritz Fischer (3): input: misc: Support NI Ettus Research USRP E3x0

[PATCH v2 1/3] input: misc: Support NI Ettus Research USRP E3x0 Button

2015-01-08 Thread Moritz Fischer
Signed-off-by: Moritz Fischer moritz.fisc...@ettus.com --- drivers/input/misc/Kconfig | 10 +++ drivers/input/misc/Makefile | 1 + drivers/input/misc/e3x0-button.c | 132 +++ 3 files changed, 143 insertions(+) diff --git

Re: [eGalax] no click events with touchscreen

2015-01-08 Thread Benjamin Tissoires
Hi, On Thu, Jan 8, 2015 at 5:20 PM, Gavin Lambert gav...@compacsort.com wrote: On 9 January 2015 04:17, you quoth: So here, everything seems fine except for the tracking ID and the BTN_TOUCH. The kernel does not sends the touch begin and touch end information, thus the device is not working

Re: [PATCH v1 4/4] leds: no longer use unnamed gpios

2015-01-08 Thread Olliver Schinagl
Hey Dmitry, On 08-01-15 00:55, Dmitry Torokhov wrote: On Wed, Jan 07, 2015 at 10:08:42AM +0100, Olliver Schinagl wrote: From: Olliver Schinagl oli...@schinagl.nl The gpio document says we should not use unnamed bindings for gpios. This patch uses the 'led-' prefix to the gpios and updates

[PATCH] booboo[ADD] 1.support new ic type for version 4.

2015-01-08 Thread Sam hung
Signed-off-by: Yi ju Hong sam.h...@emc.com.tw --- drivers/input/mouse/elantech.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c index f2b9780..77ecf6d 100644 --- a/drivers/input/mouse/elantech.c +++

Re: [PATCH] HID: input: fix confusion on conflicting mappings

2015-01-08 Thread Fredrik Hallenberg
Jiri, I suppose you can close bugzilla bug 70181? On Thu, Jan 8, 2015 at 6:50 AM, Christopher Head ch...@chead.ca wrote: On Tue, 6 Jan 2015 13:37:26 +0100 Fredrik Hallenberg megahal...@gmail.com wrote: ... if (!(field-flags (HID_MAIN_ITEM_RELATIVE |

Re: PATCH change for HID_BATTERY_STRENGTH kconfig

2015-01-08 Thread Jiri Kosina
On Wed, 7 Jan 2015, David Herrmann wrote: Reviewed-by: David Herrmann dh.herrm...@gmail.com Thanks David. This has already been queued in git tree, so I will not be rebasing to add your tag, but mail archives will have it archived :) Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from

Re: [PATCH 03/17] Input: sun4i-ts: Add thermal zone sensor support

2015-01-08 Thread Chen-Yu Tsai
On Thu, Jan 8, 2015 at 12:24 AM, Chen-Yu Tsai w...@csie.org wrote: Hi, On Tue, Jan 6, 2015 at 11:24 PM, Eduardo Valentin edubez...@gmail.com wrote: Hello Chen-Yu, On Tue, Jan 06, 2015 at 10:35:13AM +0800, Chen-Yu Tsai wrote: The touchscreen controller has a temperature sensor embedded in

[PATCH] Input: Optimize Event Filter functionality

2015-01-08 Thread Anshul Garg
From: Anshul Garg aksgarg1...@gmail.com As input_pass_values function is called everytime when EV_SYN is sent from input driver or input event buffer becomes full. So in case of regular handler event filter code should not run so added check whether handler supports filter or not. Signed-off-by:

[PATCH] Input: Optimize Auto Repeat Loop

2015-01-08 Thread Anshul Garg
From: Anshul Garg aksgarg1...@gmail.com As input_pass_values function is called everytime when EV_SYN is sent from input driver or input event buffer becomes full. So avoid running auto repeat code if input device doesn't support EV_KEY and EV_REP event type. Signed-off-by: Anshul Garg

Re: [PATCH] Input:Flush client events on clk_type change

2015-01-08 Thread Anshul Garg
Dear Mr. Dmitry , Thanks a lot for your suggestions. + spin_lock_irq(dev-event_lock); + spin_lock(client-buffer_lock); + spin_unlock(dev-event_lock); Umm, why? Yes, there is no need of event_lock as we are modifying client specific data structure only. Hence only buffer_lock will guarantee

Re: [PATCH 2/2] Input: adxl34x - add device tree documentation

2015-01-08 Thread Walter Lozano
On Wed, Jan 7, 2015 at 6:42 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Wed, Jan 7, 2015 at 3:58 AM, Walter Lozano wal...@vanguardiasur.com.ar wrote: diff --git a/Documentation/devicetree/bindings/input/adxl34x.txt b/Documentation/devicetree/bindings/input/adxl34x.txt new file mode

Re: [PATCH 1/7] input: alps: Set correct name of psmouse device in alps_init()

2015-01-08 Thread Pali Rohár
On Wednesday 24 December 2014 08:48:42 Pali Rohár wrote: On Saturday 20 December 2014 09:53:38 Pali Rohár wrote: On Tuesday 16 December 2014 12:58:20 Pali Rohár wrote: On Tuesday 16 December 2014 06:02:34 Dmitry Torokhov wrote: Hi Pali, On Fri, Nov 14, 2014 at 08:38:20PM +0100,

Re: [eGalax] no click events with touchscreen

2015-01-08 Thread Benjamin Tissoires
On Wed, Jan 7, 2015 at 10:40 PM, Gavin Lambert gav...@compacsort.com wrote: Hi, I have a new eGalax touchscreen (came with driver cd 5.1.0, if that helps). I'm trying to use it from a Raspberry Pi, so I can't use the prebuilt drivers on that CD. I've found the ARM-specific vendor drivers

Re: [PATCH v1 4/4] leds: no longer use unnamed gpios

2015-01-08 Thread Rob Herring
On Thu, Jan 8, 2015 at 2:45 AM, Olliver Schinagl oli...@schinagl.nl wrote: Hey Dmitry, On 08-01-15 00:55, Dmitry Torokhov wrote: On Wed, Jan 07, 2015 at 10:08:42AM +0100, Olliver Schinagl wrote: From: Olliver Schinagl oli...@schinagl.nl The gpio document says we should not use unnamed

Re: [PATCH 1/5] mfd: tps65218: make INT[12] and STATUS registers volatile

2015-01-08 Thread Felipe Balbi
On Tue, Jan 06, 2015 at 11:37:34AM -0600, Felipe Balbi wrote: On Fri, Dec 26, 2014 at 01:28:20PM -0600, Felipe Balbi wrote: STATUS register can be modified by the HW, so we should bypass cache because of that. In the case of INT[12] registers, they are the ones that actually clear the

Re: [PATCH 2/2] Input: adxl34x - add device tree documentation

2015-01-08 Thread Geert Uytterhoeven
On Thu, Jan 8, 2015 at 6:40 PM, Walter Lozano wal...@vanguardiasur.com.ar wrote: On Wed, Jan 7, 2015 at 6:42 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Wed, Jan 7, 2015 at 3:58 AM, Walter Lozano wal...@vanguardiasur.com.ar wrote: diff --git

[PATCH 0/3] NI Ettus Research USRP E3x0 Button driver

2015-01-08 Thread Moritz Fischer
This patchset adds NI Ettus Research USRP E3x0 power button support and corresponding devicetree bindings and MAINTAINER entries. It was developed and tested on our NI Ettus Research USRP E310 embedded SDR on top of 3.19-rc3. Moritz Fischer (3): input: misc: Support NI Ettus Research USRP E3x0

[PATCH 3/3] Update MAINTAINERS file with e3x0-button info.

2015-01-08 Thread Moritz Fischer
Signed-off-by: Moritz Fischer moritz.fisc...@ettus.com --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ddb9ac8..65358d1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3466,6 +3466,14 @@ M: Maciej W. Rozycki ma...@linux-mips.org S:

[PATCH 2/3] doc: dt: Add documentation for e3x0-button bindings.

2015-01-08 Thread Moritz Fischer
Signed-off-by: Moritz Fischer moritz.fisc...@ettus.com --- .../devicetree/bindings/input/e3x0-button.txt | 25 ++ 1 file changed, 25 insertions(+) diff --git a/Documentation/devicetree/bindings/input/e3x0-button.txt

[PATCH 1/3] input: misc: Support NI Ettus Research USRP E3x0 Button

2015-01-08 Thread Moritz Fischer
Signed-off-by: Moritz Fischer moritz.fisc...@ettus.com --- drivers/input/misc/Kconfig | 10 +++ drivers/input/misc/Makefile | 1 + drivers/input/misc/e3x0-button.c | 153 +++ 3 files changed, 164 insertions(+) diff --git

Re: [PATCH 1/3] input: misc: Support NI Ettus Research USRP E3x0 Button

2015-01-08 Thread Dmitry Torokhov
On Thu, Jan 08, 2015 at 10:02:49PM +0100, Moritz Fischer wrote: Signed-off-by: Moritz Fischer moritz.fisc...@ettus.com --- drivers/input/misc/Kconfig | 10 +++ drivers/input/misc/Makefile | 1 + drivers/input/misc/e3x0-button.c | 153 +++

Re: [PATCH] booboo[ADD] 1.support new ic type for version 4.

2015-01-08 Thread Dmitry Torokhov
On Thu, Jan 08, 2015 at 05:13:43PM +0800, Sam hung wrote: Signed-off-by: Yi ju Hong sam.h...@emc.com.tw Applied, thank you. --- drivers/input/mouse/elantech.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c index

Re: [PATCH] [ADD] 1.support new ic type for version 4.

2015-01-08 Thread Dmitry Torokhov
Hi Sam, FYI: You sent this message as both plain/text and html, but vger.kernel.org mailing lists are configured to discard all emails with html in them, so while I did get your reply others did not. Please try to find mail agent allowing you to use only plain text when interacting with

[PATCH v2] HID: logitech-hidpp: store the name of the device in struct hidpp

2015-01-08 Thread Benjamin Tissoires
If a disconnect occurs while getting the actual name of the device (which can take several HID transactions), the name of the device will be the hid name, provided by the Unifying Receiver. This means that in some cases, the user space will see a different name that what it usually sees when there

[PATCH 1/2] Process invalid Cintiq and Intuos data in wacom_intuos_inout

2015-01-08 Thread Ping Cheng
Signed-off-by: Ping Cheng pi...@wacom.com --- drivers/hid/wacom_wac.c | 50 + 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c index 596a6fb5..4ccf622 100644 ---

[PATCH 2/2] Report In Range event according to the spec

2015-01-08 Thread Ping Cheng
Some Citniq and Intuos tablets report In Range event. This event is sent before valid data is reported when tool enters proximity; or before out of proximity event is reported when tool exits. While erntering proximity, In Range means a pen is detected. This information can be used for palm/touch

Re: [PATCH 2/2] Input: adxl34x - add device tree documentation

2015-01-08 Thread Walter Lozano
On Thu, Jan 8, 2015 at 3:51 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Thu, Jan 8, 2015 at 6:40 PM, Walter Lozano wal...@vanguardiasur.com.ar wrote: On Wed, Jan 7, 2015 at 6:42 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Wed, Jan 7, 2015 at 3:58 AM, Walter Lozano