How to disable screensaver

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to disable screensaver

1,229 Views
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 Replies

640 Views
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.

640 Views
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.