Public bug reported:

[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

** Affects: oem-priority
     Importance: Undecided
         Status: New

** Affects: iio-sensor-proxy (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: oem-priority originate-from-1921901 somerville

** Tags added: oem-priority originate-from-1921901 somerville

** Description changed:

  [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.
+  * 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
+  * 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
+  * 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.
+  * 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
+  * The change is from
+    
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/eb8fde8fd246ea6c30a8d4a29d6061b42f7012f2
+    
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/commit/de1e1ea35aea81a4b5c22cb2458e9686911fb383

** Description changed:

  [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.
+  * 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

** Description changed:

  [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
+  * 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

** Description changed:

  [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.
+  * 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

** Description changed:

  [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
+  * 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

** Description changed:

  [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
+  * 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

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to iio-sensor-proxy in Ubuntu.
https://bugs.launchpad.net/bugs/1926280

Title:
  ALS function lost after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1926280/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to