Re: NULL pointer dereference in i2c-hid

2015-01-09 Thread Andrew Duggan
On 01/09/2015 12:04 AM, Gabriele Mazzotta wrote: On Thursday 08 January 2015 15:58:54 Andrew Duggan wrote: 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

Re: NULL pointer dereference in i2c-hid

2015-01-09 Thread Gabriele Mazzotta
On Friday 09 January 2015 16:29:04 Andrew Duggan wrote: On 01/09/2015 12:04 AM, Gabriele Mazzotta wrote: On Thursday 08 January 2015 15:58:54 Andrew Duggan wrote: On 12/24/2014 03:53 PM, Gabriele Mazzotta wrote: [...snip...] Also, if you can get the firmware id from your touchpad that

Re: NULL pointer dereference in i2c-hid

2015-01-09 Thread Gabriele Mazzotta
On Thursday 08 January 2015 15:58:54 Andrew Duggan wrote: 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

[PATCH v2 5/9] ARM: dts: sun7i: cubietruck: add axp209 regulator nodes

2015-01-09 Thread Chen-Yu Tsai
This patch adds the regulator nodes for the axp209 by including the axp209 dtsi. As the inputs of these regulators are from the axp209's PS output, which is basically just a mux over the 2 inputs, it is considered to be unregulated. Thus we do not provide input supply properties for them. The

[PATCH v2 3/9] ARM: dts: sun7i: Add cpu thermal zones to dtsi

2015-01-09 Thread Chen-Yu Tsai
The core temperature sensor now supports thermal zones. Add a thermal zone mapping for the cpus with passive cooling (cpufreq throttling). Signed-off-by: Chen-Yu Tsai w...@csie.org --- changes since v1: - Use thermal dt bindings macros in cooling-device ---

[PATCH v2 0/9] ARM: sunxi: Support cpufreq on sun[457]i

2015-01-09 Thread Chen-Yu Tsai
Hi, This is v2 of the cpufreq support series for sunxi. The series has been rebased onto the latest sunxi-next. I've dropped all the patches Maxime merged. This includes ARM: sunxi: Register cpufreq-dt for sun[45678]i which was merged but not published yet. Individual changes since v1 are listed

[PATCH v2 6/9] ARM: dts: sun5i: Add cpu thermal zones to dtsi

2015-01-09 Thread Chen-Yu Tsai
The core temperature sensor now supports thermal zones. Add a thermal zone mapping for the cpus with passive cooling (cpufreq throttling). Signed-off-by: Chen-Yu Tsai w...@csie.org --- changes since v1: - Use thermal dt bindings macros in cooling-device ---

[PATCH v2 9/9] ARM: dts: sun4i: cubieboard: add axp209 regulator nodes

2015-01-09 Thread Chen-Yu Tsai
This patch adds the regulator nodes for the axp209 by including the axp209 dtsi. As the inputs of these regulators are from the axp209's PS output, which is basically just a mux over the 2 inputs, it is considered to be unregulated. Thus we do not provide input supply properties for them. The

[PATCH v2 1/9] Input: sun4i-ts: Add thermal zone sensor support

2015-01-09 Thread Chen-Yu Tsai
The touchscreen controller has a temperature sensor embedded in the SoC, which already has hwmon support in the driver. Add DT thermal zone support so we can use it with cpufreq for thermal throttling. This also adds a comment stating that we do not know the actual formula for calculating the

[PATCH v2 8/9] ARM: dts: sun4i: Add cpu thermal zones to dtsi

2015-01-09 Thread Chen-Yu Tsai
The core temperature sensor now supports thermal zones. Add a thermal zone mapping for the cpus with passive cooling (cpufreq throttling). Signed-off-by: Chen-Yu Tsai w...@csie.org --- changes since v1: - Use thermal dt bindings macros in cooling-device ---

[PATCH v2 2/9] ARM: dts: sunxi: Add dtsi for AXP209 PMIC

2015-01-09 Thread Chen-Yu Tsai
The AXP209 PMIC is used with some Allwinner SoCs. This patch adds a dtsi file listing all the regulator nodes. The regulators are initialized based on their device node names. Signed-off-by: Chen-Yu Tsai w...@csie.org --- changes since v1: - Moved interrupt controller properties to this

[PATCH v2 7/9] ARM: dts: sun5i: hsg-h702: add axp209 regulator nodes

2015-01-09 Thread Chen-Yu Tsai
This patch adds the regulator nodes for the axp209 by including the axp209 dtsi. As the inputs of these regulators are from the axp209's PS output, which is basically just a mux over the 2 inputs, it is considered to be unregulated. Thus we do not provide input supply properties for them. The

[PATCH v2 4/9] ARM: dts: sun7i: cubieboard2: add axp209 regulator nodes

2015-01-09 Thread Chen-Yu Tsai
This patch adds the regulator nodes for the axp209 by including the axp209 dtsi. As the inputs of these regulators are from the axp209's PS output, which is basically just a mux over the 2 inputs, it is considered to be unregulated. Thus we do not provide input supply properties for them. The

Re: [PATCH v2 1/9] Input: sun4i-ts: Add thermal zone sensor support

2015-01-09 Thread Chen-Yu Tsai
On Sat, Jan 10, 2015 at 1:23 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Fri, Jan 09, 2015 at 06:17:48PM +0800, Chen-Yu Tsai wrote: The touchscreen controller has a temperature sensor embedded in the SoC, which already has hwmon support in the driver. Add DT thermal zone support

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

2015-01-09 Thread Eduardo Valentin
On Thu, Jan 08, 2015 at 09:33:54PM +0800, Chen-Yu Tsai wrote: 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

Re: [PATCH v2 6/9] ARM: dts: sun5i: Add cpu thermal zones to dtsi

2015-01-09 Thread Eduardo Valentin
On Fri, Jan 09, 2015 at 06:17:53PM +0800, Chen-Yu Tsai wrote: The core temperature sensor now supports thermal zones. Add a thermal zone mapping for the cpus with passive cooling (cpufreq throttling). Signed-off-by: Chen-Yu Tsai w...@csie.org This patch looks fine to me: Acked-by: Eduardo

Re: [PATCH v2 6/9] ARM: dts: sun5i: Add cpu thermal zones to dtsi

2015-01-09 Thread Eduardo Valentin
On Fri, Jan 09, 2015 at 06:17:53PM +0800, Chen-Yu Tsai wrote: The core temperature sensor now supports thermal zones. Add a thermal zone mapping for the cpus with passive cooling (cpufreq throttling). Signed-off-by: Chen-Yu Tsai w...@csie.org This patch looks fine to me: Acked-by: Eduardo

Re: [PATCH v2 1/9] Input: sun4i-ts: Add thermal zone sensor support

2015-01-09 Thread Eduardo Valentin
Dmitry, On Fri, Jan 09, 2015 at 09:23:18AM -0800, Dmitry Torokhov wrote: On Fri, Jan 09, 2015 at 06:17:48PM +0800, Chen-Yu Tsai wrote: The touchscreen controller has a temperature sensor embedded in the SoC, which already has hwmon support in the driver. Add DT thermal zone support so

Re: [PATCH v2 1/9] Input: sun4i-ts: Add thermal zone sensor support

2015-01-09 Thread Dmitry Torokhov
On Fri, Jan 09, 2015 at 02:33:15PM -0400, Eduardo Valentin wrote: Dmitry, On Fri, Jan 09, 2015 at 09:23:18AM -0800, Dmitry Torokhov wrote: On Fri, Jan 09, 2015 at 06:17:48PM +0800, Chen-Yu Tsai wrote: The touchscreen controller has a temperature sensor embedded in the SoC, which

Re: [PATCH v2 1/9] Input: sun4i-ts: Add thermal zone sensor support

2015-01-09 Thread Dmitry Torokhov
On Fri, Jan 09, 2015 at 06:17:48PM +0800, Chen-Yu Tsai wrote: The touchscreen controller has a temperature sensor embedded in the SoC, which already has hwmon support in the driver. Add DT thermal zone support so we can use it with cpufreq for thermal throttling. This also adds a comment

Re: [PATCH v2 3/9] ARM: dts: sun7i: Add cpu thermal zones to dtsi

2015-01-09 Thread Eduardo Valentin
On Fri, Jan 09, 2015 at 06:17:50PM +0800, Chen-Yu Tsai wrote: The core temperature sensor now supports thermal zones. Add a thermal zone mapping for the cpus with passive cooling (cpufreq throttling). Signed-off-by: Chen-Yu Tsai w...@csie.org This patch looks fine to me: Acked-by: Eduardo

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

2015-01-09 Thread Ping Cheng
Some Cintiq 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 entering proximity, In Range means a pen is detected. This information can be used for palm/touch

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

2015-01-09 Thread Ping Cheng
Users may use unsupported tools on Cintiq or Intuos. When invalid tools or data are detected, they should be ignored. That is, no event from those tools should be reported. Consolidating that code in wacom_intuos_inout simplifies the logic and make it easier for future code change.

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

2015-01-09 Thread Moritz Fischer
On Thu, Jan 8, 2015 at 11:50 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Thu, Jan 08, 2015 at 11:43:09PM +0100, Moritz Fischer wrote: Signed-off-by: Moritz Fischer moritz.fisc...@ettus.com --- drivers/input/misc/Kconfig | 10 +++ drivers/input/misc/Makefile | 1

Re: [PATCH v2 0/4] input: synaptics - report correct width and pressure values

2015-01-09 Thread Oliver Neukum
On Mon, 2015-01-05 at 23:28 +0100, Gabriele Mazzotta wrote: Make image sensors and cr48 sensors report widths and fix the calculation of width and pressure values in some cases. Changes since v1: - Rebased on 35393dcb2ed3 - Get widths from AGM packets too - Include support for cr48

[PATCH 1/2] INPUT/HID: add touch support for SiS touch driver

2015-01-09 Thread tammy_tseng
Hi, This package of patch is to add support for multitouch behavior for SiS touch products. The patch of SiS i2c multitouch driver is in input/touchscreen. Signed-off-by: Tammy Tseng tammy_ts...@sis.com -- diff --git a/linux-3.18.1/drivers/input/touchscreen/Kconfig

[PATCH 2/2] INPUT/HID: add touch support for SiS touch driver

2015-01-09 Thread tammy_tseng
Hi, This package of patch is to add support for multitouch behavior for SiS touch products. The patch of SiS hid multitouch driver is in hid. Signed-off-by: Tammy Tseng tammy_ts...@sis.com -- diff --git a/linux-3.18.1/drivers/hid/Kconfig b/linux-3.18.1/drivers/hid/Kconfig index 2be7677..f42df4d

[PATCH] Input:Evdev Flush pending events on clk change

2015-01-09 Thread Anshul Garg
From: Anshul Garg aksgarg1...@gmail.com If client clk_type is changed , flush pending events from client buffer as events time would be incorrect and queue SYN_DROPPED event. Added check for duplicate clk_type change request. Signed-off-by: Anshul Garg anshu...@samsung.com ---

Re: [patch] HID: roccat: potential out of bounds in pyra_sysfs_write_settings()

2015-01-09 Thread Jiri Kosina
On Fri, 9 Jan 2015, Dan Carpenter wrote: This is a static checker fix. We write some binary settings to the sysfs file. One of the settings is the -startup_profile. There isn't any checking to make sure it fits into the pyra-profile_settings[] array in the profile_activated() function.

Re: [PATCH] hid: Initialize battery_no to -1 correct its format string

2015-01-09 Thread Aniroop Mathur
Hello Mr. Benjamin, On Wed, Jan 7, 2015 at 7:20 AM, Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: On Tue, Jan 6, 2015 at 7:50 PM, Ping Cheng pingli...@gmail.com wrote: Hi Benjamin, The relevant code was introduced by d70420b914c98a3758674c6e9858810e0ab4ea30. Can you take a look and

Fwd: [RFC PATCH 0/2] USB: input: yealink.c: update key mappings

2015-01-09 Thread Henk
Hi Danielle, Thanks for the '#' fix! DRIVER_VERSION should be updated? Yes seems logical, considering that the API has changed slightly by using NUMERIC scan commands. I would suggest: #define DRIVER_VERSION yld-20141222 So users something is new and can track changes to your patches more

Fwd: [RFC PATCH 1/2] USB: input: yealink.c: use KEY_NUMERIC_* for numeric keys, star and pound

2015-01-09 Thread Henk
Signed-off-by: Henk Vergonet henk.vergo...@gmail.com Thanks! On Mon, Dec 22, 2014 at 3:41 PM, Daniele Forsi dfo...@gmail.com wrote: Fix the pound key that being mapped to Shift+3 was returning '£' instead of '#' when using an Italian keyboard mapping and use the same values as the cm109.c

[patch] HID: roccat: potential out of bounds in pyra_sysfs_write_settings()

2015-01-09 Thread Dan Carpenter
This is a static checker fix. We write some binary settings to the sysfs file. One of the settings is the -startup_profile. There isn't any checking to make sure it fits into the pyra-profile_settings[] array in the profile_activated() function. I added a check to pyra_sysfs_write_settings()

Fwd: [RFC PATCH 2/2] USB: input: yealink.c: add mapping for RING and MUTE keys

2015-01-09 Thread Henk
Signed-off-by: Henk Vergonet henk.vergo...@gmail.com On Mon, Dec 22, 2014 at 3:41 PM, Daniele Forsi dfo...@gmail.com wrote: According to the user manual of the VOIP-3 SKY USB phone, the RING key is used to select different ring tones and the MUTE key is used to mute the microphone.

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

2015-01-09 Thread Jiri Kosina
On Thu, 8 Jan 2015, Ping Cheng wrote: Signed-off-by: Ping Cheng pi...@wacom.com Could you please provide changelog? I.e. why is this change needed/desired? Thanks. --- drivers/hid/wacom_wac.c | 50 + 1 file changed, 26 insertions(+), 24

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

2015-01-09 Thread Jiri Kosina
On Thu, 8 Jan 2015, 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 space will see a

Re: [PATCH 0/2] INPUT/HID: add touch support for SiS touch driver

2015-01-09 Thread Oliver Neukum
On Fri, 2015-01-09 at 18:36 +0800, 曾婷葳 (tammy_tseng) wrote: Signed-off-by: Tammy Tseng tammy_ts...@sis.com --- The patch for i2c multitouch driver in input/touchscreen: linux-3.18.1/drivers/input/touchscreen/Kconfig | 14 - linux-3.18.1/drivers/input/touchscreen/Makefile |4 -