All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: "Devshatwar, Nikhil" <nikhil.nd@ti.com>
Cc: "meta-arago@arago-project.org" <meta-arago@arago-project.org>
Subject: Re: [PATCH] gstreamer1.0-plugins-vpe: Add modprobe config	for ti-vip and ti-vpe
Date: Mon, 10 Aug 2015 13:00:43 -0400	[thread overview]
Message-ID: <20150810170043.GC30560@edge> (raw)
In-Reply-To: <E60A9E1B4132A24DB80BD56ABC926847350B525E@DBDE04.ent.ti.com>

On Wed, Aug 05, 2015 at 09:55:57AM +0000, Devshatwar, Nikhil wrote:
> 
> > -----Original Message-----
> > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> > bounces@arago-project.org] On Behalf Of Stiffler, Jacob
> > Sent: Tuesday, August 04, 2015 9:33 PM
> > To: meta-arago@arago-project.org
> > Subject: [meta-arago] [PATCH] gstreamer1.0-plugins-vpe: Add modprobe config
> > for ti-vip and ti-vpe
> > 
> > * The module ti-vip and ti-vpe will use the device node /dev/video0
> >   and /dev/video1
> > * Which module gets which device node depends on the order they are
> >   inserted.
> > * The vpe gstreamer plugin has the assumption that ti-vpe is connected
> >   to /dev/video0
> > * This conf file will ensure that ti-vpe is inserted first, and gets
> >   node /dev/video0
> > 
> > Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> > ---
> >  .../gst-plugins-ti/gstreamer1.0-plugins-vpe/ti-video.conf     |  1 +
> >  .../gst-plugins-ti/gstreamer1.0-plugins-vpe_git.bb            | 11 +++++++++--
> >  2 files changed, 10 insertions(+), 2 deletions(-)  create mode 100644 meta-
> > arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-vpe/ti-
> > video.conf
> > 
> > diff --git a/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-
> > plugins-vpe/ti-video.conf b/meta-arago-extras/recipes-multimedia/gst-plugins-
> > ti/gstreamer1.0-plugins-vpe/ti-video.conf
> > new file mode 100644
> > index 0000000..339a0c1
> > --- /dev/null
> > +++ b/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-p
> > +++ lugins-vpe/ti-video.conf
> > @@ -0,0 +1 @@
> > +install ti-vip /sbin/modprobe ti-vpe; /sbin/modprobe --ignore-install
> > +ti-vip
> 
> This would work only if the VIP and VPE are compiled as modules
> Also, it won't work with if the USB camera registers a video device.
> The better way would be for plugin to not hard code the /dev/video0 device
> If you want to hard code the device name, it better be /dev/v4l/by-path/<the vpe platform device name>
> This won't change irrespective of other modules are there or not, and works 
> even in case VIP,VPE is compiled as builtin

Jake,

Do you plan to make changes suggested by Nikhil?

-- 
Denys


> > diff --git a/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-
> > plugins-vpe_git.bb b/meta-arago-extras/recipes-multimedia/gst-plugins-
> > ti/gstreamer1.0-plugins-vpe_git.bb
> > index e549b3b..73a7723 100644
> > --- a/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-
> > plugins-vpe_git.bb
> > +++ b/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-p
> > +++ lugins-vpe_git.bb
> > @@ -5,7 +5,14 @@ LIC_FILES_CHKSUM =
> > "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
> > 
> >  require gstreamer1.0-plugins-ti.inc
> > 
> > -PR = "${INC_PR}.2"
> > +PR = "${INC_PR}.3"
> >  SRCREV = "876d28b2de5fa02d0f5fa836cba7be9a14b819eb"
> > 
> > -SRC_URI = "git://git.ti.com/glsdk/gst-plugin-vpe.git;protocol=git"
> > +SRC_URI = "git://git.ti.com/glsdk/gst-plugin-vpe.git;protocol=git \
> > +           file://ti-video.conf \
> > +"
> > +
> > +do_install_append() {
> > +    install -d ${D}/etc/modprobe.d
> > +    install -m 644 ${WORKDIR}/ti-video.conf ${D}/etc/modprobe.d }
> > --
> > 1.9.1
> > 
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


  reply	other threads:[~2015-08-10 17:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-04 16:03 [PATCH] gstreamer1.0-plugins-vpe: Add modprobe config for ti-vip and ti-vpe Jacob Stiffler
2015-08-05  9:55 ` Devshatwar, Nikhil
2015-08-10 17:00   ` Denys Dmytriyenko [this message]
2015-08-12 18:19     ` Jacob Stiffler

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=20150810170043.GC30560@edge \
    --to=denys@ti.com \
    --cc=meta-arago@arago-project.org \
    --cc=nikhil.nd@ti.com \
    /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.