fp6-img/aports/device/fp6-device-tweaks
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 637221129b
All checks were successful
image / image (push) Successful in 1h45m14s
fp6-device-tweaks 5: drop iio-sensor-proxy's SSC tags, so proximity polling starts
iio-sensor-proxy 3.9's own rules tag fastrpc-adsp with ssc-light and
ssc-compass, and pmOS's 90- rule adds ssc-accel and ssc-proximity. On
this image nothing serves the SSC registry (no hexagonrpcd), so the
libssc compass discover() probes it for 100 s in a nested main loop,
from find_sensors() in the daemon's name-acquired handler, before the
per-type delayed-invocation arrays exist. A ClaimProximity dispatched
in that window (Plasma sends one at every daemon start) hits
g_ptr_array_add(NULL) and driver_set_polling(NULL): the client is
registered, polling never starts, every later claim is treated as
"already active", and ProximityNear stays false with HasProximity
true. A second claim in the window dereferences the NULL array in the
claim handler and the daemon crashes, which is the boot-time crash the
restart drop-in was papering over.

Clear the tags on the fastrpc devices after both rules. The daemon
then skips the probe, starts in under a second and polls on claim.
Verified on the dev phone 2026-09-24 with the near-level DTB (near
level 25, combined-stable's DTS carry): no assertions or crash at
boot, and monitor-sensor logged one "Proximity value changed: 1"/"0"
pair per hand pass. The near level itself comes from that kernel;
without it the daemon declines the sensor before any of this matters.
2026-09-24 23:09:38 +02:00
..
81-fp6-accel-poll.rules fp6-no-suspend -> fp6-device-tweaks: + the three IMU-critical /etc files 2026-08-09 00:03:09 +02:00
91-fp6-no-ssc-sensors.rules fp6-device-tweaks 5: drop iio-sensor-proxy's SSC tags, so proximity polling starts 2026-09-24 23:09:38 +02:00
APKBUILD fp6-device-tweaks 5: drop iio-sensor-proxy's SSC tags, so proximity polling starts 2026-09-24 23:09:38 +02:00
iio-sensor-proxy-restart.conf fp6-no-suspend -> fp6-device-tweaks: + the three IMU-critical /etc files 2026-08-09 00:03:09 +02:00
inv-icm42600.conf fp6-no-suspend -> fp6-device-tweaks: + the three IMU-critical /etc files 2026-08-09 00:03:09 +02:00
modem-gnss-nmea-optional.conf aports/fp6-device-tweaks: stop the modem-gnss 30 s restart loop 2026-08-24 19:44:18 +02:00