How to disable screensaver

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to disable screensaver

1,245件の閲覧回数
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 返答(返信)

656件の閲覧回数
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.

656件の閲覧回数
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.