Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
patch for /etc/kbd/config to prevent Raspberry Pi from sleeping
--- /etc/kbd/config 2015-02-21 16:24:59.653062112 +0100
+++ /etc/kbd/config.new 2015-02-21 16:24:28.554492138 +0100
@@ -38,7 +38,8 @@
# screen blanking timeout. monitor remains on, but the screen is cleared to
# range: 0-60 min (0==never) kernels I've looked at default to 10 minutes.
# (see linux/drivers/char/console.c)
-BLANK_TIME=30
+#BLANK_TIME=30
+BLANK_TIME=0
# blanking method (VESA DPMS mode to use after BLANK_TIME, before powerdown):
# on: the default, no DPMS signalling. near instant powerup, no power saving
@@ -57,7 +58,8 @@
# Powerdown time. The console will go to DPMS Off mode POWERDOWN_TIME
# minutes _after_ blanking. (POWERDOWN_TIME + BLANK_TIME after the last input)
-POWERDOWN_TIME=30
+#POWERDOWN_TIME=30
+POWERDOWN_TIME=0
# rate and delay can get only specific values, consult kbdrate(1) for help
#KEYBOARD_RATE="30"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.