Linux Media Controller development
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: "Zhu, Mingcheng" <mingchen@quicinc.com>
Cc: Sakari Ailus <sakari.ailus@iki.fi>,
	"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: query video dev node name using the V4L2 device driver name
Date: Wed, 21 Dec 2011 01:34:43 +0100	[thread overview]
Message-ID: <201112210134.43822.laurent.pinchart@ideasonboard.com> (raw)
In-Reply-To: <3D233F78EE854A4BA3D34C11AD4FAC1FDEF79C@nasanexd01b.na.qualcomm.com>

Hi Mingcheng,

On Monday 19 December 2011 19:09:18 Zhu, Mingcheng wrote:
> Hi Laurent,
> 
> I have a problem here. Take following example that we have two video dev
> nodes as:
> /dev/video0: this node is for WIFI capture

WIFI capture ? I'm curious about that, what do you mean exactly ?

> /dev/video1: this is the camera driver.
> 
> Is it possible for the user space to find out video1 is the camera without
> open and query each video node's capabilities?

If the drivers that expose those nodes are media-controller aware, one 
possible solution is to open the media controller device(s) and enumerate the 
entities. I'm not sure that would be faster than opening and querying the 
video nodes though.

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2011-12-21  0:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-15  9:50 [RFC 0/4] OMAP 3 ISP driver improvements Sakari Ailus
2011-12-15  9:50 ` [RFC 1/4] omap3isp: Implement validate_pipeline Sakari Ailus
2011-12-15 10:18   ` Laurent Pinchart
2011-12-15 11:53     ` Sakari Ailus
2011-12-15  9:50 ` [RFC 2/4] omap3isp: Add lane configuration to platform data Sakari Ailus
2011-12-15  9:50 ` [RFC 3/4] omap3isp: Configure CSI-2 phy based on " Sakari Ailus
2011-12-15 10:28   ` Laurent Pinchart
2011-12-15 11:53     ` Sakari Ailus
2011-12-15 12:54       ` Laurent Pinchart
2011-12-15 21:50         ` Sakari Ailus
2011-12-19  0:31           ` Laurent Pinchart
2011-12-19  7:17             ` Sakari Ailus
2011-12-19 10:21               ` query video dev node name using the V4L2 device driver name Zhu, Mingcheng
2011-12-19 10:31                 ` Laurent Pinchart
2011-12-19 18:09                   ` Zhu, Mingcheng
2011-12-21  0:34                     ` Laurent Pinchart [this message]
2011-12-15  9:50 ` [RFC 4/4] omap3isp: Use pixel clock from sensor media bus frameformat Sakari Ailus
2011-12-15 10:29   ` Laurent Pinchart

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=201112210134.43822.laurent.pinchart@ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mingchen@quicinc.com \
    --cc=sakari.ailus@iki.fi \
    /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