Public bug reported: [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-to-ram/suspend-to-disk PM states. == 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://marc.info/?t=152455871600007&r=1&w=2 4.14.y: https://marc.info/?t=152506242000001&r=1&w=2 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://bugs.launchpad.net/bugs/1769658 This bug is for tracking purposes only, please don't triage. ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Affects: linux (Ubuntu Bionic) Importance: High Status: Confirmed ** Also affects: linux (Ubuntu Bionic) Importance: Undecided Status: New ** Description changed: [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-to-ram/suspend-to-disk PM states. == 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 + + 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://marc.info/?t=152455871600007&r=1&w=2 4.14.y: https://marc.info/?t=152506242000001&r=1&w=2 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://bugs.launchpad.net/ubuntu/+source/linux- + oem/+bug/1769658 + This bug is for tracking purposes only, please don't triage. ** Changed in: linux (Ubuntu Bionic) Status: New => Confirmed ** Changed in: linux (Ubuntu Bionic) Importance: Undecided => High ** Description changed: [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-to-ram/suspend-to-disk PM states. == 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://marc.info/?t=152455871600007&r=1&w=2 4.14.y: https://marc.info/?t=152506242000001&r=1&w=2 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://bugs.launchpad.net/ubuntu/+source/linux- - oem/+bug/1769658 + linux-oem buglink: https://bugs.launchpad.net/bugs/1769658 This bug is for tracking purposes only, please don't triage. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1863732 Title: [bionic] hts221 sensor stops working after resume from S3/S4 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1863732/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs