[bionic] hts221 sensor stops working after resume from S3/S4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Unassigned |
Bug Description
[SRU Justification]
[Impact]
Dell Edge 300x IoT Gateways have a relative humidity sensor hts221. The sensor stops working (and reports stale values) after the system resumes from suspend-
== Fix ==
AV_CONF register (RH & TEMP. oversampling ratio's) and CTRL1 register (ODR & BDU settings) values are lost after suspend.
While the change in AV_CONF updates the sensor resolution modes (overriding the user configuration before the device went to suspend); loss of the contents of the CTRL1 register leads to failure in reading sensor
This patch restores the AV_CONF & CTRL1 registers after
Already submitted upstream for both 4.17.y and 4.14.y (LTS) for review:
4.17.y: https:/
4.14.y: https:/
However, the issue is only affecting the Dell GW and not ST micro devel. boards.
== Risk of Regression ==
Low.Tthe bug affects only the Dell GW and the patch is being carried in linux-oem (4.15.y) since last 2 years without any regression.
linux-oem buglink: https:/
This bug is for tracking purposes only, please don't triage.
CVE References
description: | updated |
Changed in linux (Ubuntu Bionic): | |
status: | New → Confirmed |
importance: | Undecided → High |
description: | updated |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
importance: | Undecided → High |
Changed in linux (Ubuntu Bionic): | |
status: | Confirmed → Fix Committed |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1863732
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.