Merge pull request #1398 from fewtarius/dev
AYANEO AIR Plus needs to use S0 sleep so it will wake without a panic.
This commit is contained in:
commit
fd2874be14
1 changed files with 12 additions and 0 deletions
12
packages/hardware/quirks/devices/AYANEO AIR Plus/001-hardwareinit
Executable file
12
packages/hardware/quirks/devices/AYANEO AIR Plus/001-hardwareinit
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
|
||||
|
||||
. /etc/profile
|
||||
|
||||
# S3 sleep does not work on this device yet.
|
||||
cat <<EOF >/storage/.config/sleep.conf.d/sleep.conf
|
||||
[Sleep]
|
||||
AllowSuspend=yes
|
||||
SuspendState=freeze
|
||||
EOF
|
Loading…
Reference in a new issue