Difference between revisions of "BeagleBoard/video"
(Initial version.) |
(Power saving hint) |
||
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
| − | This article describes information regarding video output on the | + | [[Category: Linux]] |
| − | + | [[Category: OMAP]] | |
| + | This article describes information regarding video output on the [[BeagleBoard]]. | ||
== omapfb == | == omapfb == | ||
| − | |||
The current framebuffer diver has a generic interface (/dev/fb) but also a specific OMAP (2 and 3) interface for YUV overlays (/dev/fb1). | The current framebuffer diver has a generic interface (/dev/fb) but also a specific OMAP (2 and 3) interface for YUV overlays (/dev/fb1). | ||
| Line 19: | Line 19: | ||
* [http://github.com/felipec/gst-omapfb gst-omapfb] | * [http://github.com/felipec/gst-omapfb gst-omapfb] | ||
* [http://git.mansr.com/?p=omapfbplay omapfbplay] | * [http://git.mansr.com/?p=omapfbplay omapfbplay] | ||
| + | |||
| + | ==DVI== | ||
| + | In order to disable/enable the video chip, insert a 0(off) or 1(on) into /sys/devices/platform/omapdss/display<X>/enabled: | ||
| + | echo 0 > /sys/devices/platform/omapdss/display0/enabled | ||
| + | echo 0 > /sys/devices/platform/omapdss/display1/enabled | ||
| + | |||
| + | Thanks [https://groups.google.com/forum/?fromgroups#!topic/beagleboard/ehPaVYoHd5s this hint] it will save 0.7Watts of Power if none Video is needed (i.e. runlevel 3). | ||
Latest revision as of 19:26, 13 May 2012
This article describes information regarding video output on the BeagleBoard.
omapfb
The current framebuffer diver has a generic interface (/dev/fb) but also a specific OMAP (2 and 3) interface for YUV overlays (/dev/fb1).
In order to use the YUV overlays (/dev/fb1) you need to specify some kernel parameters:
video=omapfb:vram:2M,vram:4M
For this particular case you'll need a corresponding consistent DMA size configuration:
CONFIG_FB_OMAP_CONSISTENT_DMA_SIZE=6
In order for the display controller to work you'll need a patch from Mans Rullgard which can be found here. (At least at the time of this writing it's still needed 2.6.27-omap1)
For examples of how to use the custom omapfb see:
DVI
In order to disable/enable the video chip, insert a 0(off) or 1(on) into /sys/devices/platform/omapdss/display<X>/enabled:
echo 0 > /sys/devices/platform/omapdss/display0/enabled echo 0 > /sys/devices/platform/omapdss/display1/enabled
Thanks this hint it will save 0.7Watts of Power if none Video is needed (i.e. runlevel 3).