dss2 s-video

118 views
Skip to first unread message

puppy

unread,
Nov 18, 2009, 4:06:35 AM11/18/09
to Beagle Board
i'm trying to get s-video working, are there any patch's for the
beagle board or commands that i need to enter to get it working or
links to info. Thanks!

GrizzlyAdams

unread,
Nov 19, 2009, 12:16:49 AM11/19/09
to Beagle Board
This is the script I'm currently using with 2.6.29-oer44.1, It is
based off a script I found on a pandora related blog.
It works for NTSC timing, and gives output on both HDMI and S-Video in
clone/mirror mode.

[code]
# Detach console
echo "0" > /sys/class/vtconsole/vtcon1/bind

# Setup a new framebuffer (Important: this is 16 bit color
depth in RGB565 format and has a resolution which is supported by NTSC
timing!)

# Set NTSC resolution (with minimal overscan)
fbset -fb /dev/fb0 -bcast true -g 704 480 704 480 16 -rgba
5/11,6/5,5/0,0/0

# Just turn off everything so we have permission to change
anything
echo "0" > /sys/devices/platform/omapdss/display0/enabled
echo "0" > /sys/devices/platform/omapdss/display1/enabled
echo "0" > /sys/devices/platform/omapdss/overlay0/enabled
echo "0" > /sys/devices/platform/omapdss/overlay1/enabled

# Flush all writes
sync

# Before we can link overlay1 to fb0 we must unlink it from
fb1
echo "" > /sys/class/graphics/fb1/overlays

# Flush all writes
sync

# Link fb0 to overlay1 and overlay0
echo "1,0" > /sys/class/graphics/fb0/overlays

# Prepares the overlay size
echo "704,480" > /sys/devices/platform/omapdss/overlay1/
output_size

# Connect overlay1 to TV manager
echo "tv" > /sys/devices/platform/omapdss/overlay1/manager
echo "1" > /sys/devices/platform/omapdss/overlay1/enabled

# Set Displays to NTSC timing, not sure if the first line is
required
echo "ntsc" > /sys/devices/platform/omapdss/display0/timings
echo "ntsc" > /sys/devices/platform/omapdss/display1/timings

# Turn on overlay0 (DVI)
echo "1" > /sys/devices/platform/omapdss/overlay0/enabled

# Turn on the DVI Display
echo "1" > /sys/devices/platform/omapdss/display0/enabled

# Turn on overlay1 (TV)
echo "1" > /sys/devices/platform/omapdss/overlay1/enabled

# Turn on the TV Display
echo "1" > /sys/devices/platform/omapdss/display1/enabled

# Flush all writes
sync

[/code]

On Nov 18, 4:06 am, puppy <xfred2...@gmail.com> wrote:
> i'm trying to gets-videoworking, are there any patch's for the

alcatraz

unread,
Nov 23, 2009, 10:36:43 PM11/23/09
to Beagle Board


@GrizzlyAdams:
I appreciate your effort in posting the script here. But unfortunately
my region supports PAL settings, and I have tried to comprehend the
parameters & options in the script, but am unable to workaround a
hack. If its not much to ask for, could you point to or refer some
material to solve this issue ?

Thanks.
Reply all
Reply to author
Forward
0 new messages