Bug 196761 - ELAN I2C touchpad stops working shortly after boot without pinctrl-amd.c patch
Summary: ELAN I2C touchpad stops working shortly after boot without pinctrl-amd.c patch
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Input Devices (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_input-devices
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-25 02:03 UTC by adebeus
Modified: 2017-09-07 21:49 UTC (History)
2 users (show)

See Also:
Kernel Version: 4.12.8
Subsystem:
Regression: No
Bisected commit-id:


Attachments
pinctrl-amd fix from ubuntu (1006 bytes, patch)
2017-08-25 02:03 UTC, adebeus
Details | Diff

Description adebeus 2017-08-25 02:03:57 UTC
Created attachment 258091 [details]
pinctrl-amd fix from ubuntu

On an Acer Aspire E5-553G laptop, the touchpad ceases to function shortly after boot. I have observed this behavior with every kernel I've tried with the exception of the Ubuntu 4.4 series kernels. I've traced the fix to a specific patch Ubuntu has applied to the pinctrl-amd.c file, which is attached, by compiling my own (vanilla) kernel both with and without the attached patch applied.

I'm currently running Gentoo with a 4.4.83 LTS kernel so I can use this patch, but would like to be able to use the latest and greatest. I haven't tried porting the Ubuntu fix to newer kernels but I assume a similar fix should be possible.
Comment 1 Dmitry Torokhov 2017-08-25 22:43:57 UTC
Does it help if you remove line

irqflags = dev->of_node ? 0 : IRQF_TRIGGER_FALLING;

from drivers/input/moune/elan_i2c_core.c ?

Note You need to log in before you can comment on or make changes to this bug.