Re: [PATCH v3] input: Add support for ChipOne icn8318 based touchscreens

2015-03-22 Thread Hans de Goede
Hi, On 22-03-15 05:03, Dmitry Torokhov wrote: Hi Hans, On Tue, Mar 10, 2015 at 06:05:33PM +0100, Hans de Goede wrote: + error = devm_request_threaded_irq(dev, client-irq, NULL, icn8318_irq, + IRQF_TRIGGER_FALLING | IRQF_ONESHOT, Shouldn't we let

Re: [PATCH] Input: ALPS - fix max coordinates for v5 and v7 protocols

2015-03-22 Thread Hans de Goede
Hi, On 22-03-15 04:36, Dmitry Torokhov wrote: Commit 3296f71cd2fde7a2ad52e66a27eae419f6328066 (Input: ALPS - consolidate setting protocol parameters) inadvertently moved call to alps_dolphin_get_device_area() from v5 to v7 protocol, causing both protocols report incorrect maximum values for X

[PATCH] Input: ALPS - Report v3 pinnacle trackstick device only if is present

2015-03-22 Thread Pali Rohár
This patch move v3 pinnacle code for trackstick detection from alps_hw_init_v3() to alps_set_protocol() so ALPS_DUALPOINT flag can be cleared before registering trackstick input device in kernel. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/input/mouse/alps.c | 12 +++- 1

Re: [PATCH] Input: ALPS - fix max coordinates for v5 and v7 protocols

2015-03-22 Thread Pali Rohár
On Sunday 22 March 2015 11:48:17 Hans de Goede wrote: Hi, On 22-03-15 04:36, Dmitry Torokhov wrote: Commit 3296f71cd2fde7a2ad52e66a27eae419f6328066 (Input: ALPS - consolidate setting protocol parameters) inadvertently moved call to alps_dolphin_get_device_area() from v5 to v7 protocol,

[PATCH] Input: ALPS - Detect trackstick presence for v7 protocol

2015-03-22 Thread Pali Rohár
This patch adds detection of trackstick for v7 protocol devices. Code in this patch is used in official Dell touchpad linux drivers for Dell models: Dell Latitude E5250/5250, E5450/5450, E5550/5550 Detection code and base reg for alps v3 rushmore and v7 devices is exacly same. Also user in bug

loan offer @3% intrest rate

2015-03-22 Thread Royal Finance and Loan Company
Good day, Welcome to Royal Finance Loan Company a financial refuge and hope to people in Need based in malaysia. Are you in need of adequate financing and do not know how to go about it? Are you wallowing in debts or watching a sick relative die due to lack of financial assistance? Are you in

[PATCH v3 5/5] input: MT - add ABS_TOOL_WIDTH to the legacy pointer emulation

2015-03-22 Thread Gabriele Mazzotta
Userspace might still rely on ABS_TOOL_WIDTH to determine the width of contacts, so add it to the legacy pointer emulation. Signed-off-by: Gabriele Mazzotta gabriele@gmail.com --- drivers/input/input-mt.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git

[PATCH v3 1/5] input: synaptics - fix width values calculation on image sensors

2015-03-22 Thread Gabriele Mazzotta
When multiple fingers are on the touchpad, W holds the finger count rather than the width. Retrieve the correct value that is encoded in X, Y and Z of AGM and SGM packets. The minimum width reported is 8 rather than 4 in this case, while the maximum remains 15. Signed-off-by: Gabriele Mazzotta

[PATCH v3 3/5] input: synaptics - setup devices depending on their capabilities

2015-03-22 Thread Gabriele Mazzotta
ABS_X, ABS_Y and ABS_PRESSURE were defined for all the devices, even if not needed. Fix this by configuring each device depending on its capabilities. Signed-off-by: Gabriele Mazzotta gabriele@gmail.com --- drivers/input/mouse/synaptics.c | 27 ++- 1 file changed, 14

[PATCH v3 2/5] input: synaptics - change default width value of cr48 sensors

2015-03-22 Thread Gabriele Mazzotta
The minimum value these sensors can report is 4, so this should be the value used when W is not reporting the width. Signed-off-by: Gabriele Mazzotta gabriele@gmail.com --- drivers/input/mouse/synaptics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v3 0/5] input: synaptics - report correct width and pressure values

2015-03-22 Thread Gabriele Mazzotta
Hi, I updated the series fixing the error reported by Shunsuke Shimizu that I made when I rebased v1. I've also included a change to make input devices correctly report their capabilities and included a change to make MT devices report widths as ABS_TOOL_WIDTH. Gabriele Mazzotta (5): input:

Re: [PATCH v3] input: Add support for ChipOne icn8318 based touchscreens

2015-03-22 Thread Dmitry Torokhov
On Sun, Mar 22, 2015 at 12:00:55PM +0100, Hans de Goede wrote: Hi, On 22-03-15 05:03, Dmitry Torokhov wrote: Hi Hans, On Tue, Mar 10, 2015 at 06:05:33PM +0100, Hans de Goede wrote: + error = devm_request_threaded_irq(dev, client-irq, NULL, icn8318_irq, +