0

PiTFT 2.8 Turn off Console Blanking Guide Update
Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Please be positive and constructive with your questions and comments.

PiTFT 2.8 Turn off Console Blanking Guide Update

by bunker on Thu Dec 31, 2015 8:47 am

Hi all!

Just a line to update the details of the guide for pitft 2.8 about how to turning off the blank screen timeout on console.

Setting BLANK_TIME=0 in /etc/kbd/config doesn't work for me (jessy adafruit img + pitft 2.8 capacitive touch)

so I found that /sys/module/kernel/parameters/consoleblank kernel parameter is still active by default (value = 600 = 10min)


To change the blanking of the screen on console just append the line consoleblank=0 to the /boot/cmdline.txt and restart!

Code: Select all | TOGGLE FULL SIZE
pi@raspberrypi ~ $ cat /boot/cmdline.txt
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait fbcon=map:10 fbcon=font:VGA12x6 consoleblank=0
pi@raspberrypi ~ $


Now the blank time is disabled!

bunker
 
Posts: 1
Joined: Thu Dec 31, 2015 8:37 am

Re: PiTFT 2.8 Turn off Console Blanking Guide Update

by adafruit_support_rick on Thu Dec 31, 2015 2:16 pm

Updated the FAQ. Thanks!

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: PiTFT 2.8 Turn off Console Blanking Guide Update

by lv2 on Tue Aug 16, 2016 1:44 pm

Hello,
Sorry, this doesn't work for me :
Code: Select all | TOGGLE FULL SIZE
pi@raspberrypi /boot $ cat cmdline.txt
wc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait  fbcon=map:10 fbcon=font:VGA8x8 bcm2708.vc_i2c_override=1 consoleblank=0

I also have
Code: Select all | TOGGLE FULL SIZE
BLANK_TIME=0

Screen PITFT2.8 is still clearing.
Code: Select all | TOGGLE FULL SIZE
 uname -a
Linux raspberrypi 4.1.6-v7+ #2 SMP PREEMPT Fri Sep 4 16:49:07 UTC 2015 armv7l GNU/Linux

Somebody another idea ?

lv2
 
Posts: 1
Joined: Sat Aug 29, 2015 8:04 am

Please be positive and constructive with your questions and comments.