All of lore.kernel.org
 help / color / mirror / Atom feed
From: Devin Heitmueller <dheitmueller@kernellabs.com>
To: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Hans Verkuil <hverkuil@xs4all.nl>, linux-media@vger.kernel.org
Subject: Re: RFCv2: Media controller proposal
Date: Thu, 10 Sep 2009 16:27:20 -0400	[thread overview]
Message-ID: <829197380909101327s6d14332ft6435f817f2f6862@mail.gmail.com> (raw)
In-Reply-To: <20090910172013.55825d2e@caramujo.chehab.org>

On Thu, Sep 10, 2009 at 4:20 PM, Mauro Carvalho
Chehab<mchehab@infradead.org> wrote:
> In fact, this can already be done by using the sysfs interface. the current
> version of v4l2-sysfs-path.c already enumerates the associated nodes to
> a /dev/video device, by just navigating at the already existing device
> description nodes at sysfs. I hadn't tried yet, but I bet that a similar kind
> of topology can be obtained from a dvb device (probably, we need to do some
> adjustments).

For the audio case, I did some digging into this a bit and It's worth
noting that this behavior varies by driver (at least on USB).  In some
cases, the parent points to the USB device, in other cases it points
to the USB interface.  My original thought was to pick one or the
other and make the various drivers consistent, but even that is a
challenge since in some cases the audio device was provided by
snd-usb-audio (which has no knowledge of the v4l subsystem).

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com

  reply	other threads:[~2009-09-10 20:27 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-10  7:13 RFCv2: Media controller proposal Hans Verkuil
2009-09-10 13:01 ` Patrick Boettcher
2009-09-10 13:50   ` Hans Verkuil
2009-09-10 14:24     ` Patrick Boettcher
2009-09-10 15:00       ` Hans Verkuil
2009-09-10 19:19         ` Karicheri, Muralidharan
2009-09-10 20:27           ` Hans Verkuil
2009-09-10 23:08             ` Karicheri, Muralidharan
2009-09-11  6:20               ` Hans Verkuil
2009-09-11  6:29                 ` Hiremath, Vaibhav
2009-09-11  6:26             ` Hiremath, Vaibhav
2009-09-15 11:36         ` Laurent Pinchart
2009-09-10 20:20 ` Mauro Carvalho Chehab
2009-09-10 20:27   ` Devin Heitmueller [this message]
2009-09-11 12:59     ` Mauro Carvalho Chehab
2009-09-10 21:35   ` Hans Verkuil
2009-09-11 15:13     ` Mauro Carvalho Chehab
2009-09-11 15:46       ` Devin Heitmueller
2009-09-11 15:53         ` Hiremath, Vaibhav
2009-09-11 17:03           ` Mauro Carvalho Chehab
2009-09-11 17:34             ` Hiremath, Vaibhav
2009-09-11 18:52               ` Mauro Carvalho Chehab
2009-09-11 19:23                 ` Hans Verkuil
2009-09-11 19:59                   ` Mauro Carvalho Chehab
2009-09-11 20:15                     ` Hans Verkuil
2009-09-11 21:37                       ` Mauro Carvalho Chehab
2009-09-11 22:25                         ` Hans Verkuil
2009-09-21 17:22                         ` Sakari Ailus
2009-10-27  8:04                           ` Guennadi Liakhovetski
2009-10-27 13:56                             ` Devin Heitmueller
2009-11-05 14:22                               ` Hans Verkuil
2009-11-05 16:02                                 ` Devin Heitmueller
2009-11-05 16:23                                 ` Mauro Carvalho Chehab
2009-09-11 19:08       ` Hans Verkuil
2009-09-11 19:54         ` Mauro Carvalho Chehab
2009-09-11 20:29           ` Hans Verkuil
2009-09-11 21:28             ` Mauro Carvalho Chehab
2009-09-11 22:39               ` Hans Verkuil
2009-09-16 18:15                 ` Mauro Carvalho Chehab
2009-09-16 19:21                   ` Hans Verkuil
2009-09-16 20:38                     ` Guennadi Liakhovetski
2009-09-16 20:50                     ` Mauro Carvalho Chehab
2009-09-16 21:34                       ` Hans Verkuil
2009-09-16 22:15                         ` Andy Walls
2009-09-17  6:35                           ` Hans Verkuil
2009-09-17 11:59                             ` Mauro Carvalho Chehab
2009-09-17 12:44                         ` Mauro Carvalho Chehab
2009-09-16 22:28                       ` Karicheri, Muralidharan
2009-09-17  6:34                         ` Hans Verkuil
2009-09-17 12:11                           ` Mauro Carvalho Chehab
2009-09-17 12:53                             ` Nova S2 HD scanning problems Claes Lindblom
2009-09-18  6:42                               ` Claes Lindblom
2009-09-10 21:28 ` RFCv2: Media controller proposal Guennadi Liakhovetski
2009-09-10 21:59   ` Hans Verkuil
2009-09-15 12:28     ` Laurent Pinchart
2009-09-11  6:16 ` Hiremath, Vaibhav
2009-09-11  6:35   ` Hans Verkuil

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=829197380909101327s6d14332ft6435f817f2f6862@mail.gmail.com \
    --to=dheitmueller@kernellabs.com \
    --cc=hverkuil@xs4all.nl \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.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 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.