Commit 76772819 authored by KT Liao's avatar KT Liao Committed by popcornmix
Browse files

Input: elan_i2c - properly wake up touchpad on ASUS laptops



commit 2de4fcc6 upstream.

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: default avatarKT Liao <kt.liao@emc.com.tw>
Reported-by: default avatarChris Chiu <chiu@endlessm.com>
Reported-by: default avatarVlad Glagolev <stealth@vaygr.net>
Tested-by: default avatarVlad Glagolev <stealth@vaygr.net>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c93b7d27
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment