Debian Patches

Status for iio-sensor-proxy/3.7-3

Patch Description Author Forwarded Bugs Origin Last update
drv-iio-buffer-relocate-the-.discover-method-to-bring-the.patch drv-iio-buffer-*: relocate the .discover method to bring the .open and .close methods into scope

To fix #411 [0], the .discover method will now attempt to read from the sensor
buffer. Therefore, it will need to call .open and .close. Relocate the method
to ensure the former are within scope. There is no functional change in the
.discover method.

[0] https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/issues/411
"Sicelo A. Mhlongo" <absicsz@gmail.com> no 2025-05-25
buffer_drv_data_new-rework-trigger_name-handling.patch buffer_drv_data_new: rework trigger_name handling
In each buffer driver, the get_trigger_name() call is always immediately
followed by a call to buffer_drv_data_new(). To simplify the code,
buffer_drv_data_new() now calls get_trigger_name(). Incidentally,
iio-sensor-proxy does not actually use the buffer sensor's trigger for
anything.
"Sicelo A. Mhlongo" <absicsz@gmail.com> no 2025-05-25
iio-buffer-attempt-to-read-from-buffer-during-sensor-disc.patch iio-buffer: attempt to read from buffer during sensor discovery
The kernel drivers for some sensors report support for buffer mode, and allow
the buffer to be enabled, but never return any data in the buffer. Since
59c29aca616f ("drivers: accel: Remove trigger requirement on
iio-buffer-accel"), these sensors fail silently. iio-sensor-proxy must use the
polling method on these sensors.

To achieve this, during sensor discovery, enable the sensor in buffer mode,
then attempt to read data off the buffer. Modify tests in order for the data
file to be opened before startDaemon() is called, since this is now necessary
for sensor discovery.

[0] https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/issues/411
"Sicelo A. Mhlongo" <absicsz@gmail.com> no 2025-05-26
integration-test-add-test-for-sensors-that-report-non-wor.patch integration-test: add test for sensors that report non-working buffers

Confirm that when a sensor reports support for buffer operation, and the mode
can actually be enabled, but no data is returned, iio-sensor-proxy will detect
this and switch to polling mode.
"Sicelo A. Mhlongo" <absicsz@gmail.com> no 2025-05-26

All known versions for source package 'iio-sensor-proxy'

Links