Web lists-archives.com

cx23888 board setup




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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list