Merge pull request #2298 from porschemad911/s922x-disable-dpms

S922X - post-update - disable fake suspend DPMS
This commit is contained in:
John Williams
2026-02-09 10:26:57 +11:00
committed by GitHub

View File

@@ -240,3 +240,6 @@ if [[ "${HW_DEVICE}" == "S922X" ]]; then
grep -q "^psp\.rocknix\.mangohud\.enabled=" /storage/.config/system/configs/system.cfg ||
sed -i '$ a\psp.rocknix.mangohud.enabled=0' /storage/.config/system/configs/system.cfg
fi
# S922X - disable fake suspend DPMS as it causes crash / reboot on resume
[[ "${HW_DEVICE}" == "S922X" ]] && sed -i '/system.suspend.dpms/c\system.suspend.dpms=0' /storage/.config/system/configs/system.cfg