On Fri, Sep 08, 2006 at 09:08:33PM +0100, Alasdair Campbell wrote:
> > LOGFILE=/var/log/my_vdr_logfile
[...]
> > vdr WITH_DESIRED_PARAMETERS >${LOGFILE} 2>&1
> Something strange happened when I tried this script, first of all with
> it copied verbatim, vdr loads as normal but there is only a black
> screen. I then tried commenting out lines such as the powersave one,
> and the "clear" line, however even after removing ALL the lines until
> it was only a exact copy of my vdr command line, there was still
> nothing but a black screen.
Is that on -vo dfb or -vo dfb:mgatv? You did define LOGFILE in
a sensible way, didn't you?
Hmm, I'm not sure if '-vo dfb' is compatible with these settings in
your directfbrc:
matrox-crtc2
matrox-tv-standard=pal
matrox-cable-type=scart-rgb
I tried commenting out these, but all seem to be needed in order to
get a composite sync signal. It was also necessary to define
primary-layer=2, although according to dfbinfo, it should be
the FBDev Primary Layer on the FBDev Primary Screen (i.e.,
the 1st head and not 2nd head).
> I figure this must be to do with permissions or what not, however I
> ran the command on the console directly with the same user and it
> worked fine, exact same command in an executable shell script and
> nothing appears.
Did you try adding "set -x" to the beginning of the script? Then it
should display all commands as they are executed.
Marko
_______________________________________________
Softdevice-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/softdevice-devel