ALS function lost after suspend/resume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
Undecided
|
Kai-Chuan Hsieh | ||
iio-sensor-proxy (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* Some Dell machine support ALS (ambient light sensor) will lost function after suspend/resume
It originally only report iio-buffer-als by udev rule, but the buffer no longer update after
suspend/resume, the issue can be eliminated by polling in_illuminance_raw node.
[Test Plan]
* Boot a machine with ALS support, and check it by
$ cat /sys/bus/
* do suspend/stress by
$ sudo -s
# for i in `seq 20`; do sleep 5; rtcwake -m mem -s 10; done
* run monitor-sensor and cover your hand on the light sensor
$ monitor-sensor
* if the als function lost, there should be no update of the ambient light sensor anymore
[Where problems could occur]
* The change add in_illuminance_raw check and add iio-poll-als to IIO_SENSOR_
* It will keep original IIO_SENSOR_
* Checking on working hardware and run $ monitor-sensor
it should keep popping Light changed event no matter what operations,
close lid, suspend/resume, reboot...etc.
[Other Info]
* The change is from upstream which has been in groovy and hirsute.
https:/
https:/
tags: | added: oem-priority originate-from-1921901 somerville |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: |
added: verification-done verification-done-focal removed: verification-needed verification-needed-focal |
Changed in oem-priority: | |
status: | New → Fix Released |
Upload focal iio-sensor- proxy_2. 8-1ubuntu1. debdiff.