public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <j.w.r.degoede@hhs.nl>
To: "Erik Andrén" <erik.andren@gmail.com>
Cc: m560x-driver-devel <m560x-driver-devel@lists.sourceforge.net>,
	video4linux-list@redhat.com
Subject: Re: [PATCH][RFC] Add support for the ALi m5602 usb bridge webcam
Date: Fri, 19 Sep 2008 06:54:03 +0200	[thread overview]
Message-ID: <48D3306B.4060001@hhs.nl> (raw)
In-Reply-To: <62e5edd40809180002t248de932g3c3515bf5081993c@mail.gmail.com>

Erik Andrén wrote:
> Hi,
> I'm proud to announce the following patch adding support for the ALi m5602
> usb bridge connected to several different sensors.
> This driver has been brewing for a long time in the m560x.sf.net project and
> exists due to the hard work of many persons.
> 
> libv4l is needed in order to gain support for multiple pixelformats.
> 
> The patch should apply against the latest v4l-dvb hg tree.
> 
> Thanks for any feedback,
> Erik
>

Hi Erik,

Thanks for doing this, unfortunately the driver which you used as a 
template to start from has various issues (not allowing multiple opens 
for one, interpreting the v4l2 API in interesting ways in other places).

Besides that there is lot of code duplication between isoc mode usb webcams.

I would kindly like to ask you to consider porting the m5602 driver to 
the gspca framework, which provides a generic framework for isoc webcams 
and takes a lot of stuff out of the driver and into a more generic 
framework (like try_fmt mode negatiation, isoc mode setup and handling, 
frame buffer management, etc.).

gspca is in the current 2.6.27 kernels, if you look under
drivers/media/video/gspca you will see drivers for a lot of different 
webcams there, you could for example take the pac207 driver as an 
example, strip it empty and then copy and paste the relevant part of 
your driver to there.

I will help you in anyway I can.

Does this sound like a plan?

Regards,

Hans

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

  reply	other threads:[~2008-09-19 13:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-18  7:02 [PATCH][RFC] Add support for the ALi m5602 usb bridge webcam Erik Andrén
2008-09-19  4:54 ` Hans de Goede [this message]
2008-09-19 18:56   ` Erik Andrén

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=48D3306B.4060001@hhs.nl \
    --to=j.w.r.degoede@hhs.nl \
    --cc=erik.andren@gmail.com \
    --cc=m560x-driver-devel@lists.sourceforge.net \
    --cc=video4linux-list@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox