Input: elantech/SMBus - export all capabilities from the PS/2 node
The recent touchpads might not have all the information regarding the characteristics through the I2C port. On some Lenovo t480s, this results in the touchpad not being detected as a clickpad, and on the Lenovo P52, this results in a failure while fetching the resolution through I2C. We need to imitate the Windows behavior: fetch the data under PS/2, and limit the querries under I2C. This patch prepares this by exporting the info from PS/2. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:

committed by
Dmitry Torokhov

parent
e3a9a12906
commit
3abcc5329a
@@ -150,6 +150,8 @@ struct elantech_device_info {
|
||||
unsigned int y_max;
|
||||
unsigned int x_res;
|
||||
unsigned int y_res;
|
||||
unsigned int x_traces;
|
||||
unsigned int y_traces;
|
||||
unsigned int width;
|
||||
unsigned int bus;
|
||||
bool paritycheck;
|
||||
|
Reference in New Issue
Block a user