<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 04/10/2013 06:58 AM, Radek Polak wrote:
<blockquote cite="mid:201304101258.13719.psonek2@seznam.cz"
type="cite">
<meta name="qrichtext" content="1">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">On Tuesday, April 09, 2013 06:46:35 PM Dr. H.
Nikolaus Schaller wrote:</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> Hi,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> the camera is finally starting to work!</p>
<p style="margin: 0px; text-indent: 0px;"> </p>
</blockquote>
That is great news!
<blockquote cite="mid:201304101258.13719.psonek2@seznam.cz"
type="cite">
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> Now as the basics are here, I am curious
which distro will be the first to</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> come with a camera application :)</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<br>
</blockquote>
SHR has cheese (gnome camera program) available in the build tree.
I built it and it runs on my GTA04, but it does not detect the
camera.<br>
<br>
I did some research and found that I need to get gstreamer working
before cheese can work. After running the media-ctl commands from
the camera demo, I tried the following command:<br>
<br>
gst-launch -v v4l2src device=$(media-ctl -e "OMAP3 ISP CCDC output")
--gst-debug=v4l2:5<br>
<br>
Here is what seems to be the important part:<br>
<br>
0:00:00.327880859 1651 0x1962b40 DEBUG v4l2
gstv4l2object.c:710:gst_v4l2_set_defaults:<v4l2src0>
tv_norm=0x0, norm=(nil)<br>
0:00:00.328399658 1651 0x1962b40 DEBUG v4l2
v4l2_calls.c:579:gst_v4l2_get_norm:<v4l2src0> getting norm<br>
0:00:00.328918457 1651 0x1962b40 DEBUG v4l2
v4l2_calls.c:593:gst_v4l2_get_norm: <b>Failed to get the current
norm for device /dev/video2</b><br>
0:00:00.329559326 1651 0x1962b40 DEBUG v4l2
v4l2_calls.c:818:gst_v4l2_get_input:<v4l2src0> trying to get
input<br>
0:00:00.330139160 1651 0x1962b40 DEBUG v4l2
v4l2_calls.c:828:gst_v4l2_get_input:<v4l2src0> input: 0<br>
0:00:00.331420898 1651 0x1962b40 DEBUG v4l2
gstv4l2object.c:1068:gst_v4l2_object_fill_format_list:<v4l2src0>
getting src format enumerations<br>
0:00:00.332916259 1651 0x1962b40 WARN v4l2
gstv4l2object.c:1122:gst_v4l2_object_fill_format_list:<v4l2src0>
error: <b>Failed to enumerate possible video formats device
'/dev/video2' can work with</b><br>
0:00:00.334136963 1651 0x1962b40 WARN v4l2
gstv4l2object.c:1122:gst_v4l2_object_fill_format_list:<v4l2src0>
error: Failed to get number 0 in pixelformat enumeration for
/dev/video2. (25 - Inappropriate ioctl for device)<br>
ERROR: Pipeline doesn't want to pause.<br>
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Failed to enumerate possible video formats device '/dev/video2' can
work with<br>
Additional debug info:<br>
gstv4l2object.c(1122): gst_v4l2_object_fill_format_list ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:<br>
Failed to get number 0 in pixelformat enumeration for /dev/video2.
(25 - Inappropriate ioctl for device)<br>
<br>
<br>
<br>
This thread deals with getting gstreamer working with another
omap_isp type camera. It looks like some methods were missing from
the driver initially?:<br>
<br>
<a class="moz-txt-link-freetext" href="http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/t/240296.aspx">http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/t/240296.aspx</a><br>
<br>
<br>
<blockquote cite="mid:201304101258.13719.psonek2@seznam.cz"
type="cite">
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Community mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Community@openphoenux.org">Community@openphoenux.org</a>
<a class="moz-txt-link-freetext" href="http://lists.goldelico.com/mailman/listinfo/community">http://lists.goldelico.com/mailman/listinfo/community</a>
<a class="moz-txt-link-freetext" href="http://www.openphoenux.org">http://www.openphoenux.org</a>
</pre>
</blockquote>
<br>
</body>
</html>