All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael <auslands-kv@gmx.de>
To: linux-media@vger.kernel.org
Subject: Re: cx23885
Date: Mon, 15 Feb 2010 23:47:56 +0100	[thread overview]
Message-ID: <hlciur$tb0$1@ger.gmane.org> (raw)
In-Reply-To: hlch5h$ogp$1@ger.gmane.org

I've done a diff against 2.6.31, but there are too many differences, so I 
can't easily tell what they have added and what was changed in the 
development between 2.6.21 and 2.6.31.

One thing is clear: They added several "case" instructions with code for the 
MPX-885. So I guess, they really got it working. 

I'm downloading kernel 2.6.21 now and make a diff with these drivers.

Michael

Michael wrote:

> Now comes the best part:
> 
> I found a linux driver on the producers web page. And it is written by ...
> Steven Toth :-)
> 
> http://www.commell.com.tw/Product/Surveillance/MPX-885/mpx-885.rar
> 
> I am looking at the files to see what they have changed (if anything at
> all).
> 
> One thing I found pretty fast is that they added in cx23885-card.c:
> 
> [CX23885_BOARD_MPX885] = {
> .name       = "MPX-885",
>         .porta      = CX23885_ANALOG_VIDEO,
>         .portb      = CX23885_MPEG_ENCODER,
>         .portc      = CX23885_MPEG_DVB,
>         .input          = {{
>             .type   = CX23885_VMUX_COMPOSITE1,
>             .vmux   = CX25840_VIN1_CH1,
>             .gpio0  = 0,
>         }, {
>             .type   = CX23885_VMUX_COMPOSITE2,
>             .vmux   = CX25840_VIN2_CH1,
>             .gpio0  = 0,
>         }, {
>             .type   = CX23885_VMUX_COMPOSITE3,
>             .vmux   = CX25840_VIN3_CH1,
>             .gpio0  = 0,
>         }, {
>             .type   = CX23885_VMUX_COMPOSITE4,
>             .vmux   = CX25840_VIN4_CH1,
>             .gpio0  = 0,
>         } }
> 
> Now, concerning the rest of the code, I'm afraid my knowledge is far below
> what is needed to understand just a little bit of it. I can try to compile
> the code, but they state it is for kernel 2.6.21, so I don't know whether
> it compiles for 2.6.31 (or newer).
> 
> I can try to make a diff, but I guess there will be lots of changes
> between this rather old code and an actual cx23885 version.
> 
> But maybe it is a start. What do you think?
> 
> Michael
> 
> Steven Toth wrote:
> 
>> 
>>> Well if tvtime runs then mplayer will most probably, too. The question
>>> is, what means "with some work" :-)
>> 
>> If you haven't worked on the cx23885 driver in the past, and you're not
>> accustomed to developing tv/video drivers then you're going to struggle,
>> massively.
>> 
>> Not that I'm trying to discourage, on the contrary, the more driver
>> developers the better. In reality this isn't something you can fix with
>> an evenings work.
>> 
>> However, if you would like to take a shot then look at the existing
>> support for the HVR1800 board in the cx23885 tree. Specifically look at
>> the raw video support in the cx23885-video.c file and you'll also want to
>> investigate the cx25840 driver for configuring the A/V subsystem.
>> 
>> Feel free to submit patches.
>> 
>> Regards,
>> 
>> - Steve
>>



  parent reply	other threads:[~2010-02-15 22:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-15 12:20 cx23885 Michael
2010-02-15 12:54 ` cx23885 Andy Walls
2010-02-15 13:15   ` cx23885 Michael
2010-02-15 14:41     ` cx23885 Steven Toth
2010-02-15 15:21       ` cx23885 Michael
2010-02-15 17:11         ` cx23885 Steven Toth
2010-02-15 20:41           ` cx23885 Michael
2010-02-15 20:53             ` cx23885 Steven Toth
2010-02-15 22:17               ` cx23885 Michael
2010-02-15 22:20                 ` cx23885 Steven Toth
2010-02-16 11:37                   ` cx23885 Michael
2010-02-15 22:47                 ` Michael [this message]
2010-02-15 22:56                   ` cx23885 Michael
2010-02-15 23:00                     ` cx23885 Steven Toth
2010-02-15 23:22                     ` cx23885 Ralph Siemsen
2010-02-16  0:36                       ` cx23885 Andy Walls
2010-02-15 22:58                   ` cx23885 Michael
2010-02-15 17:27         ` cx23885 Devin Heitmueller
2010-02-15 20:29           ` cx23885 Michael

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='hlciur$tb0$1@ger.gmane.org' \
    --to=auslands-kv@gmx.de \
    --cc=linux-media@vger.kernel.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 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.