On Sunday 15 October 2006 07:45, timecop wrote:
> I picked up this card after a quick google showed it should have been
> supported by IVTV.
> Result - not supported.
Oh goodie, a new card!
>
> Specifics:
> ivtv: ==================== START INIT IVTV ====================
> ivtv: version 0.8.0 (tagged release) loading
> ivtv: Linux version: 2.6.18 mod_unload PENTIUMIII gcc-3.4
> ivtv: In case of problems please include the debug info between
> ivtv: the START INIT IVTV and END INIT IVTV lines, along with
> ivtv: any module options, when mailing the ivtv-users mailinglist.
> ivtv0: Autodetected AOpen VA2000MAX-SNT6 card (cx23416 based)
> PCI: Enabling device 0000:01:0f.0 (0110 -> 0112)
> ACPI: PCI Interrupt 0000:01:0f.0[A] -> Link [LNKA] -> GSI 10 (level,
> low) -> IRQ 10
> ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
> tuner 0-0060: All bytes are equal. It is not a TEA5767
> tuner 0-0060: chip found @ 0xc0 (ivtv i2c driver #0)
> saa7115 0-0021: saa7114 found @ 0x42 (ivtv i2c driver #0)
> upd64083 0-005c: chip found @ 0xb8 (ivtv i2c driver #0)
> msp3400 0-0040: MSP3425G-B8 found @ 0x80 (ivtv i2c driver #0)
> msp3400 0-0040: MSP3425G-B8 supports radio, mode is autodetect and
> autoselect ivtv0: Encoder revision: 0x02050032
> ivtv0: Registered device video0 for encoder MPEG
> ivtv0: Registered device video32 for encoder YUV
> ivtv0: Registered device vbi0 for encoder VBI
> ivtv0: Registered device video24 for encoder PCM audio
> tuner 0-0060: type set to 53 (Philips FQ1286)
> ivtv0: Initialized AOpen VA2000MAX-SNT6, card #0
> ivtv: ==================== END INIT IVTV ====================
>
> In order to even detect the card, I had to add its subsystem ID to
> ivtc-cards.c for AOpen VA2000:
> { PCI_DEVICE_ID_IVTV16, 0, 0xff5f }, < original card in
> cards.c { PCI_DEVICE_ID_IVTV16, 0, 0xfd5f }, < my card's revision
>
> >From looking at the rest of the code in the card definition, it
> > seems
>
> a lot of stuff is wrong - for example there's a S-Video and Composite
> input on the back of the card, as well as tuner type seems to be
> specified wrong (maybe its compatible?)
Try this ivtv_card_va2000 definition:
static const struct ivtv_card ivtv_card_va2000 = {
.type = IVTV_CARD_VA2000MAX_SNT6,
.name = "AOpen VA2000MAX-SNT6",
.v4l2_capabilities = IVTV_CAP_ENCODER,
.hw_video = IVTV_HW_SAA7114 | IVTV_HW_UPD6408X,
.hw_audio = IVTV_HW_MSP34XX,
.hw_audio_ctrl = IVTV_HW_MSP34XX,
.hw_all = IVTV_HW_MSP34XX | IVTV_HW_SAA7114 |
IVTV_HW_UPD6408X | IVTV_HW_TUNER,
.video_inputs = {
{ IVTV_CARD_INPUT_VID_TUNER, 0, IVTV_SAA71XX_SVIDEO0 },
{ IVTV_CARD_INPUT_SVIDEO1, 1, IVTV_SAA71XX_SVIDEO2 },
{ IVTV_CARD_INPUT_COMPOSITE1, 1, IVTV_SAA71XX_SVIDEO2 },
},
.audio_inputs = {
{ IVTV_CARD_INPUT_AUD_TUNER, MSP_TUNER },
{ IVTV_CARD_INPUT_LINE_IN1, MSP_SCART1 },
},
.tuners = {
{ .std = V4L2_STD_525_60, .tuner = TUNER_PHILIPS_NTSC },
},
.pci_list = ivtv_pci_va2000,
};
For the video_inputs you may have to try SVIDEO0/1/2 or 3 as input.
Possibly even IVTV_SAA71XX_COMPOSITE0-5 for the tuner and composite
inputs, but I think the upd64083 chip always gives a s-video type
input. It takes some time, but one of these should be the correct
input.
Let me know how it goes, once it is fully functioning I'll add it to
ivtv.
Thanks,
Hans
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel