--git a/drivers/input/mouse/elan_i2c_core.c
b/drivers/input/mouse/elan_i2c_core.c
index 5b5f403..39d9929 100644
--- a/drivers/input/mouse/elan_i2c_core.c
+++ b/drivers/input/mouse/elan_i2c_core.c
@@ -4,7 +4,7 @@
* Copyright (c) 2013 ELAN Microelectronics Corp.
*
* Author: 林政維 (Duson Lin
(Duson Lin)
- * Version: 1.5.9
+ * Version: 1.6.0
*
* Based on cyapa driver:
* copyright (c) 2011-2012 Cypress Semiconductor, Inc.
@@ -40,7 +40,7 @@
#include "elan_i2c.h"
#define DRIVER_NAME"elan_i2c"
-#define ELAN_DRIVER_VERSION"1.5.9"
When driver get exception ic type (0xFF), maybe occurred from wrong
I2C protocol communication, system crash or other unknown situation,
instead of ic_type we use iap_version to get firmware information.
Signed-off-by: Duson Lin
---
drivers/input/mouse/elan_i2c_core.c |6 +++---
1 file
When driver get exception ic type (0xFF), maybe occurred from wrong
I2C protocol communication, system crash or other unknown situation,
instead of ic_type we use iap_version to get firmware information.
Signed-off-by: Duson Lin
---
drivers/input/mouse/elan_i2c_core.c |8
1 file
= 147.36.
--
Thanks,
ELAN Duson
✉ Email: duson...@emc.com.tw
--
> Dmitry Torokhov 於 2015年4月16日 上午1:47 寫道:
>
> On Wed, Apr 15, 2015 at 09:55:43AM +0800, DusonLin wrote:
>> The trace number d
When hover event coming, set ABS_MT_DISTANCE as 1, otherwise clear to 0.
Signed-off-by: Duson Lin
---
drivers/input/mouse/elan_i2c_core.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/drivers/input/mouse/elan_i2c_core.c
b/drivers/input/mouse
Hi Dmitry,
Is this patch looks good for you?
If you have any advice, please let me know.
--
Thank you
ELAN Duson
✉ Email: duson...@emc.com.tw
--
> duson 於 2015年4月17日 上午9:56 寫道:
>
> When ho
Hi Dmitry,
How about the description? Is it looks good for you?
Please let me know if you have any concern.
--
Thank you,
ELAN Duson
✉ Email: duson...@emc.com.tw
--
> duson 於 2015年4月16日 上午9:37
constent pi) and the pressure get from firmware will near 16.
Signed-off-by: Duson Lin
---
drivers/input/mouse/elan_i2c.h |7 +--
drivers/input/mouse/elan_i2c_core.c | 25 +++--
drivers/input/mouse/elan_i2c_i2c.c | 26 --
drivers
In order to support multi ic type for i2c/smbus protocol, add get ic type
command and check fw vaild page count and signature address function.
Signed-off by: Duson Lin
---
drivers/input/mouse/elan_i2c.h |5 ++--
drivers/input/mouse/elan_i2c_core.c | 44
Hi Dmitry
> -Original Message-
> From: linux-input-ow...@vger.kernel.org
[mailto:linux-input-ow...@vger.kernel.org]
> On Behalf Of Dmitry Torokhov
> Sent: Monday, December 09, 2013 2:32 PM
> To: Duson Lin
> Cc: linux-kernel@vger.kernel.org; linux-in...@vger.kernel
t is no need to check the packet[0] for sanity check when doing
elantech_packet_check_v4() function for fw_version = 0x470f01 touchpad.
Signed-off by: Duson Lin
---
drivers/input/mouse/elantech.c | 25 ++---
drivers/input/mouse/elantech.h |1 +
2 files changed, 23
It is no need to check the packet[0] for sanity check when doing
elantech_packet_check_v4() function for fw_version = 0x470f01 touchpad.
Signed-off by: Duson Lin
---
drivers/input/mouse/elantech.c | 26 +++---
drivers/input/mouse/elantech.h |1 +
2 files changed, 24
It is no need to check the packet[0] for sanity check when doing
elantech_packet_check_v4() function for fw_version = 0x470f01 touchpad.
Signed-off by: Duson Lin
---
drivers/input/mouse/elantech.c | 20
drivers/input/mouse/elantech.h |1 +
2 files changed, 21
In order to support more projects in the feture, we expand the
maxmium product_id value form 0xFF to 0x.
Signed-off by: Duson Lin
---
drivers/input/mouse/elan_i2c.h |2 +-
drivers/input/mouse/elan_i2c_core.c |6 +++---
drivers/input/mouse/elan_i2c_i2c.c |4 ++--
drivers
object_touch_surface
BTN_TOUCH 0 01
BTN_TOOL_FINGER 0 11
ABS_DISTANCE 0 10
Signed-off by: Duson Lin
1
0
Signed-off by: Duson Lin
---
drivers/input/mouse/elan_i2c_core.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/drivers/input/mouse/elan_i2c_core.c
b/drivers/input/mouse/elan_i2c_core.c
index 2f58985
Signed-of-by: Duson Lin
---
drivers/input/mouse/elan_i2c_core.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers/input/mouse/elan_i2c_core.c
b/drivers/input/mouse/elan_i2c_core.c
index 16ac595..357670e 100644
--- a/drivers/input/mouse/elan_i2c_core.c
It is no need to check the packet[0] for sanity check when doing
elantech_packet_check_v4() function for fw_version = 0x470f01 touchpad.
Signed-off by: Duson Lin
---
drivers/input/mouse/elantech.c | 28 +---
drivers/input/mouse/elantech.h |1 +
2 files changed, 26
Signed-off by: Duson Lin
---
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 62641f2..ce97e28 100644
--- a/drivers/input/mouse/elan_i2c_core.c
+++ b/drivers/input/mouse
We want the hover event like BTN_LEFT, even no contract object,
it still can be reported to upper OS system.
Signed-off by: Duson Lin
---
drivers/input/mouse/elan_i2c_core.c | 12 +---
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/drivers/input/mouse/elan_i2c_core.c
b
The 0x03 is valid 3000 serial ic type too.
Signed-off-by: Duson Lin
---
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 fa94530..16ac595 100644
--- a/drivers/input/mouse
To match different firmware file format, we replace original firmware file size
checking with the signature metadata comparison when update firmware, If failed,
the update will be aborted.
Signed-off-by: Duson Lin
---
drivers/input/mouse/elan_i2c.h |6 +++---
drivers/input/mouse
100644
index 000..9892ee1
--- /dev/null
+++ b/drivers/input/mouse/elan_i2c.c
@@ -0,0 +1,1846 @@
+/*
+ * Elan I2C/SMBus Touchpad driver
+ *
+ * Copyright (c) 2013 ELAN Microelectronics Corp.
+ *
+ * Author: 林政維 (Duson Lin)
+ * Version: 1.4.6
+ *
+ * This program is free software; you can redistrib
This driver adds support for elan i2c/smbus touchpad found on some laptops PC
Signed-off-by: Duson Lin
---
drivers/input/mouse/Kconfig| 10 +
drivers/input/mouse/Makefile |1 +
drivers/input/mouse/elan_i2c.c | 908
3 files changed, 919
From: Duson Lin
This driver adds support for elan i2c touchpad found on some laptops.
---
drivers/input/mouse/Kconfig| 10 +
drivers/input/mouse/Makefile |1 +
drivers/input/mouse/elan_i2c.c | 1439
3 files changed, 1450 insertions(+)
create
This driver adds support for elan i2c/smbus touchpad found on some laptops PC
Signed-off-by: Duson Lin
---
drivers/input/mouse/Kconfig| 10 +
drivers/input/mouse/Makefile |1 +
drivers/input/mouse/elan_i2c.c | 890
3 files changed, 901
Modify:
(1) crc_enabled only support for v3 and v4 touchpad, so initialize crc_enabled
as false first and
check this hardware flag when hw_version as 3 or 4.
Signed-off-by: Duson Lin
---
drivers/input/mouse/elantech.c | 30 ++
drivers/input/mouse/elantech.h |2
This driver adds support for elan i2c/smbus touchpad found on some laptops PC
Signed-off-by: Duson Lin
---
drivers/input/mouse/Kconfig| 10 +
drivers/input/mouse/Makefile |1 +
drivers/input/mouse/elan_i2c.c | 890
3 files changed, 901
Remove duplicate "repeat--" from function elan_initialize.
Signed-off-by: Duson Lin
---
drivers/input/mouse/elan_i2c_core.c |1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/input/mouse/elan_i2c_core.c
b/drivers/input/mouse/elan_i2c_core.c
index f24078b..4b970e2 10
To match different firmware file format, we replace original firmware file size
checking with the signature metadata comparison when update firmware, If failed,
the update will be aborted.
Signed-off-by: Duson Lin
---
drivers/input/mouse/elan_i2c.h |6 +++---
drivers/input/mouse
The resume function always return success, so stop event can not be
triggered when "suspend_stress_test" running. In order to debug more
easily, we add some error messages in elan_enable_power and
elan_disable_power funtion.
Signed-off-by: Duson Lin
---
drivers/input/mouse/elan_
32 matches
Mail list logo