[beagleboard] S-Video output is PAL not NTSC

I am using the latest Angstrom demo w/ 2.6.28-omap1

I have video on s-video, but it seems to be PAL instead of NTSC. I also have no idea how to send my destop or anything for that matter. When I run enlightenment the background does seem to take the background I see in the x11vnc window, but thats it.

I used the following to set it (with some minor modifications):

tvline=cat /sys/devices/platform/omapfb/displays |grep tv
w=echo $tvline | cut -d " " -f 2 | cut -d ":" -f 2
h=echo $tvline | cut -d " " -f 3 | cut -d ":" -f 2

echo “vid1 t:none” > /sys/devices/platform/omapfb/overlays
fbset -fb /dev/fb1 -xres $w -vxres $w -yres $h -vyres $h
echo “vid1 t:tv w:$w h:$h e:1” > /sys/devices/platform/omapfb/overlays
echo “tv e:1” > /sys/devices/platform/omapfb/displays

This seems to enable PAL output on the S-Video on my board.

My questions are:

  1. How do I make the S-Video output NTSC-M
  2. How do I send content to the S-Video display, like an xterm

I have looked everywhere in the mailing list, that is where I found the script above, but the only thing relevant is what I posted above.

I am using the latest Angstrom demo w/ 2.6.28-omap1

I have video on s-video, but it seems to be PAL instead of NTSC. I
also have no idea how to send my destop or anything for that matter.
When I run enlightenment the background does seem to take the
background I see in the x11vnc window, but thats it.

I used the following to set it (with some minor modifications):
         tvline=`cat /sys/devices/platform/omapfb/displays |grep tv`
         w=`echo $tvline | cut -d " " -f 2 | cut -d ":" -f 2`
         h=`echo $tvline | cut -d " " -f 3 | cut -d ":" -f 2`
        
         echo "vid1 t:none" > /sys/devices/platform/omapfb/overlays
         fbset -fb /dev/fb1 -xres $w -vxres $w -yres $h -vyres $h
         echo "vid1 t:tv w:$w h:$h e:1"
        > /sys/devices/platform/omapfb/overlays
         echo "tv e:1" > /sys/devices/platform/omapfb/displays
        
This seems to enable PAL output on the S-Video on my board.

My questions are:
1) How do I make the S-Video output NTSC-M

NTSC is not supported by the current version. Next version will support
it.

2) How do I send content to the S-Video display, like an xterm

For cloning the DVI output to TV, I think there's an example in DSS2
documentation. But you shouldn't use fb1 for that because Xv uses fb1 if
I recall right.

For independent use of tv-out you need to use the framebuffer as you
would use the fb0. Perhaps starting a new X server for it, or something
similar. I don't know =).

Tomi

I am using the latest Angstrom demo w/ 2.6.28-omap1

I have video on s-video, but it seems to be PAL instead of NTSC. I
also have no idea how to send my destop or anything for that matter.
When I run enlightenment the background does seem to take the
background I see in the x11vnc window, but thats it.

I used the following to set it (with some minor modifications):
tvline=cat /sys/devices/platform/omapfb/displays |grep tv
w=echo $tvline | cut -d " " -f 2 | cut -d ":" -f 2
h=echo $tvline | cut -d " " -f 3 | cut -d ":" -f 2

echo “vid1 t:none” > /sys/devices/platform/omapfb/overlays
fbset -fb /dev/fb1 -xres $w -vxres $w -yres $h -vyres $h
echo “vid1 t:tv w:$w h:$h e:1”

/sys/devices/platform/omapfb/overlays
echo “tv e:1” > /sys/devices/platform/omapfb/displays

This seems to enable PAL output on the S-Video on my board.

My questions are:

  1. How do I make the S-Video output NTSC-M

NTSC is not supported by the current version. Next version will support
it.

Does anyone else know where to find more info on this? Is this a kernel/driver level issue? I see a version of 2.6.22 on google code has NTSC, but no Angstrom distribution to support it, just a busybox ramdisk.

  1. How do I send content to the S-Video display, like an xterm

For cloning the DVI output to TV, I think there’s an example in DSS2
documentation. But you shouldn’t use fb1 for that because Xv uses fb1 if
I recall right.

For independent use of tv-out you need to use the framebuffer as you
would use the fb0. Perhaps starting a new X server for it, or something
similar. I don’t know =).

It really doesn’t matter if it is independent output or cloned, I just want to know how I can put something, anything on it. Do you have any more info on how to do this. I have searched the list archives and google for this quite extensively.

        > I am using the latest Angstrom demo w/ 2.6.28-omap1
        >
        > I have video on s-video, but it seems to be PAL instead of
        NTSC. I
        > also have no idea how to send my destop or anything for that
        matter.
        > When I run enlightenment the background does seem to take
        the
        > background I see in the x11vnc window, but thats it.
        >
        > I used the following to set it (with some minor
        modifications):
        > tvline=`cat /sys/devices/platform/omapfb/displays |
        grep tv`
        > w=`echo $tvline | cut -d " " -f 2 | cut -d ":" -f
        2`
        > h=`echo $tvline | cut -d " " -f 3 | cut -d ":" -f
        2`
        >
        >
        > echo "vid1 t:none"
        > /sys/devices/platform/omapfb/overlays
        > fbset -fb /dev/fb1 -xres $w -vxres $w -yres $h
        -vyres $h
        > echo "vid1 t:tv w:$w h:$h e:1"
        > > /sys/devices/platform/omapfb/overlays
        > echo "tv e:1"
        > /sys/devices/platform/omapfb/displays
        >
        >
        > This seems to enable PAL output on the S-Video on my board.
        >
        > My questions are:
        > 1) How do I make the S-Video output NTSC-M
        
        NTSC is not supported by the current version. Next version
        will support
        it.
Does anyone else know where to find more info on this? Is this a
kernel/driver level issue? I see a version of 2.6.22 on google code
has NTSC, but no Angstrom distribution to support it, just a busybox
ramdisk.

I have already written support with switching the mode, but I haven't
published a new version of DSS2 yet.

2.6.22 was using the old display subsystem driver.

        > 2) How do I send content to the S-Video display, like an
        xterm
        
        For cloning the DVI output to TV, I think there's an example
        in DSS2
        documentation. But you shouldn't use fb1 for that because Xv
        uses fb1 if
        I recall right.
        
        For independent use of tv-out you need to use the framebuffer
        as you
        would use the fb0. Perhaps starting a new X server for it, or
        something
        similar. I don't know =).

It really doesn't matter if it is independent output or cloned, I just
want to know how I can put something, anything on it. Do you have any
more info on how to do this. I have searched the list archives and
google for this quite extensively.

Search more =). I think there have been many emails about it. Not long
ago Koen emailed DSS2 documentation to the list also.

You can put something, anything to tv with

cat /dev/urandom > /dev/fb1

(or fb2, depending how you set it up)

Tomi

http://groups.google.com/group/beagleboard/browse_thread/thread/115867f718b52e4b/4c64b2c614622053?lnk=gst&q=DSS2#4c64b2c614622053

there you go :slight_smile:

I am using the latest Angstrom demo w/ 2.6.28-omap1

I have video on s-video, but it seems to be PAL instead of
NTSC. I
also have no idea how to send my destop or anything for that
matter.
When I run enlightenment the background does seem to take
the
background I see in the x11vnc window, but thats it.

I used the following to set it (with some minor
modifications):
tvline=cat /sys/devices/platform/omapfb/displays | grep tv
w=echo $tvline | cut -d " " -f 2 | cut -d ":" -f 2
h=echo $tvline | cut -d " " -f 3 | cut -d ":" -f 2

echo “vid1 t:none”
/sys/devices/platform/omapfb/overlays
fbset -fb /dev/fb1 -xres $w -vxres $w -yres $h
-vyres $h
echo “vid1 t:tv w:$w h:$h e:1”

/sys/devices/platform/omapfb/overlays
echo “tv e:1”
/sys/devices/platform/omapfb/displays

This seems to enable PAL output on the S-Video on my board.

My questions are:

  1. How do I make the S-Video output NTSC-M

NTSC is not supported by the current version. Next version
will support
it.
Does anyone else know where to find more info on this? Is this a
kernel/driver level issue? I see a version of 2.6.22 on google code
has NTSC, but no Angstrom distribution to support it, just a busybox
ramdisk.

I have already written support with switching the mode, but I haven’t
published a new version of DSS2 yet.

2.6.22 was using the old display subsystem driver.

  1. How do I send content to the S-Video display, like an
    xterm

For cloning the DVI output to TV, I think there’s an example
in DSS2
documentation. But you shouldn’t use fb1 for that because Xv
uses fb1 if
I recall right.

For independent use of tv-out you need to use the framebuffer
as you
would use the fb0. Perhaps starting a new X server for it, or
something
similar. I don’t know =).

It really doesn’t matter if it is independent output or cloned, I just
want to know how I can put something, anything on it. Do you have any
more info on how to do this. I have searched the list archives and
google for this quite extensively.

Search more =). I think there have been many emails about it. Not long
ago Koen emailed DSS2 documentation to the list also.

I agree searching more is the correct answer, but knowing not what to search for besides NTSC and S-Video in the lists and you get nothing. I searched google and the lists for hours and found nothing but what I posted above! I had no idea DSS2 was where this is documented. This should be in one of the FAQ’s or wiki’s, but it is not. The wiki info seems to be for the google code image which does not have angstrom support.

You can put something, anything to tv with

cat /dev/urandom > /dev/fb1

(or fb2, depending how you set it up)

Tomi

I guess my question was, how do I get something useful on S-Video out like xterm or gnometris on the S-Video. Thats an interesting way of putting data on to video though. Doesn’t Xorg need to be set up to use this /dev/fb1?

great thank you Koen! I just had no idea what to search for. Thank you for your patioence.