[PATCH 0/4] Input: elan - add support for SMBus Host Notify and trackstick

From: Benjamin Tissoires
Date: Wed Sep 28 2016 - 10:34:21 EST


So it looks like Elantech devices also suffer from issues when used over PS/2.
They also appear to behave properly when used over SMBus. On many systems, these
touchpads are not enumerated by ACPI, but they are actually correctly working
(after a few fixes from this series).

I have been working with an owner to automatically bind the touchpad from PS/2,
but mentoring a new comer takes time. Anyway, right now, it looks like adding
"echo elan_i2c 0x15 > /sys/bus/i2c/devices/i2c-N/new_device" (N being the SMBus
adapter number) at boot works well enough to have the touchpad bound.

Currently the trackstick needs to be manually added by an extra patch but the
information should be provided through PS/2 when the rest of the series comes.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=1326577
Link: https://bugzilla.redhat.com/show_bug.cgi?id=1313939


Benjamin Tissoires (4):
Input: elan_i2c - fix return tests of i2c_smbus_read_block_data()
Input: elan_i2c - always output the device information
Input: elan_i2c - add Host Notify support
Input: elan_i2c - add trackstick report

drivers/input/mouse/elan_i2c.h | 10 ++
drivers/input/mouse/elan_i2c_core.c | 193 ++++++++++++++++++++++++++++++-----
drivers/input/mouse/elan_i2c_smbus.c | 6 +-
3 files changed, 180 insertions(+), 29 deletions(-)