mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-03 17:41:58 +02:00
docs: Power-off fix texts cover every affected kernel, not just 7.2
This commit is contained in:
1 parent
321bf9bfcb
commit
28555175bb
8 files changed
+31
-25
No files matched your search
+10
-8
@@ -1,13 +1,15 @@
|
||||
#!/bin/bash
|
||||
# "Power-off fix" menu item (poweroff), a sub-option of Steam Machine support
|
||||
# ticked along with it (opt-out): the Steam Machine powers off instead of
|
||||
# booting up again, on every kernel. Since Linux 7.2 ("pinctrl-amd: Don't
|
||||
# clear S4 wake bits at probe") the S4/S5 wake bit the firmware leaves set
|
||||
# on GPIO pin 18 stays set, and the machine starts again right after
|
||||
# powering off (the reason for the kernel pin). Valve's kernel clears it at
|
||||
# probe on Fremont, in a patch not meant for upstream, so CachyOS won't get
|
||||
# it. A small module (patches/steamify-fremont-poweroff.c) clears it right
|
||||
# before power-off; DKMS builds it for every kernel. On kernels that clear it themselves it does nothing.
|
||||
# booting up again. Recent kernels (7.2, and the 6.x, 7.0 and 7.1 updates
|
||||
# that got the change backported) keep the S4/S5 wake bit the firmware
|
||||
# leaves set on GPIO pin 18 ("pinctrl-amd: Don't clear S4 wake bits at
|
||||
# probe"), so the machine starts again right after powering off (the reason
|
||||
# for the old kernel pin). Valve's kernel clears it at probe on Fremont, in
|
||||
# a patch not meant for upstream, so CachyOS won't get it. A small module
|
||||
# (patches/steamify-fremont-poweroff.c) clears it right before power-off;
|
||||
# DKMS builds it for each installed kernel. On a kernel that clears it
|
||||
# itself it does nothing.
|
||||
# Sourced by steamify.sh; not meant to be run on its own.
|
||||
|
||||
POWEROFF_DKMS_NAME=steamify-fremont-poweroff
|
||||
@@ -65,5 +67,5 @@ poweroff_enable() {
|
||||
}
|
||||
poweroff_disable() {
|
||||
poweroff_fix_disable
|
||||
ok "Power-off fix removed; with kernels 7.2 and newer the Steam Machine may start again after shutting down."
|
||||
ok "Power-off fix removed; with recent kernels the Steam Machine may start again after shutting down."
|
||||
}
|
||||
+1
-1
@@ -33,7 +33,7 @@ declare -A LABEL=(
|
||||
[launcher]="Steamify shortcut: the app on the desktop, Steamify Terminal in the launcher"
|
||||
[cec]="HDMI-CEC: use Steam with the TV remote, TV on/off with the PC (experimental)"
|
||||
[machine]="Steam Machine support: LED bar driver, hardware settings in Steam"
|
||||
[poweroff]="Power-off fix: stays off after shutting down, on every kernel"
|
||||
[poweroff]="Power-off fix: the Steam Machine stays off after shutting down"
|
||||
[kpin]="Pin the kernel to $PINNED_KERNEL_VER (no longer needed: untick for CachyOS's current kernel)"
|
||||
[hdmi]="HDMI refresh boost: highest refresh your HDMI display runs"
|
||||
[bios]="Update BIOS"
|
||||
|
||||
Reference in new issue
Block a user