ts-7000
[Top] [All Lists]

[ts-7000] Re: Panel Touch Screen : TS-TPC-8390 (TS4800) alway fade to bl

To:
Subject: [ts-7000] Re: Panel Touch Screen : TS-TPC-8390 (TS4800) alway fade to blank screen.
From: "iPAS" <>
Date: Thu, 09 Jun 2011 02:26:51 -0000
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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU