Re: omap4 v4l media-ctl usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ryan,

On Sun, Feb 19, 2012 at 09:34:24PM +0530, Ryan wrote:
> It actually blocks at VIDIOC_DQBUF ioctl and not in STREAMON ioctl.
> Looks like the data is not available.
> 
> Any way of verifying if OMAP is receiving data. Wonder why i keep
> interrupts though?

You do get or do not get interrupts?

> Is my media-ctl setting up things correctly?

In principle at least, yes. Streamon should fail if there's something wrong
in the configuration.

Cc Sergio.

> On Sun, Feb 19, 2012 at 7:47 PM, Ryan <ryanphilips19@xxxxxxxxxxxxxx> wrote:
> > Hi Laurent,
> >
> > On Sun, Feb 19, 2012 at 2:27 PM, Laurent Pinchart
> > <laurent.pinchart@xxxxxxxxxxxxxxxx> wrote:
> >> Hi Ryan,
> >>
> >> On Saturday 18 February 2012 20:59:57 Ryan wrote:
> >>> hello,
> >>> I am using media-ctl on the panda board. The sensor gets detected. But
> >>> media-ctl doesnt print anything.
> >>> The kernel is cloned from omap4 v4l git tree: commit id:
> >>> 3bc023462a68f78bb0273848f5ab08a01b434ffa
> >>>
> >>> what could be wrong in here?
> >>>
> >>> ~ # ./media-ctl -p
> >>> Opening media device /dev/media0
> >>> Enumerating entities
> >>> Found 0 entities
> >>> Enumerating pads and links
> >>> Device topology
> >>>
> >>> What steps i need to follow get output from sensor in terms of
> >>> arguments to media-ctl and yavta.
> >>
> >> Could you please first make sure that media-ctl has be compiled against header
> >> files from the kernel running on your board ?
> >>
> >
> > Thank you, That did the trick, Now i am able to run media-ctl. I am
> > trying to capture YUV422.
> > When i run yavta, It blocks infinitely at STREAM ON, I see that the
> > ISS interrupts keeps incrementing.
> > Am i missing something?
> >
> > #yavta /dev/video0  -n1 -c5 -s640x480 -fUYVY -Ftest.yuv
> > Device /dev/video0 opened: OMAP4 ISS CSI2a output (media).
> > Video format set: width: 640 height: 480 buffer size: 614400
> > Video format: UYVY (59565955) 640x480
> > 1 buffers requested.
> > length: 614400 offset: 0
> > Buffer 0 mapped at address 0x4028e000.
> > [  577.605590] Enable STREAM ON>..
> >
> >
> > After configuring using the media-ctl, This is how my device topology
> > looks like:
> > Is this okay?
> >
> > Device topology
> > - entity 1: OMAP4 ISS CSI2a (2 pads, 2 links)
> >            type V4L2 subdev subtype Unknown
> >            device node name /dev/v4l-subdev0
> >        pad0: Sink [UYVY 640x480]
> >                <- "ov5640 3-0036":0 [ENABLED,IMMUTABLE]
> >        pad1: Source [UYVY 640x480]
> >                -> "OMAP4 ISS CSI2a output":0 [ENABLED]
> >
> > - entity 2: OMAP4 ISS CSI2a output (1 pad, 1 link)
> >            type Node subtype V4L
> >            device node name /dev/video0
> >        pad0: Sink
> >                <- "OMAP4 ISS CSI2a":1 [ENABLED]
> >
> > - entity 3: ov5640 3-0036 (1 pad, 1 link)
> >            type V4L2 subdev subtype Unknown
> >            device node name /dev/v4l-subdev1
> >        pad0: Source [UYVY 640x480]
> >                -> "OMAP4 ISS CSI2a":0 [ENABLED,IMMUTABLE]
> >
> >
> >
> > Thank you,
> >
> > Regards,
> > Ryan
> >
> >
> >> --
> >> Regards,
> >>
> >> Laurent Pinchart
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Sakari Ailus
e-mail: sakari.ailus@xxxxxx	jabber/XMPP/Gmail: sailus@xxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux