Created
February 21, 2015 15:30
-
-
Save viegelinsch/d78d2c1d5cab4eabe73b to your computer and use it in GitHub Desktop.
patch for /etc/kbd/config to prevent Raspberry Pi from sleeping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /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