All of lore.kernel.org
 help / color / mirror / Atom feed
* Fwd: Re: omap3-isp segfault
@ 2011-01-28 22:49 Neil MacMunn
  2011-03-03 18:00 ` Loïc Akue
  0 siblings, 1 reply; 2+ messages in thread
From: Neil MacMunn @ 2011-01-28 22:49 UTC (permalink / raw)
  To: linux-media


> A few questions that would help to diagnose problems:
> What version of the ISP drivers and the MT9V032 driver are you using? Kernel version?

I'm using the ISP drivers and MT9V032 driver from 
git://linuxtv.org/pinchartl/media.git head=media-0006-sensors. My kernel 
is 2.6.36.

> You could try to force the format on the gst-launch command, as a further test, although I don't know why it's not matching up to the YUVY format you configured in the pipeline.
>
> Eino-Ville Talvala
> Stanford University
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message tomajordomo@vger.kernel.org
> More majordomo info athttp://vger.kernel.org/majordomo-info.html

This is my setup script:

    #!/bin/sh

    ./media-ctl -r;
    ./media-ctl -l '"mt9v032 3-005c":0->"OMAP3 ISP CCDC":0[1]';
    ./media-ctl -l '"OMAP3 ISP CCDC":2->"OMAP3 ISP preview":0[1]';
    ./media-ctl -l '"OMAP3 ISP preview":1->"OMAP3 ISP resizer":0[1]';
    ./media-ctl -l '"OMAP3 ISP resizer":1->"OMAP3 ISP resizer output":0[1]';
    ./media-ctl -f '"mt9v032 3-005c":0[SGRBG10 752x480]';
    ./media-ctl -f '"OMAP3 ISP CCDC":2[SGRBG10 752x480]';
    ./media-ctl -f '"OMAP3 ISP preview":0[SGRBG10 752x480]';
    ./media-ctl -f '"OMAP3 ISP preview":1[YUYV 752x480]';
    ./media-ctl -f '"OMAP3 ISP resizer":1[YUYV 1024x768]';

Which gives me:

    # ./config_camera
    Resetting all links to inactive
    Setting up link 16:0 -> 5:0 [1]
    Setting up link 5:2 -> 7:0 [1]
    Setting up link 7:1 -> 10:0 [1]
    Setting up link 10:1 -> 12:0 [1]
    Setting up format SGRBG10 752x480 on pad mt9v032 3-005c/0
    Format set: SGRBG10 752x480
    Setting up format SGRBG10 752x480 on pad OMAP3 ISP CCDC/0
    Format set: SGRBG10 752x480
    Setting up format SGRBG10 752x480 on pad OMAP3 ISP CCDC/2
    Format set: SGRBG10 752x479
    Setting up format SGRBG10 752x479 on pad OMAP3 ISP preview/0
    Format set: SGRBG10 752x479
    Setting up format SGRBG10 752x479 on pad OMAP3 ISP AEWB/0
    Unable to set format: Invalid argument (-22)
    Setting up format SGRBG10 752x479 on pad OMAP3 ISP AF/0
    Unable to set format: Invalid argument (-22)
    Setting up format SGRBG10 752x479 on pad OMAP3 ISP histogram/0
    Unable to set format: Invalid argument (-22)
    Setting up format SGRBG10 752x480 on pad OMAP3 ISP preview/0
    Format set: SGRBG10 752x480
    Setting up format YUYV 752x480 on pad OMAP3 ISP preview/1
    Format set: YUYV 734x472
    Setting up format YUYV 734x472 on pad OMAP3 ISP resizer/0
    Format set: YUYV 734x472
    Setting up format YUYV 1024x768 on pad OMAP3 ISP resizer/1
    Format set: YUYV 1024x768

And herein lies the problem:

    root@overo:~# ./yavta --enum-formats /dev/video2
    Device /dev/video2 opened: OMAP3 ISP CCDC output (media).
    - Available formats:
    Video format:  (00000000) 0x0

    root@overo:~# ./yavta --enum-formats /dev/video4
    Device /dev/video4 opened: OMAP3 ISP preview output (media).
    - Available formats:
    Video format:  (00000000) 0x0

    root@overo:~# ./yavta --enum-formats /dev/video6
    Device /dev/video6 opened: OMAP3 ISP resizer output (media).
    - Available formats:
    Video format:  (00000000) 0x0


Not sure whether this is a driver problem or...

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fwd: Re: omap3-isp segfault
  2011-01-28 22:49 Fwd: Re: omap3-isp segfault Neil MacMunn
@ 2011-03-03 18:00 ` Loïc Akue
  0 siblings, 0 replies; 2+ messages in thread
From: Loïc Akue @ 2011-03-03 18:00 UTC (permalink / raw)
  To: linux-media


Hi Neil,

I'm currently facing a similar problem than yours. Did you get a piece a
solution, to finally capture some video?

I'm using Laurent Pinchart's media-sensors git repository ( 2.6.37 ), and I'm
trying to capture some video provided by a saa7113 device.

Regards

Loïc




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-03 18:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-28 22:49 Fwd: Re: omap3-isp segfault Neil MacMunn
2011-03-03 18:00 ` Loïc Akue

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.