temp/iio-sensor-proxy: upgrade libssc patches
Libssc integration in iio-sensor-proxy has been heavily improved, sync the patches in pmaports. The MR is now upstream ready to be merged so this fork will be gone in the future, finally.
Need libssc 0.2.1 or higher, see aports MR#78378
Merge request reports
Activity
assigned to @DylanVanAssche
added 1 commit
- b28013ab - temp/iio-sensor-proxy: upgrade libssc patches
added 1 commit
- b6cdfa9e - temp/iio-sensor-proxy: upgrade libssc patches
added 1 commit
- 99ae0752 - temp/iio-sensor-proxy: sleep workaround is not needed anymore
added 1 commit
- 888c86ba - temp/iio-sensor-proxy: sleep workaround is not needed anymore
- Resolved by Dylan Van Assche
Does this include latest commits of iio-s-p with smgr support too?
- Resolved by Dylan Van Assche
gave it a quick test with
mrtest
onxiaomi-beryllium
on edge/phosh: rotation-detection stopped after a few minutes, faster then with the previous version.
- Resolved by Robert Eckelmann
I just tried on a OP6 on top of a new systemd setup and neither without nor with this MR things currently work. Not directly related with the patches here, but might be a good opportunity to fix things on systemd - especially as it gives us better logs to debug things.
Right now I get:
oneplus-enchilada:~# systemctl status iio-sensor-proxy.service ○ iio-sensor-proxy.service - IIO Sensor Proxy service Loaded: loaded (/usr/lib/systemd/system/iio-sensor-proxy.service; static) Active: inactive (dead) since Wed 2025-01-15 13:57:13 GMT; 2min 46s ago Duration: 2min 24.409s Invocation: 3d93ba4ff2be463fbafa517934d8caf5 Process: 690 ExecStart=/usr/libexec/iio-sensor-proxy (code=exited, status=0/SUCCESS) Main PID: 690 (code=exited, status=0/SUCCESS) Mem peak: 5M CPU: 476ms Jan 15 13:54:48 oneplus-enchilada systemd[1]: Starting IIO Sensor Proxy service... Jan 15 13:54:49 oneplus-enchilada systemd[1]: Started IIO Sensor Proxy service. Jan 15 13:54:49 oneplus-enchilada iio-sensor-prox[690]: Not a switch [/sys/devices/platform/soc@0/c440000.spmi/spmi-0/0-00/c440000.spmi:pmic@0:adc@3100/iio:device0/../capabilities/sw] Jan 15 13:54:49 oneplus-enchilada iio-sensor-prox[690]: Invalid bitmask entry for /sys/devices/platform/alert-slider/input/input1/event1 Jan 15 13:57:13 oneplus-enchilada systemd[1]: iio-sensor-proxy.service: Deactivated successfully.
Edited by Robert Mader
mentioned in issue #3468 (closed)
mentioned in issue #3479
added sensors label
- Resolved by Dylan Van Assche
Any further resistance against this MR? It should
closehelp with #3468 (closed) and supersede !5953 (closed) IIUC.Edited by Robert Mader
mentioned in merge request !5953 (closed)
mentioned in merge request !6105 (closed)