Merge pull request #1966 from fewtarius/dev

Disable suspend on OGU/RGB Max 3 until it is fully functional.
This commit is contained in:
fewtarius 2023-08-25 09:21:18 -04:00 committed by GitHub
commit de3bae3e48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 1 deletions

View file

@ -16,6 +16,13 @@ AllowSuspend=no
SuspendState=freeze
EOF
### Ignore power button presses for now, until we can finish up fixing sleep.
cat <<EOF >~/.config/logind.conf.d/login.conf
[Login]
HandlePowerKey=ignore
HandleSuspendKey=ignore
EOF
### Set sound properties
amixer -c 0 -q sset 'FRDDR_A SINK 1 SEL' 'OUT 1'
amixer -c 0 -q sset 'FRDDR_A SRC 1 EN' 'on'

View file

@ -16,6 +16,13 @@ AllowSuspend=no
SuspendState=freeze
EOF
### Ignore power button presses for now, until we can finish up fixing sleep.
cat <<EOF >~/.config/logind.conf.d/login.conf
[Login]
HandlePowerKey=ignore
HandleSuspendKey=ignore
EOF
### Set sound properties
amixer -c 0 -q sset 'FRDDR_A SINK 1 SEL' 'OUT 1'
amixer -c 0 -q sset 'FRDDR_A SRC 1 EN' 'on'

View file

@ -69,7 +69,7 @@
WINDOWMANAGER="weston"
# kernel serial console
EXTRA_CMDLINE="rootwait quiet console=ttyAML0,115200n8 console=tty0 no_console_suspend net.ifnames=0 consoleblank=0 fbcon=rotate:3"
EXTRA_CMDLINE="rootwait quiet console=ttyAML0,115200 console=tty0 no_console_suspend net.ifnames=0 consoleblank=0 fbcon=rotate:3"
# additional packages to install
# ADDITIONAL_PACKAGES=""