public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: Brian Johnson <brijohn@gmail.com>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>,
	Hans Verkuil <hverkuil@xs4all.nl>,
	Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: Convert cpia driver to v4l2,      drop parallel port version support?
Date: Wed, 17 Jun 2009 20:35:03 +0200	[thread overview]
Message-ID: <4A393757.3030009@redhat.com> (raw)
In-Reply-To: <4A3931DC.1060003@gmail.com>



On 06/17/2009 08:11 PM, Brian Johnson wrote:
> Hans de Goede wrote:
>>>> sn9c102
>>>> Supports a large number of cams also supported by gspca's sonixb / sonixj driver, we're using
>>>> #ifdef .... macros to detect if both are being build at the same time to include usb-id's only
>>>> in one of the 2.
>>> Btw, it would be interesting to work with the out-of-tree microdia driver,
>>> since there are some models that are supported only by the alternative driver.
>> Ack, only one small problem, which is another reason why Luca's drivers should slowly be phased
>> out, Luca has gone closed source with his sn9cxxx driver.
>>
>> There is an out of tree driver for the new sn9c2xx models you talk about though, with active
>> developers, I've pushing them to get it into the mainline, I'll give it another try soonish.
>>
>
> Hello I'm one of the developers for the current out of tree sn9c20x driver.  What needs to be done in order
> to get the sn9c20x code into the mainline? Am i right in assuming it would be preferred to move the code into
> a sn9c20x gspca subdriver rather then include the complete out of tree driver?

Yes that would be very much prefered. Not that I believe that gspca is the
best thing ever invented or anything like that. But usb webcam drivers all have a lot in
common and gspca handles that good enough, and if we ever want to make improvements like
moving usb webcams to use videobuf, having them all as gspca sub drivers means we only
need to do it once, as for example all buffer management is done by gspca.

Also after looking at the pwc driver oops at unplug, and being reminded at the ref counting
with hotplug devices going away and locking nightmare stuff we discussed some time ago,
I'm also really glad to only have all that tricky code only once.

This will also make reviewing a lot easier as there will be no tricky buffer management
and locking, etc. to review.

 > If this is the case I can work
 > on a set of patches to implement our code as a gspca subdriver.
 >

As explained above very much: "Yes please"

> Also i have a few questions regarding submitting the patches.
>
> 1) In addition to sending them to linux-media should I CC them to anyone in particular?

I have such a cam and I'm one of the people actively working on gspca, so if you could CC
me then I'm sure to notice it and review it, and it can get merged through my mercurial
(git alike vcs) tree.

> 2) The entire patch would likely be about 70k. Should I just send one patch or split the
> thing up into several?

I would hope gspca would shrink the size somewhat :) As for one patch versus incremental
patches, as this is a whole new driver one patch will do I guess, I see little use in having
non working increments in between.

Thanks & Regards,

Hans

  reply	other threads:[~2009-06-17 18:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-17  7:43 Convert cpia driver to v4l2, drop parallel port version support? Hans Verkuil
2009-06-17  9:34 ` Hans de Goede
2009-06-17  9:56 ` Mauro Carvalho Chehab
2009-06-17 10:00   ` Mauro Carvalho Chehab
2009-06-17 10:59   ` Hans de Goede
2009-06-17 14:28     ` Mauro Carvalho Chehab
2009-06-17 14:41       ` Hans de Goede
2009-06-17 15:23         ` Mauro Carvalho Chehab
2009-06-17 17:25           ` Hans de Goede
2009-06-17 18:11         ` Brian Johnson
2009-06-17 18:35           ` Hans de Goede [this message]
2009-06-17 10:56 ` Andy Walls
  -- strict thread matches above, loose matches on Subject: below --
2009-06-17 11:26 Hans Verkuil
2009-06-17 13:29 ` Mauro Carvalho Chehab
2009-06-17 10:32 Hans Verkuil
2009-06-17  7:00 Hans de Goede

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=4A393757.3030009@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=brijohn@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox