]> git.baikalelectronics.ru Git - kernel.git/commit
Input: elan_i2c - properly wake up touchpad on ASUS laptops
authorKT Liao <kt.liao@emc.com.tw>
Wed, 13 Jul 2016 18:12:12 +0000 (11:12 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 3 Aug 2016 06:40:40 +0000 (23:40 -0700)
commit9507cce19b148ccb92820ad5c54d9ec41effc7d9
tree84bc00f8e99fb1093a96a31eee969fe7e56241d2
parentd13aad2973e3364c47c33188d7ce8c89f3cf72dc
Input: elan_i2c - properly wake up touchpad on ASUS laptops

Some ASUS laptops were shipped with touchpads that require to be woken up
first, before trying to switch them into absolute reporting mode, otherwise
touchpad would fail to work while flooding the logs with:

elan_i2c i2c-ELAN1000:00: invalid report id data (1)

Among affected devices are Asus E202SA, N552VW, X456UF, UX305CA, and
others. We detect such devices by checking the IC type and product ID
numbers and adjusting order of operations accordingly.

Signed-off-by: KT Liao <kt.liao@emc.com.tw>
Reported-by: Chris Chiu <chiu@endlessm.com>
Reported-by: Vlad Glagolev <stealth@vaygr.net>
Tested-by: Vlad Glagolev <stealth@vaygr.net>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/elan_i2c_core.c