public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Gabriele Dini Ciacci <dark.schneider@iol.it>
To: Patrick Boettcher <patrick.boettcher@desy.de>
Cc: Devin Heitmueller <devin.heitmueller@gmail.com>,
	linux-media@vger.kernel.org
Subject: Re: [PATCH] Drivers for Pinnacle pctv200e and pctv60e
Date: Wed, 1 Apr 2009 20:28:55 +0200	[thread overview]
Message-ID: <20090401202855.61f5cdd4@gdc1> (raw)
In-Reply-To: <alpine.LRH.1.10.0904011716370.21921@pub4.ifh.de>

On Wed, 1 Apr 2009 17:27:04 +0200 (CEST)
Patrick Boettcher <patrick.boettcher@desy.de> wrote:

> Hi,
> 
> On Wed, 1 Apr 2009, Gabriele Dini Ciacci wrote:
> 
> > On Tue, 31 Mar 2009 17:51:23 -0400
> > Devin Heitmueller <devin.heitmueller@gmail.com> wrote:
> >
> >> On Tue, Mar 31, 2009 at 5:35 PM, Gabriele Dini Ciacci
> >> <dark.schneider@iol.it> wrote:
> >>> I it's so, say me how to make or where to look to create a profile
> >>> for the existing driver.
> >>>
> >>> I am willing to do the work.
> >>>
> >>> (when I first wrote the driver to me it seemed that this was the
> >>> simplet way.
> >>>
> >>> Meanwhile I will try to look at the Cypress FX2
> >>
> >> As Michael Krufky pointed out to me off-list, I was not exactly
> >> correct here.
> >>
> >> While there are indeed drivers based on the same FX2 chip in your
> >> device, it may be possible to reuse an existing driver, or you may
> >> need a whole new driver, depending on how much the firmware varies
> >> between your product versus the others.  You may want to look at
> >> the pvrusb2 and cxusb drivers, which also use the FX2 chip, and
> >> see what similarities exist in terms of the API and command set.
> >> If it is not similar to any of the others, then writing a new
> >> driver is probably the correct approach.
> >>
> >> Regards,
> >>
> >> Devin
> >>
> >
> > Fine perfect, thanks,
> 
> Attached you can find my attempts from 2005. I2C should work, please 
> re-use this implementation as it nicely splits i2c_transfer from the
> rest of the required functionality.
> 
> I think I still have the pctv 200e somewhere in a box... I may get it 
> back, undust it and try.
> 
> Patrick.
> 
> --
>    Mail: patrick.boettcher@desy.de
>    WWW:  http://www.wi-bw.tfh-wildau.de/~pboettch/

I had a quick look (1 min) and I think the interface is to port to the
new "style" used. I can merge my version of the driver with your and
get a final driver, indeed your i2c is much better, as I coded i2c as a
i2c ignorant, so just copying from the other drivers. I will just take
your implementation for that part.

Thanks a lot for the i2c explanation, that explains! Now my view is
much clearer.

So what if I try to merge the two drivers to get a clean one, test them
on pctv60e, you test them on pctv200e and... done!

The cherry would be to spend some time on the IR also, but just wait to
have a driver.

Regards & cheers,
Gabriele

      reply	other threads:[~2009-04-01 18:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-29 13:56 [PATCH] Drivers for Pinnacle pctv200e and pctv60e Gabriele Dini Ciacci
2009-03-31 10:56 ` Mauro Carvalho Chehab
2009-03-31 19:20   ` Gabriele Dini Ciacci
2009-03-31 20:59     ` Devin Heitmueller
2009-03-31 21:35       ` Gabriele Dini Ciacci
2009-03-31 21:51         ` Devin Heitmueller
2009-03-31 22:47           ` Gabriele Dini Ciacci
2009-04-01  7:34             ` Patrick Boettcher
2009-04-01 15:27             ` Patrick Boettcher
2009-04-01 18:28               ` Gabriele Dini Ciacci [this message]

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=20090401202855.61f5cdd4@gdc1 \
    --to=dark.schneider@iol.it \
    --cc=devin.heitmueller@gmail.com \
    --cc=linux-media@vger.kernel.org \
    --cc=patrick.boettcher@desy.de \
    /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