How do I prevent the LCD from turning off after 20 min ?

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

How do I prevent the LCD from turning off after 20 min ?

ソリューションへジャンプ
7,405件の閲覧回数
ottoblom
Contributor III

We have a LVDS LCD working using the imx_lbd driver, however it insists on turning off about 15 minutes after power-up. Any ideas on how to turn off this "feature" ? I have tried

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

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

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

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

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

and that did not help. We are using a i.MX6Q on the Linux 3.0.35-4.1.0 BSP. Gnome is not used

Any help would be appreciated

/Otto

ラベル(3)
0 件の賞賛
返信
1 解決策
3,140件の閲覧回数
PeterChan
NXP Employee
NXP Employee

Hello Otto,

By default, the blank interval of a terminal is 10 minutes and the screen will automatically blank when the terminal has no activity after this interval.


You can goto the file "linux/drivers/tty/vt/vt.c" and change the static global "blankinterval" to 0 and then rebuild the kernel. Alternatively. if your build has added the "util-linux" package, you can use command "setterm -blank 0" to disable this feature.

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
3,141件の閲覧回数
PeterChan
NXP Employee
NXP Employee

Hello Otto,

By default, the blank interval of a terminal is 10 minutes and the screen will automatically blank when the terminal has no activity after this interval.


You can goto the file "linux/drivers/tty/vt/vt.c" and change the static global "blankinterval" to 0 and then rebuild the kernel. Alternatively. if your build has added the "util-linux" package, you can use command "setterm -blank 0" to disable this feature.

0 件の賞賛
返信
3,140件の閲覧回数
ottoblom
Contributor III

Excellent, thank you!

0 件の賞賛
返信
3,140件の閲覧回数
isaac_ng
NXP Employee
NXP Employee


Hello Otto,


You could also refer to this link to add the bootargs to send to kernel to disable the auto blank.


Linux disable framebuffer auto blank by uboot bootargs

Regards, Isaac.

3,140件の閲覧回数
ottoblom
Contributor III

That's good to know. Thanks Isaac !

0 件の賞賛
返信