Bug 199253 - Elantech Touchpad ELAN0612 not working
Summary: Elantech Touchpad ELAN0612 not working
Alias: None
Product: Drivers
Classification: Unclassified
Component: Input Devices (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: drivers_input-devices
Depends on:
Reported: 2018-04-01 17:09 UTC by convme
Modified: 2020-03-22 12:31 UTC (History)
5 users (show)

See Also:
Kernel Version: v4.16-rc7, v4.15.15, v4.15.14
Tree: Mainline
Regression: No

patch agains stable 4.16.12 (321 bytes, patch)
2018-05-26 09:08 UTC, Johannes Wienke
Details | Diff
Updated patch with signed-off line (795 bytes, patch)
2018-06-01 09:44 UTC, Johannes Wienke
Details | Diff

Description convme 2018-04-01 17:09:12 UTC
Touchpad not working on Lenovo v330 14IKB with Elantech ELAN0612 I2C touchpad installed.

dmesg | grep -i elan gives me:

"i2c_hid i2c-ELAN0612:01: i2c-ELAN0612:01 supply vcc not found, using dummy regulator"

xinput does not find any resource matching the touchpad.

Solution, that helped me to get it working was to add an "elan_acpi_id" for this touchpad (ELAN0612) into "/drivers/input/mouse/elan_i2c_core.c" and to recompile the kernel.
Comment 1 Johannes Wienke 2018-05-26 09:08:24 UTC
Created attachment 276201 [details]
patch agains stable 4.16.12

This patch realizes the proposed changes and makes the touchpad work.
Comment 2 Dmitry Torokhov 2018-05-29 19:21:25 UTC
Johannes, can you please format patch as outlined in Documentation/SubmittingPatches (add your signed-off-by) and send to linux-input@vger.kernel.org CC dmitry.torokhov@gmail.com and KT Liao <kt.liao@emc.com.tw>

Comment 3 convme 2018-05-30 09:24:32 UTC
It seems, like there also exists the same problem with Elantech 0618: https://unix.stackexchange.com/a/434655
Comment 4 Johannes Wienke 2018-06-01 09:44:27 UTC
Created attachment 276289 [details]
Updated patch with signed-off line
Comment 5 Johannes Wienke 2018-06-01 09:51:37 UTC
Patch is updated and sent via mail.
Comment 6 parham barzegar 2018-06-20 15:42:47 UTC
Elantech ELAN0618 still doesn't work.
and 'dmesg | grep ELAN' outputs:
i2c_hid i2c-ELAN0618:00: i2c-ELAN0618:00 supply vdd not found, using dummy regulator
Comment 7 Johannes Wienke 2018-06-20 15:43:58 UTC
Sure, this was a fix for 0612, not 0618.
Comment 8 parham barzegar 2018-06-20 16:09:01 UTC
Right, I'll compile it after adding ELAN0618 to that file and will see what happens. though due to https://unix.stackexchange.com/questions/427566/touchpad-on-lenovo-v330-thinkpad-v-series-is-not-recognized/434655#434655 it should work.
Comment 9 parham barzegar 2018-06-22 22:45:41 UTC
It works.(In reply to parham barzegar from comment #8)
> Right, I'll compile it after adding ELAN0618 to that file and will see what
> happens. though due to
> https://unix.stackexchange.com/questions/427566/touchpad-on-lenovo-v330-
> thinkpad-v-series-is-not-recognized/434655#434655 it should work.
Comment 10 parham barzegar 2018-07-13 16:06:13 UTC
Would someone please do the same for it?
Comment 11 Wolfram Sang 2020-03-22 12:31:01 UTC
fixes are upstream:

ELAN0612 - e6e7e9cd8eed0e18217c899843bffbe8c7dae564
ELAN0618 - 8938fc7b8fe9ccfa11751ead502a8d385b607967

Note You need to log in before you can comment on or make changes to this bug.