Thank you very much.
I've test it.
"echo 0 > /sys/class/graphics/fb0/blank" work good for me.
Although, many sources recommend this "setterm -blank off" for me
but that's not work.
Best regards,
iPAS
ps. this is all of my script.
---------------------------------------------------
#!/bin/sh
volume=-45
timeout=0
setterm -cursor off
echo -e '\033[?25l'_> /dev/tty1
#Wakeup fbdev
setterm -blank 0
echo 0 > /sys/class/graphics/fb0/blank
#Disable sleep mode
echo -e '\033[9;0]' > /dev/tty1
options=" -loop 0 -vf scale=640:480 -srate 22050 "
options=" -loop 0 -srate 22050 "
options=" -loop 0 "
mplayer -vo fbdev -fs -framedrop $options -ao alsa -af volume=$volume $1
#set cursor on
echo -e '\033[?25h' > /dev/tty1
--- In "Doug" <> wrote:
>
> Hi iPAS,
>
> Believe it or not, I've seen this one too. See this website:
>
> http://www.armadeus.com/wiki/index.php?title=FrameBuffer
>
> Under Tips, you can find a way to wake the framebuffer from sleep:
>
> echo 0 > /sys/class/graphics/fb0/blank
>
> Or put the framebuffer in sleep mode:
>
> echo 1 > /sys/class/graphics/fb0/blank
>
> Or you can set the sleep timer (or disable it entirely):
>
> echo -e '\033[9;X]' > /dev/tty1 (where X = time in minutes, or 0 for never go
> to sleep)
>
> Doug
>
> --- In "iPAS" <pasakorn_t@> wrote:
> >
> > I'm trying a latest image for SD card :
> > ftp://ftp.embeddedarm.com/ts-socket-macrocontrollers/ts-4800-linux/binaries/ts-images/2gbsd-may052011-interim-squeeze.dd.gz
> > .
> >
> > For playing back movie (mplayer) on touchscreen panel via DirectFB,
> > I have installed all necessary lib of DirectFB and played .mpg file with
> > this command :
> > mplayer -vo fbdev -loop 0 -framedrop -fs video.mpg
> > And it work as silk.
> >
> > But if I stopped playing for while, the screen will be fade to white then
> > black.
> > Although, I run mplayer again but nothing would be shown.
> >
> > How could I alway turn-on this lcd touch screen panel ?
> >
> > ps.
> > I changed /etc/kbd/config :
> > POWER_DOWNTIME 0
> > ÔBLANK_DOWNTIME 0
> > But it still when to blank.
> >
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|