Enable suspend function for i2c-hid device in Vivid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Phidias | ||
Vivid |
Fix Released
|
Undecided
|
Phidias | ||
linux (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
Vivid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
On some platforms the touchpad relies on pinctrl devices to provide GPIO interrupt, but in 3.19.0 pinctrl-cherryview doesn't support suspend well and will lose the config after suspend/resume, then touchpad can't be used.
Also, there is a racing condition in i2c-hid module which makes touchpad unusable when waking up.
[Fix]
This fix has two parts. First part is to enable the suspend/resume function in pinctrl-cherryview:
commit 9eb457b547cc731
Refs: [HEAD]
Author: Mika Westerberg <email address hidden>
Date: Thu Dec 4 12:32:50 2014 +0200
pinctrl: cherryview: Save and restore pin configs over system sleep
The second part is to eliminate the racing condition in i2c-hid:
commit 9a327405014f4ef
Author: Mika Westerberg <email address hidden>
Date: Mon Dec 21 15:26:31 2015 +0200
HID: i2c-hid: Prevent sending reports from racing with device reset
Related branches
CVE References
Changed in hwe-next: | |
assignee: | nobody → Phidias (phidias-chiang) |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Vivid): | |
status: | New → Fix Committed |
Changed in hwe-next: | |
status: | Fix Committed → Fix Released |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1535513
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.