public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* cx23888 board setup
@ 2010-10-19 21:54 Fred Seward
  0 siblings, 0 replies; 2+ messages in thread
From: Fred Seward @ 2010-10-19 21:54 UTC (permalink / raw)
  To: video4linux-list

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cx23888 board setup
@ 2010-10-19 23:39 Andy Walls
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Walls @ 2010-10-19 23:39 UTC (permalink / raw)
  To: Fred Seward, video4linux-list, stoth, linux-media

Fred,
You should send mail to the linux-media list; the video4linux list is mostly dead.

Analog support in the cx23885 driver is not complete.  You can contact Steve Toth at kernellabs, if your company needs something in a certain timeframe and is willing to sponsor getting the functionality you need.

Also the CX23888 itself doesn't do MPEG compression.  You'll need a connected CX23417 (or CX23416) to do the compression.  (Maybe you have that, but you didn't mention it.)

Regards,
Andy

Fred Seward <fred.seward@adiengineering.com> wrote:

>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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-19 23:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-19 21:54 cx23888 board setup Fred Seward
  -- strict thread matches above, loose matches on Subject: below --
2010-10-19 23:39 Andy Walls

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox