linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Input: elan - add support for SMBus Host Notify and trackstick
@ 2016-09-28 14:34 Benjamin Tissoires
  2016-09-28 14:34 ` [PATCH 1/4] Input: elan_i2c - fix return tests of i2c_smbus_read_block_data() Benjamin Tissoires
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Benjamin Tissoires @ 2016-09-28 14:34 UTC (permalink / raw)
  To: Dmitry Torokhov, KT Liao, Adrian Alves; +Cc: linux-input, linux-kernel

Hi,

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

Cheers,
Benjamin

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(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-10-03 14:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-28 14:34 [PATCH 0/4] Input: elan - add support for SMBus Host Notify and trackstick Benjamin Tissoires
2016-09-28 14:34 ` [PATCH 1/4] Input: elan_i2c - fix return tests of i2c_smbus_read_block_data() Benjamin Tissoires
2016-10-01  0:02   ` Dmitry Torokhov
2016-09-28 14:34 ` [PATCH 2/4] Input: elan_i2c - always output the device information Benjamin Tissoires
2016-09-30 23:52   ` Dmitry Torokhov
2016-09-28 14:34 ` [PATCH 3/4] Input: elan_i2c - add Host Notify support Benjamin Tissoires
2016-09-30 23:57   ` Dmitry Torokhov
2016-10-03 14:33     ` Benjamin Tissoires
2016-09-28 14:34 ` [PATCH 4/4] Input: elan_i2c - add trackstick report Benjamin Tissoires

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).