Cubieboard A20 - Desative o sleep para evitar o desligamento da tela: mudanças entre as edições
De Área31 Hackerspace
Sem resumo de edição |
Sem resumo de edição |
||
(Uma revisão intermediária pelo mesmo usuário não está sendo mostrada) | |||
Linha 15: | Linha 15: | ||
<pre> | <pre> | ||
Section "Monitor" | |||
Identifier "LVDS0" | |||
Option "DPMS" "false" | |||
EndSection | |||
Section "ServerLayout" | Section "ServerLayout" | ||
Identifier "ServerLayout0" | Identifier "ServerLayout0" | ||
Option "BlankTime" "0" | |||
Option "StandbyTime" "0" | Option "StandbyTime" "0" | ||
Option "SuspendTime" "0" | Option "SuspendTime" "0" | ||
Linha 32: | Linha 38: | ||
cat /sys/module/kernel/parameters/consoleblank | cat /sys/module/kernel/parameters/consoleblank | ||
[[Categoria:Embarcados]] | |||
[[Categoria:HardwareOpensource]] | [[Categoria:HardwareOpensource]] | ||
[[Categoria:SoftwareOpensource]] | [[Categoria:SoftwareOpensource]] |
Edição atual tal como às 20h24min de 14 de agosto de 2015
LXDE
Adicione ao arquivo do LXDE as opções de desativar o sleep:
vi /etc/xdg/lxsession/LXDE/autostart
#@xscreensaver -no-splash @xset s off @xset -dpms @xset s noblank
Xorg
vi /etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor" Identifier "LVDS0" Option "DPMS" "false" EndSection Section "ServerLayout" Identifier "ServerLayout0" Option "BlankTime" "0" Option "StandbyTime" "0" Option "SuspendTime" "0" Option "OffTime" "0" EndSection
Console
echo "setterm -blank 0" >> /etc/conf.d/local.start
ou altere a linha do kernel no boot, adicionando o parâmetro "consoleblank=0".
Verifique se está definido:
cat /sys/module/kernel/parameters/consoleblank
Referências:
http://www.cyberciti.biz/tips/linux-disable-screen-blanking-screen-going-blank.html