There are many Lenovo laptop which need elan_i2c support.
Elan collects the list ands add to add to elan_acpi_id[]
Signed-off-by: KT Liao
---
drivers/input/mouse/elan_i2c_core.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/drivers/input/mouse/elan_i2c_core.c
(ELAN0600:00) vs. 00015a00 (timer)
I can't reproduce the issue in SUSE with the same kernel.
And it's a 5 years old laptop, ELAN can't find the module for testing.
Instead of IRQ debugging IRQ, I tried another approach.
I added i2c_reset in sysfs to avoid IRQ requesting in probe.
Signed-
Sometimes touchpad will be reset to mouse mode unexpectedly.
And cause invalid report detection.
I add a mouse report detection and send mode-switching command again.
Signed-off-by: KT Liao
---
drivers/input/mouse/elan_i2c_core.c | 9 +
1 file changed, 9 insertions(+)
diff --git a
Add ELAN0622 in ACPI mapping table to support Ideapad 330-15AST ELAN touchpad
Signed-off-by: KT Liao
Reported-by: Anant Shende
---
drivers/input/mouse/elan_i2c_core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/input/mouse/elan_i2c_core.c
b/drivers/input/mouse/elan_i2c_core.c
Some touchpad has middle key and it will be indicated in bit 2 of packet[0].
We need to fix V4 formation's byte mask to prevent error decoding.
Signed-off-by: KT Liao
---
drivers/input/mouse/elantech.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/
Original 20ms delay is a margin timing after a block writing
in FW update flow.
Sometimes it will cause fail during FW-updating if I2C timing delay.
We offten see this issue in rockchip's I2C host.
Extend the delay timing is the safest way to improve it.
Signed-off-by: KT Liao
---
dr
Origianl ic-body field is not sufficient for upcoming IC,
Elan ps/2 driver extend the formation to support future IC.
If the IC ver is 0xf, the setting of etd->hw_version still keep 4
And add a new command to indicate a real IC body
Signed-off-by: KT Liao
---
drivers/input/mouse/elantech.c |
Extend information accessing to get button setting information
and support L/R button-pad for I2C touchpad
Signed-off-by: KT Liao
---
drivers/input/mouse/elan_i2c.h | 2 +-
drivers/input/mouse/elan_i2c_core.c | 9 +++--
drivers/input/mouse/elan_i2c_i2c.c | 13
---
drivers/input/mouse/elan_i2c_core.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/input/mouse/elan_i2c_core.c
b/drivers/input/mouse/elan_i2c_core.c
index 3b616cb..0d111322 100644
--- a/drivers/input/mouse/elan_i2c_core.c
+++ b/drivers/input/mouse/elan_i2c_core.c
@@ -1248,6 +12
---
drivers/input/mouse/elantech.c | 28
drivers/input/mouse/elantech.h | 3 +++
2 files changed, 27 insertions(+), 4 deletions(-)
diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
index 65c9de3..14ab5ba 100644
--- a/drivers/input/mouse/ela
---
drivers/input/mouse/elan_i2c_core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/input/mouse/elan_i2c_core.c
b/drivers/input/mouse/elan_i2c_core.c
index 3b616cb..88fc0f8 100644
--- a/drivers/input/mouse/elan_i2c_core.c
+++ b/drivers/input/mouse/elan_i2c_core.c
@@ -1247,6 +1247,
Some old touchapd FWs have interrupt issue after FW updating.
Use reading 34 bytes before IC reset command to clean INT stauts
The modification has been tested in some chromebook system
It should not affect general touchpad in Linux system.
Signed-off-by: KT Liao
---
drivers/input/mouse
Use wait_for_completion_timeout to prevent breaking of FW updating from
unexpected signal
Signed-off-by: KT Liao
---
drivers/input/mouse/elan_i2c_i2c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/mouse/elan_i2c_i2c.c
b/drivers/input/mouse/elan_i2c_i2c.c
One Elan sample which sample version is 0x74 and hw_version is 0x04 has a bug
in abs mode, so let it run in default mode
Signed-off-by: KT Liao
---
drivers/input/mouse/elantech.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse
---
drivers/input/mouse/elantech.c | 152 +++--
1 file changed, 131 insertions(+), 21 deletions(-)
diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
index db7d1d6..acfe7f2 100644
--- a/drivers/input/mouse/elantech.c
+++ b/drivers/inpu
)
* Author: KT Liao
- * Version: 1.6.2
+ * Version: 1.6.3
*
* Based on cyapa driver:
* copyright (c) 2011-2012 Cypress Semiconductor, Inc.
@@ -41,7 +41,7 @@
#include "elan_i2c.h"
#define DRIVER_NAME"elan_i2c"
-#define ELAN_DRIVER_VERSION"1.6.2"
@@ -5,7 +5,7 @@
*
* Author: 林政維 (Duson Lin)
* Author: KT Liao
- * Version: 1.6.2
+ * Version: 1.6.3
*
* Based on cyapa driver:
* copyright (c) 2011-2012 Cypress Semiconductor, Inc.
@@ -41,7 +41,7 @@
#include "elan_i2c.h"
#define DRIVER_NAME"elan_i2c"
-#defi
Fix some Asus touchapod which casue TP no funciton sometimes, the patch detect
some specific touchpad and run a special initialize
Signed-off-by: KT Liao
---
drivers/input/mouse/elan_i2c_core.c | 93 -
1 file changed, 71 insertions(+), 22 deletions(-)
diff
Signed-off-by: KT Liao
---
drivers/input/mouse/elan_i2c_core.c | 81 +
1 file changed, 65 insertions(+), 16 deletions(-)
diff --git a/drivers/input/mouse/elan_i2c_core.c
b/drivers/input/mouse/elan_i2c_core.c
index 2f58985..1c200fb 100644
--- a/drivers/input
---
drivers/input/input-mt.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers/input/input-mt.c b/drivers/input/input-mt.c
index 54fce56..b89aaa7 100644
--- a/drivers/input/input-mt.c
+++ b/drivers/input/input-mt.c
@@ -218,8 +218,17 @@ void input_mt_report_poi
20 matches
Mail list logo