How to disable screensaver

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

How to disable screensaver

1,980 次查看
contra
Contributor III

I am using the IMX28 build from LTIB to play video on the LCD. After approximately 10 minutes the screen goes blank but I can see through the console output that the video is still running. I believe that a screensaver is turning the display off. Is there a way to disable this?

2 回复数

1,391 次查看
Yuri
NXP Employee
NXP Employee

Please try the following :

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

frame buffer number (0 in the example) may differ.

1,391 次查看
contra
Contributor III

Thanks for your reply, this did not stop the screensaver from turning on it seems to 'wake up' the display if the screensaver has come on.

It led me onto finding this:

echo -e '\033[9;0]' > /dev/tty1

I used this in a start up script and it seems to work.