2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
koreader/platform/sony-prstux/resume.sh
Matias N 94d8f2d397 Sony PRSTUX support (#4198)
* Sony PRSTUX support
2018-09-08 01:37:04 +02:00

13 lines
241 B
Bash
Executable File

#!/bin/bash
set -x
# wake all devices up
echo on >/sys/power/state
# go back to conservative governor
echo conservative >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
# wait for resume to complete
cat /sys/power/wait_for_fb_wake