Reported key not released

2014-11-23 Thread Pali Rohár
rfkill state? -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Side effect of pressing special keys

2014-11-23 Thread Pali Rohár
in example scenario 2 also on laptops from scenario 1? KDE4, NetworkManager, ... are know to do that! Note that this problem is not only about rfkill/wifi keys. Same apply for keyboard brightness Fn keys and also for key KEY_KBDILLUMTOGGLE (which toggle keyboard illumination level). -- Pali

Re: [PATCH 0/7] Fixes for ALPS trackstick

2014-11-19 Thread Pali Rohár
On Monday 17 November 2014 08:39:14 Pali Rohár wrote: On Friday 14 November 2014 21:59:31 Dmitry Torokhov wrote: Hi Pali, On Friday, November 14, 2014 08:38:19 PM Pali Rohár wrote: This patch series fix detection and identifying trackstick on machines with ALPS devices. Last patch

Re: [PATCH 0/7] Fixes for ALPS trackstick

2014-11-16 Thread Pali Rohár
On Friday 14 November 2014 21:59:31 Dmitry Torokhov wrote: Hi Pali, On Friday, November 14, 2014 08:38:19 PM Pali Rohár wrote: This patch series fix detection and identifying trackstick on machines with ALPS devices. Last patch split trackstick and bare PS/2 mouse packets between dev2

Re: [PATCH v3 4/4] input: alps: Fix trackstick detection

2014-11-14 Thread Pali Rohár
On Sunday 09 November 2014 12:30:03 Pali Rohár wrote: On Sunday 09 November 2014 09:05:04 Dmitry Torokhov wrote: Hi Pali, On Sun, Nov 02, 2014 at 12:25:10AM +0100, Pali Rohár wrote: int alps_detect(struct psmouse *psmouse, bool set_properties) { - struct alps_data dummy

[PATCH 0/7] Fixes for ALPS trackstick

2014-11-14 Thread Pali Rohár
This patch series fix detection and identifying trackstick on machines with ALPS devices. Last patch split trackstick and bare PS/2 mouse packets between dev2 and dev3 input devices which make sure that driver will send only trackstick data to trackstick input device. Pali Rohár (7): input

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

2014-11-14 Thread Pali Rohár
trackstick detection in alps_detect() function. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/input/mouse/alps.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c index 8d85c79..9ffa98d 100644

[PATCH 6/7] input: alps: Add sanity checks for non DualPoint devices

2014-11-14 Thread Pali Rohár
dmesg so possible problems with driver (e.g received invalid data) will be visible for debugging. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/input/mouse/alps.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/drivers/input/mouse/alps.c b

[PATCH 5/7] input: alps: Fix name, product and version of dev2 input device

2014-11-14 Thread Pali Rohár
This patch fix name, product and version of dev2 input device based on format used in function psmouse_switch_protocol() in file psmouse-base.c. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/input/mouse/alps.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions

[PATCH 7/7] input: alps: Do not report both trackstick and external PS/2 mouse data to one input device

2014-11-14 Thread Pali Rohár
(data will be reported to dev3 instead dev2). Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/input/mouse/alps.c | 163 +++- drivers/input/mouse/alps.h | 14 +++- 2 files changed, 128 insertions(+), 49 deletions(-) diff --git a/drivers/input

[PATCH 4/7] input: alps: Use NULL instead dummy argument for alps_identify

2014-11-14 Thread Pali Rohár
of alps devices. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/input/mouse/alps.c | 114 +++- 1 file changed, 71 insertions(+), 43 deletions(-) diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c index 5603870..0176425 100644

[PATCH 3/7] input: alps: Move alps_dolphin_get_device_area into alps_hw_init_dolphin_v1

2014-11-14 Thread Pali Rohár
This patch moves function call alps_dolphin_get_device_area() from function alps_identify() to alps_hw_init_dolphin_v1() so alps_identify() will not call any other psmouse commands. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/input/mouse/alps.c | 13 +++-- 1 file changed

[PATCH 2/7] input: alps: Move trackstick detection to alps_hw_init_*

2014-11-14 Thread Pali Rohár
Now when alps_identify() does not need do trackstick detection it is safe to move code init hw_init functions. This patch also fix trackstick detection in function alps_hw_init_v3() which remove ALPS_DUALPOINT flag when trackstick is not detected. Signed-off-by: Pali Rohár pali.ro...@gmail.com

Re: [PATCH v3 4/4] input: alps: Fix trackstick detection

2014-11-14 Thread Pali Rohár
On Friday 14 November 2014 12:22:33 Pali Rohár wrote: On Sunday 09 November 2014 12:30:03 Pali Rohár wrote: On Sunday 09 November 2014 09:05:04 Dmitry Torokhov wrote: Hi Pali, On Sun, Nov 02, 2014 at 12:25:10AM +0100, Pali Rohár wrote: int alps_detect(struct psmouse *psmouse

Re: tsc2005 touchscreen: implement disable attribute

2014-11-10 Thread Pali Rohár
On Sunday 09 November 2014 21:01:42 Dmitry Torokhov wrote: On Sun, Nov 09, 2014 at 01:49:19PM +0100, Pali Rohár wrote: On Sunday 09 November 2014 13:40:25 Sebastian Reichel wrote: Hi, On Sun, Nov 09, 2014 at 12:56:37PM +0100, Pavel Machek wrote: Implement disable attribute

Re: [PATCH v3 3/4] input: alps: For protocol V3, do not process data when last packet's bit7 is set

2014-11-10 Thread Pali Rohár
On Sunday 09 November 2014 21:34:59 Dmitry Torokhov wrote: On Sun, Nov 09, 2014 at 12:22:51PM +0100, Pali Rohár wrote: On Sunday 09 November 2014 08:50:39 Dmitry Torokhov wrote: Hi Pali, On Sun, Nov 02, 2014 at 12:25:09AM +0100, Pali Rohár wrote: Sometimes on Dell Latitude laptops

Re: [PATCH v3 4/4] input: alps: Fix trackstick detection

2014-11-09 Thread Pali Rohár
On Sunday 09 November 2014 09:05:04 Dmitry Torokhov wrote: Hi Pali, On Sun, Nov 02, 2014 at 12:25:10AM +0100, Pali Rohár wrote: int alps_detect(struct psmouse *psmouse, bool set_properties) { - struct alps_data dummy; + unsigned char e6[4]; - if (alps_identify(psmouse

Re: tsc2005 touchscreen: implement disable attribute

2014-11-09 Thread Pali Rohár
). CCed Dmitry, what do you think about it? -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: [PATCH v3 0/4] Fixes for ALPS driver

2014-11-06 Thread Pali Rohár
On Sunday 02 November 2014 15:14:55 Hans de Goede wrote: Hi, On 11/02/2014 12:25 AM, Pali Rohár wrote: This patch series tries to fix problems with ALPS dualpoint devices on Dell Latitude laptops which are probably caused by bugs in Dell BIOS, Dell EC or in ALPS touchpad firmware

[PATCH v3 2/4] input: alps: Allow 2 invalid packets without resetting device

2014-11-01 Thread Pali Rohár
time and when doing reset on some Dell laptops touchpad, trackstick and also keyboard do not respond. So it is better to do it only if really necessary. Signed-off-by: Pali Rohár pali.ro...@gmail.com Tested-by: Pali Rohár pali.ro...@gmail.com Cc: sta...@vger.kernel.org --- drivers/input/mouse

[PATCH v3 0/4] Fixes for ALPS driver

2014-11-01 Thread Pali Rohár
to userspace. Reported bugs: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1258837 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1320022 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1272624 https://bugzilla.redhat.com/show_bug.cgi?id=1145954 Pali Rohár (4): input: alps: Do not try

Re: [PATCH 1/3] input: alps: Reset mouse before identifying it

2014-11-01 Thread Pali Rohár
On Thursday 23 October 2014 17:44:04 Dmitry Torokhov wrote: On Sun, Oct 19, 2014 at 01:07:41PM +0200, Pali Rohár wrote: On Wednesday 15 October 2014 20:22:56 Dmitry Torokhov wrote: On Wed, Oct 15, 2014 at 08:10:39PM +0200, Pali Rohár wrote: On Wednesday 15 October 2014 20:00:11 Dmitry

[PATCH v3 1/4] input: alps: Do not try to parse data as 3 bytes packet when driver is out of sync

2014-11-01 Thread Pali Rohár
packets is there since first version of alps.c existence (since 2.6.9-rc2). We do not want to break some older ALPS devices. And disabling processing bare PS/2 packets when driver is out of sync should not break it. Signed-off-by: Pali Rohár pali.ro...@gmail.com Tested-by: Pali Rohár pali.ro

Re: 3.18.rc1: compile failure in tsc2005.c

2014-10-23 Thread Pali Rohár
]: *** [drivers/input] Error 2 make[1]: *** Waiting for unfinished jobs CC net/core/request_sock.o Hi, I read somewhere that strict_strtoul function was replaced by some kstrtol function... So maybe somebody forgot to fix tsc2005 driver? -- Pali Rohár pali.ro...@gmail.com signature.asc

Re: [PATCH 1/3] input: alps: Reset mouse before identifying it

2014-10-19 Thread Pali Rohár
On Wednesday 15 October 2014 20:22:56 Dmitry Torokhov wrote: On Wed, Oct 15, 2014 at 08:10:39PM +0200, Pali Rohár wrote: On Wednesday 15 October 2014 20:00:11 Dmitry Torokhov wrote: On Wed, Oct 15, 2014 at 07:57:37PM +0200, Pali Rohár wrote: On Wednesday 15 October 2014 19:43:15 Dmitry

[PATCH 3/3] input: alps: Reset mouse and ALPS driver immediately after first invalid packet

2014-10-03 Thread Pali Rohár
cursor jumps. Signed-off-by: Pali Rohár pali.ro...@gmail.com Tested-by: Pali Rohár pali.ro...@gmail.com --- drivers/input/mouse/alps.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c index b1f44d4..d2b144f 100644 --- a/drivers/input

Re: [PATCH 2/3] input: alps: For protocol V3, do not process data when last packet's bit7 is set

2014-10-03 Thread Pali Rohár
On Friday 03 October 2014 11:51:22 Hans de Goede wrote: Hi, On 10/03/2014 11:43 AM, Pali Rohár wrote: Sometimes laptops with closed lid receive invalid ALPS protocol V3 packets with last bit7 set. This happens on Dell Latitude laptops and it looks like it is BIOS bug. Probably EC

Re: [PATCH 3/3] input: alps: Reset mouse and ALPS driver immediately after first invalid packet

2014-10-03 Thread Pali Rohár
On Friday 03 October 2014 11:55:52 Hans de Goede wrote: Hi, On 10/03/2014 11:43 AM, Pali Rohár wrote: For unknown reasons linux psmouse alps driver sometimes receive totally invalid packet sequences on Dell Latitude laptops. According to ALPS HW engineers these invalid packets do

Re: [PATCH 3/3] input: alps: Reset mouse and ALPS driver immediately after first invalid packet

2014-10-03 Thread Pali Rohár
amount of time ? It is one or two seconds which is OK for me. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

[PATCH 0/2] dell-wmi: Add support for Fn key combinations

2014-05-17 Thread Pali Rohár
00 Strings: As you can see, more different keys are mapped to one keycode 0xFF. Pali Rohár (2): Input: Add keycodes for some missing Fn key combinations dell-wmi: Add support for Fn key combinations drivers/platform/x86/dell-wmi.c | 27 ++- include/uapi

[PATCH 2/2] dell-wmi: Add support for Fn key combinations

2014-05-17 Thread Pali Rohár
for all of them only KEY_PROG3. This patch adding new table for mapping Bios DMI scancodes to linux keycodes when bios DMI keycode is set to generic keycode 255. So different Fn key combinations will have different keycodes. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/platform/x86

[PATCH 1/2] Input: Add keycodes for some missing Fn key combinations

2014-05-17 Thread Pali Rohár
There are already defined some Fn key combinations, but not all. This patch adds missing combinations for support in dell-wmi driver. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- include/uapi/linux/input.h |6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/linux

Re: [PATCH 1/2] Input: Add keycodes for some missing Fn key combinations

2014-05-17 Thread Pali Rohár
On Saturday 17 May 2014 22:30:54 Dmitry Torokhov wrote: Hi Pali, On Sat, May 17, 2014 at 04:43:36PM +0200, Pali Rohár wrote: There are already defined some Fn key combinations, but not all. This patch adds missing combinations for support in dell-wmi driver. Signed-off-by: Pali

Re: [PATCH] INPUT: Route keyboard LEDs through the generic LEDs layer.

2014-04-06 Thread Pali Rohár
2014-04-01 9:02 GMT+02:00 Pali Rohár pali.ro...@gmail.com: 2014-03-31 14:23 GMT+02:00 Samuel Thibault samuel.thiba...@ens-lyon.org: This permits to reassign keyboard LEDs to something else than keyboard leds state, by adding keyboard led and modifier triggers connected to a series of VT input

Re: [PATCH] Route keyboard LEDs through the generic LEDs layer.

2014-04-01 Thread Pali Rohár
? -- Pali Rohár pali.ro...@gmail.com -- To unsubscribe from this list: send the line unsubscribe linux-input in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v4] input: Add LED support to Synaptics device

2013-12-31 Thread Pali Rohár
On Saturday 20 April 2013 20:51:13 Pali Rohár wrote: On Thursday 22 April 2010 08:16:42 Takashi Iwai wrote: diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig index c714ca2..91d3517 100644 --- a/drivers/input/mouse/Kconfig +++ b/drivers/input/mouse/Kconfig @@ -19,6

Re: input question: ambient light sensor button

2013-11-20 Thread Pali Rohár
On Tuesday 19 November 2013 22:27:36 Dmitry Torokhov wrote: On Thu, Nov 14, 2013 at 01:02:31PM +0100, Pali Rohár wrote: On Wednesday 13 November 2013 17:28:40 Dmitry Torokhov wrote: On Wed, Nov 13, 2013 at 11:47:18AM +0100, Jiri Kosina wrote: On Sun, 15 Sep 2013, Pali Rohár wrote: I

Re: input question: ambient light sensor button

2013-11-14 Thread Pali Rohár
On Wednesday 13 November 2013 17:28:40 Dmitry Torokhov wrote: On Wed, Nov 13, 2013 at 11:47:18AM +0100, Jiri Kosina wrote: On Sun, 15 Sep 2013, Pali Rohár wrote: I do not know where to ask this question, but I think that kernel developers could help me. I have notebook with one

Re: [PATCH v4] input: Add LED support to Synaptics device

2013-04-20 Thread Pali Rohár
with this patch? -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

[PATCH] input: tsc2005: Add MODULE_ALIAS

2013-02-16 Thread Pali Rohár
* This patch enable autoloading tsc2005 driver when is compiled as module Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/input/touchscreen/tsc2005.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/tsc2005.c b/drivers/input/touchscreen/tsc2005.c index

<    1   2