Linux IMX53 - Console / screen blanking...

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Linux IMX53 - Console / screen blanking...

1,661 次查看
MichaelGale
Contributor II

Does anyone know how to disable the console / screen blanking on this platform? Every ten minutes, the screen just turns off and the frame-buffer gets cleared. I do not have the "setterm" command available in the BSP.

I do not know how to add "CONSOLEBLANK=0" to the boot parameters. Does anyone know if this will work? Which u-boot header file should be edited?

Thanks,

Michael

标记 (1)
4 回复数

1,080 次查看
sidebranch
Contributor II

The second one works for me and disables blanking permanently (AFAICR).

However, you need to be root (sudo -s) before you run it.

Leon.

0 项奖励
回复

1,080 次查看
MichaelGale
Contributor II

Thanks Leon! Just a note for anyone else, the first option works but the second does not.

0 项奖励
回复

1,080 次查看
sidebranch
Contributor II

once:
echo -e -n '\033[9]' > /dev/tty0

forever:

echo 0 > /sys/class/graphics/fb0/blank

Regards,

Leon.

1,080 次查看
harryflink
Contributor II

The "echo 0 > /sys/class/graphics/fb0/blank" tricked worked for iMX28 CPU project too to avoid screen blanking every 10 minutes.

Thank you for the solution, Leon!

0 项奖励
回复