pmaports/device
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
..
.gitlab-ci/packages ci: don't set the CI_TRON_KERNEL_CMDLINE__DEVICEINFO globally 2026-03-12 19:17:36 +00:00
.shared-patches device: Move MSM GPU compile fix to shared patches 2025-09-23 20:16:11 +00:00
archived realme-x3: Move to archived 2026-05-23 16:27:50 +00:00
community device-google-sargo: Reload I2C drivers on error 2026-05-26 16:47:31 +00:00
downstream linux-samsung-m20lte: Don't override CROSS_COMPILE 2026-05-25 00:37:36 +00:00
main linux-postmarketos-mainline: Upgrade to 7.1_rc5 2026-05-25 10:00:13 +00:00
testing linux-next: upgrade to next-20260526 2026-05-26 15:39:40 +00:00