2021-04-27 10:07:35 |
Kai-Chuan Hsieh |
bug |
|
|
added bug |
2021-04-27 10:09:14 |
Kai-Chuan Hsieh |
bug |
|
|
added subscriber OEM Solutions Group: Engineers |
2021-04-27 10:09:16 |
Kai-Chuan Hsieh |
tags |
|
oem-priority originate-from-1921901 somerville |
|
2021-04-27 10:11:48 |
Kai-Chuan Hsieh |
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 on a machine with ALS support by
$ cat /sys/bus/iio/devices/iio:device*/name => see if it contains name als
* 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 IIO_SENSOR_PROXY_TYPE for it.
* It will keep original IIO_SENSOR_PROXY_TYPE and more IIO_SENSOR_PROXY_TYPE support single hardware, so risk is low for other hardware.
* The in_illuminance_raw polling is determined by driver support.
[Other Info]
* The change is from
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383 |
[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 on a machine with ALS support by
$ cat /sys/bus/iio/devices/iio:device*/name => see if it contains name als
* 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 IIO_SENSOR_PROXY_TYPE for it.
* It will keep original IIO_SENSOR_PROXY_TYPE and more IIO_SENSOR_PROXY_TYPE support single hardware, so risk is low for other hardware.
* The in_illuminance_raw polling is determined by driver support.
[Other Info]
* The change is from
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383 |
|
2021-04-27 10:12:36 |
Kai-Chuan Hsieh |
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 on a machine with ALS support by
$ cat /sys/bus/iio/devices/iio:device*/name => see if it contains name als
* 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 IIO_SENSOR_PROXY_TYPE for it.
* It will keep original IIO_SENSOR_PROXY_TYPE and more IIO_SENSOR_PROXY_TYPE support single hardware, so risk is low for other hardware.
* The in_illuminance_raw polling is determined by driver support.
[Other Info]
* The change is from
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383 |
[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 on a machine with ALS support by
$ cat /sys/bus/iio/devices/iio:device*/name => see if it contains name als
* 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 IIO_SENSOR_PROXY_TYPE for it.
* It will keep original IIO_SENSOR_PROXY_TYPE and multiple IIO_SENSOR_PROXY_TYPE support, so risk is low for other hardware.
[Other Info]
* The change is from
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383 |
|
2021-04-27 10:13:03 |
Kai-Chuan Hsieh |
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 on a machine with ALS support by
$ cat /sys/bus/iio/devices/iio:device*/name => see if it contains name als
* 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 IIO_SENSOR_PROXY_TYPE for it.
* It will keep original IIO_SENSOR_PROXY_TYPE and multiple IIO_SENSOR_PROXY_TYPE support, so risk is low for other hardware.
[Other Info]
* The change is from
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383 |
[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 on a machine with ALS support by
$ cat /sys/bus/iio/devices/iio:device*/name => see if it contains name als
* 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 IIO_SENSOR_PROXY_TYPE for it.
* It will keep original IIO_SENSOR_PROXY_TYPE and multiple IIO_SENSOR_PROXY_TYPE support, so risk is low for other hardware.
[Other Info]
* The change is from which are in groovy and hirsute.
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383 |
|
2021-04-27 10:13:22 |
Kai-Chuan Hsieh |
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 on a machine with ALS support by
$ cat /sys/bus/iio/devices/iio:device*/name => see if it contains name als
* 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 IIO_SENSOR_PROXY_TYPE for it.
* It will keep original IIO_SENSOR_PROXY_TYPE and multiple IIO_SENSOR_PROXY_TYPE support, so risk is low for other hardware.
[Other Info]
* The change is from which are in groovy and hirsute.
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383 |
[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 on a machine with ALS support by
$ cat /sys/bus/iio/devices/iio:device*/name => see if it contains name als
* 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 IIO_SENSOR_PROXY_TYPE for it.
* It will keep original IIO_SENSOR_PROXY_TYPE and multiple IIO_SENSOR_PROXY_TYPE support, so risk is low for other hardware.
[Other Info]
* The change is from which has been in groovy and hirsute.
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383 |
|
2021-04-27 10:13:41 |
Kai-Chuan Hsieh |
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 on a machine with ALS support by
$ cat /sys/bus/iio/devices/iio:device*/name => see if it contains name als
* 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 IIO_SENSOR_PROXY_TYPE for it.
* It will keep original IIO_SENSOR_PROXY_TYPE and multiple IIO_SENSOR_PROXY_TYPE support, so risk is low for other hardware.
[Other Info]
* The change is from which has been in groovy and hirsute.
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383 |
[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 by
$ cat /sys/bus/iio/devices/iio:device*/name => see if it contains name als
* 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 IIO_SENSOR_PROXY_TYPE for it.
* It will keep original IIO_SENSOR_PROXY_TYPE and multiple IIO_SENSOR_PROXY_TYPE support, so risk is low for other hardware.
[Other Info]
* The change is from which has been in groovy and hirsute.
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383 |
|
2021-04-27 10:13:58 |
Kai-Chuan Hsieh |
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 by
$ cat /sys/bus/iio/devices/iio:device*/name => see if it contains name als
* 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 IIO_SENSOR_PROXY_TYPE for it.
* It will keep original IIO_SENSOR_PROXY_TYPE and multiple IIO_SENSOR_PROXY_TYPE support, so risk is low for other hardware.
[Other Info]
* The change is from which has been in groovy and hirsute.
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383 |
[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/iio/devices/iio:device*/name => see if it contains name als
* 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 IIO_SENSOR_PROXY_TYPE for it.
* It will keep original IIO_SENSOR_PROXY_TYPE and multiple IIO_SENSOR_PROXY_TYPE support, so risk is low for other hardware.
[Other Info]
* The change is from which has been in groovy and hirsute.
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383 |
|
2021-04-27 10:24:46 |
Kai-Chuan Hsieh |
oem-priority: assignee |
|
Kai-Chuan Hsieh (kchsieh) |
|
2021-04-27 10:25:50 |
Kai-Chuan Hsieh |
attachment added |
|
iio-sensor-proxy_2.8-1ubuntu1.debdiff https://bugs.launchpad.net/ubuntu/+source/iio-sensor-proxy/+bug/1926280/+attachment/5492759/+files/iio-sensor-proxy_2.8-1ubuntu1.debdiff |
|
2021-04-27 10:28:48 |
Kai-Chuan Hsieh |
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/iio/devices/iio:device*/name => see if it contains name als
* 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 IIO_SENSOR_PROXY_TYPE for it.
* It will keep original IIO_SENSOR_PROXY_TYPE and multiple IIO_SENSOR_PROXY_TYPE support, so risk is low for other hardware.
[Other Info]
* The change is from which has been in groovy and hirsute.
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383 |
[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/iio/devices/iio:device*/name => see if it contains name als
* 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 IIO_SENSOR_PROXY_TYPE for it.
* It will keep original IIO_SENSOR_PROXY_TYPE and multiple IIO_SENSOR_PROXY_TYPE support, so risk is low for other hardware.
[Other Info]
* The changes from upstream are in groovy and hirsute already.
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383 |
|
2021-04-27 10:32:06 |
Sebastien Bacher |
iio-sensor-proxy (Ubuntu): importance |
Undecided |
High |
|
2021-04-27 10:32:08 |
Sebastien Bacher |
iio-sensor-proxy (Ubuntu): status |
New |
Fix Released |
|
2021-04-27 10:33:08 |
Kai-Chuan Hsieh |
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/iio/devices/iio:device*/name => see if it contains name als
* 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 IIO_SENSOR_PROXY_TYPE for it.
* It will keep original IIO_SENSOR_PROXY_TYPE and multiple IIO_SENSOR_PROXY_TYPE support, so risk is low for other hardware.
[Other Info]
* The changes from upstream are in groovy and hirsute already.
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383 |
[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/iio/devices/iio:device*/name => see if it contains name als
* 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_PROXY_TYPE for sensor using raw value.
* It will keep original IIO_SENSOR_PROXY_TYPE and multiple IIO_SENSOR_PROXY_TYPE support, so risk is low for other hardware.
[Other Info]
* The change is from which has been in groovy and hirsute.
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383 |
|
2021-04-27 10:33:52 |
Kai-Chuan Hsieh |
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/iio/devices/iio:device*/name => see if it contains name als
* 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_PROXY_TYPE for sensor using raw value.
* It will keep original IIO_SENSOR_PROXY_TYPE and multiple IIO_SENSOR_PROXY_TYPE support, so risk is low for other hardware.
[Other Info]
* The change is from which has been in groovy and hirsute.
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383 |
[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/iio/devices/iio:device*/name => see if it contains name als
* 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_PROXY_TYPE for sensor using raw value.
* It will keep original IIO_SENSOR_PROXY_TYPE and multiple IIO_SENSOR_PROXY_TYPE support, so risk is low for other hardware.
[Other Info]
* The change is from upstream which has been in groovy and hirsute.
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383 |
|
2021-04-27 10:41:41 |
Kai-Chuan Hsieh |
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/iio/devices/iio:device*/name => see if it contains name als
* 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_PROXY_TYPE for sensor using raw value.
* It will keep original IIO_SENSOR_PROXY_TYPE and multiple IIO_SENSOR_PROXY_TYPE support, so risk is low for other hardware.
[Other Info]
* The change is from upstream which has been in groovy and hirsute.
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383 |
[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/iio/devices/iio:device*/name => see if it contains name als
* 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_PROXY_TYPE for sensor using raw value.
* It will keep original IIO_SENSOR_PROXY_TYPE and multiple IIO_SENSOR_PROXY_TYPE support, so risk is low for other hardware.
* 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://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383 |
|
2021-04-27 10:43:35 |
Kai-Chuan Hsieh |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2021-04-27 21:25:10 |
Brian Murray |
iio-sensor-proxy (Ubuntu Focal): status |
New |
Fix Committed |
|
2021-04-27 21:25:12 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2021-04-27 21:25:15 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2021-04-27 21:25:19 |
Brian Murray |
tags |
oem-priority originate-from-1921901 somerville |
oem-priority originate-from-1921901 somerville verification-needed verification-needed-focal |
|
2021-04-27 21:25:30 |
Brian Murray |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2021-04-28 04:22:44 |
Kai-Chuan Hsieh |
tags |
oem-priority originate-from-1921901 somerville verification-needed verification-needed-focal |
oem-priority originate-from-1921901 somerville verification-done verification-done-focal |
|
2021-05-06 08:46:14 |
Launchpad Janitor |
iio-sensor-proxy (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2021-05-06 08:46:18 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2021-05-13 02:03:56 |
Kai-Chuan Hsieh |
oem-priority: status |
New |
Fix Released |
|