All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: "Ezequiel García" <elezegarcia@gmail.com>
Cc: Tomas Winkler <tomasw@gmail.com>, Greg KH <gregkh@suse.de>,
	Mauro Carvalho Chehab <mchehab@infradead.org>,
	linux-media@vger.kernel.org, devel@driverdev.osuosl.org
Subject: Re: A second easycap driver implementation
Date: Wed, 07 Mar 2012 10:10:41 +0100	[thread overview]
Message-ID: <4F572611.50607@redhat.com> (raw)
In-Reply-To: <CALF0-+V7DXB+x-FKcy00kjfvdvLGKVTAmEEBP7zfFYxm+0NvYQ@mail.gmail.com>

Hi,

On 03/06/2012 10:04 PM, Ezequiel García wrote:
> Hello,
>
> After some research on v4l2 and videbuf2, and considering that easycap
> driver is pretty
> outdated I've decided to start writing a new driver from scratch.
>
> I am using the excellent vivi driver and some usb video capture drivers as
> a starting point. And of course, I'm using the current easycap implementation
> as a reference (it works pretty well).
>
> I have a couple of doubts regarding the development itself (how to
> trace properly,
> where to allocate urbs, and such) but perhaps the maintainers prefer
> to take a look
> at the code.
>
> However, currently the driver is just a skeleton: it does all v4l2 and
> videobuf2 intialization
> but it doesn't actually stream video or submit urbs.
>
> So,
> 1. Should I try to have something more finished before submit or can I
> submit as it is?
> 2. In any case, how should I submit it? (Considering there is already
> a working driver).

Have you considered instead slowly moving the existing easycap driver
over to all the new infrastructure we have now. For starters replace
its buffer management with videobuf2, then in another patch replace
some other bits, etc. ?  See what I've done to the pwc driver :)

OTOH if you already have a new more modern driver ready, then I say
go ahead and submit it. I would suggest to add it to staging too,
and make the 2 kconfig options conflict, so enabling one would allow
the user to no longer select the other (with a note about this in
the help text). And then hopefully soon we will see a follow up
patch removing the old driver, and then moving the new one out
of staging.

Which ever path you choose: Thanks for working on this!

Regards,

Hans

  parent reply	other threads:[~2012-03-07  9:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-06 21:04 A second easycap driver implementation Ezequiel García
2012-03-06 21:05 ` Ezequiel García
2012-03-07  9:10 ` Hans de Goede [this message]
2012-03-07 14:32   ` Ezequiel García
2012-03-07 15:43     ` gregkh
2012-03-07 16:35       ` Mauro Carvalho Chehab
2012-03-07 16:45         ` Ezequiel García
2012-03-07 17:17           ` Mauro Carvalho Chehab
2012-03-07 20:39             ` Ezequiel García
2012-03-07 20:53               ` Mauro Carvalho Chehab
2012-03-19 22:05             ` Ezequiel García
2012-03-19 22:34               ` Mauro Carvalho Chehab

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=4F572611.50607@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=elezegarcia@gmail.com \
    --cc=gregkh@suse.de \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=tomasw@gmail.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.