public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Neil MacMunn <neil@gumstix.com>
To: linux-media@vger.kernel.org
Subject: Fwd: Re: omap3-isp segfault
Date: Fri, 28 Jan 2011 14:49:09 -0800	[thread overview]
Message-ID: <4D4347E5.7050408@gumstix.com> (raw)


> 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...

             reply	other threads:[~2011-01-28 22:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-28 22:49 Neil MacMunn [this message]
2011-03-03 18:00 ` Fwd: Re: omap3-isp segfault Loïc Akue

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D4347E5.7050408@gumstix.com \
    --to=neil@gumstix.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox