public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Fred Seward <fred.seward@adiengineering.com>
To: video4linux-list@redhat.com
Subject: cx23888 board setup
Date: Tue, 19 Oct 2010 17:54:36 -0400	[thread overview]
Message-ID: <4CBE139C.8000508@adiengineering.com> (raw)

We have a custom x86 board with:

    - A soldered down cx23888

    - Four composite inputs feeding the cx23888. No tuner.
      We're only looking at the four composite inputs.

    - FC13 with a 2.6.33.4 kernel.

The cx23885 driver loads and I get /dev/video0 but when I try to
cat /dev/video0 I get data but it's not an mpeg file.

Can anyone point me to some documentation which tells how to set
up the cx23885_board board structure and what other
initialization might need to be done?


In the cx23885 driver I modified cx23885-cards.c to add an
entry for our hardware.

struct cx23885_board cx23885_boards[] = {

   [CX23885_BOARD_ECU] = {
       .name       = "custom board",
       .porta      = CX23885_ANALOG_VIDEO,
       .portb      = CX23885_MPEG_ENCODER,
       .clk_freq   = 50000000,
       .input          = {{
           .type   = CX23885_VMUX_COMPOSITE1,
           .vmux   = 0,
       }, {
           .type   = CX23885_VMUX_COMPOSITE2,
           .vmux   = 1,
       }, {
           .type   = CX23885_VMUX_COMPOSITE3,
           .vmux   = 2,
       }, {
           .type   = CX23885_VMUX_COMPOSITE4,
           .vmux   = 3,
       } },
   },

cx23885_subids

   }, {
       .subvendor = 0x0000,
       .subdevice = 0x0000,
       .card      = CX23885_BOARD_ECU,
   }, {

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

             reply	other threads:[~2010-10-19 21:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-19 21:54 Fred Seward [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-10-19 23:39 cx23888 board setup Andy Walls

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=4CBE139C.8000508@adiengineering.com \
    --to=fred.seward@adiengineering.com \
    --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