pmaports/device/community/device-google-sargo
Alistair Francis 7fb880aca6
device-google-sargo: Reload I2C drivers on error
It's common for the I2C touch driver on the Google Pixel 3a to crash
resulting in touch input not working, see [1].

This patch adds a systemd service that can be used to monitor for errors
and reload the drivers on error, the original idea came from [2].

The actual script is not systemd specific, so that the script can be
ported to openrc if required.

1: https://gitlab.com/sdm670-mainline/linux/-/work_items/6
2: https://gitlab.com/sdm670-mainline/linux/-/work_items/6#note_3104050714

Signed-off-by: Alistair Francis <alistair@alistair23.me>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8409>
2026-05-26 16:47:31 +00:00
..
81-libssc-google-sargo.rules community/device-google-sargo: only keep fastrpc link udev rule 2026-04-06 16:29:06 +00:00
APKBUILD device-google-sargo: Reload I2C drivers on error 2026-05-26 16:47:31 +00:00
device-google-sargo-openrc.post-install device-google-sargo: remove modem-gnss from openrc post-install 2025-12-27 10:46:05 -08:00
deviceinfo device/*: Drop redundant deviceinfo variable assignments 2026-02-18 22:04:40 +01:00
hexagonrpcd.confd device-google-sargo: install hexagonrpcd conf to new location (MR 6217) 2025-02-14 12:26:29 +01:00
modules-initfs device-google-sargo: remove kernel modules for display (MR 6241) 2025-02-28 20:40:09 -08:00
no-hexagonrpcd-on-suspend.sh device/google-sargo: Move from testing to community (MR 5492) 2024-08-20 20:31:57 +09:00
plasmacamerarc google-sargo: install config for plasma-camera 2025-07-26 18:17:53 -04:00
q6voiced.conf device/google-sargo: Move from testing to community (MR 5492) 2024-08-20 20:31:57 +09:00
reload-rmi-touch.service device-google-sargo: Reload I2C drivers on error 2026-05-26 16:47:31 +00:00
reload-rmi-touch.sh device-google-sargo: Reload I2C drivers on error 2026-05-26 16:47:31 +00:00