On Saturday 21 October 2006 21:43, Tim Mann wrote:
> Hi.  On my 64-bit box with a PVR-150, I recently upgraded from
> Mandriva 2006 to 2007, also upgrading ivtv and mythtv, and NTSC
> closed captions stopped working.
>
> Under 2006 I was using a Mandriva 2.6.12-17mdksmp
> kernel, self-compiled ivtv-0.4.4, and mythtv 0.19 from PLF.  With
> this setup I got NTSC closed captions fine (except for a mythtv bug
> that sometimes only displayed a caption for one frame, but that's
> claimed to be fixed in 0.20).
>
> Under 2007, I have Mandriva kernel 2.6.17-5mdv.  I first tried the
> ivtv-0.7.0 that comes with Mandriva 2007 and mythtv 0.20a from PLF,
> but later also tried ivtv-0.7.1 and tried compiling mythtv 0.20a
> myself with the patch from
> http://ivtvdriver.org/trac/browser/ivtv/branches/0.8/misc/MythTV-0.20
>.diff?rev=3470, just in case this patch is needed with 0.7.x as well
> as 0.8.0.  That didn't help.

No, this patch is for 0.8.0 only. It can't do any harm, though.

> Checking with the vbi-detect and vbi test programs, it looks like
> something is going wrong with the slicing.  vbi-detect typically
> finds cc data on line 18 and/or 15, which I understand is wrong -- it
> should be 21.  As a hack I tried changing vbi.c to accept the data on
> these lines instead of insisting on 21, but it prints only garbage
> then.

It's a bug in the cx25840 driver where the VBI line number for NTSC is 
reported incorrectly (off by 3). The actual VBI slicing should be 
correct.

But the real cause is that while NTSC sliced VBI is supported in 0.4.4 
and kernels <= 2.6.15 it is not supported in kernels 2.6.16/17. Support 
was added in kernel 2.6.18. The reason is that the cx25840 driver 
responsible for doing sliced VBI moved to the kernel in 2.6.16, so 
changes such as this can no longer be done in the ivtv driver, instead 
they have to wait until the kernel supporting it is released.

So you can either downgrade to a 2.6.15 kernel or lower, or upgrade to a 
2.6.18 kernel (and ivtv-0.8.0).

Regards,

        Hans

>
> ivtv:  ==================== START INIT IVTV ====================
> ivtv:  version 0.7.1 (tagged release) loading
> ivtv:  Linux version: 2.6.17-5mdv SMP mod_unload gcc-4.1
> 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 Hauppauge WinTV PVR-150 card (cx23416 based)
> ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17
> GSI 21 sharing vector 0x42 and IRQ 21
> ACPI: PCI Interrupt 0000:01:05.0[A] -> Link [APC2] -> GSI 17 (level,
> low) -> IRQ 66 ivtv0: Unreasonably low latency timer, setting to 64
> (was 32) tveeprom 0-0050: Hauppauge model 26032, rev C182, serial#
> 2953462 tveeprom 0-0050: tuner model is LG TAPC H791F (idx 82, type
> 39) tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
> tveeprom 0-0050: audio processor is CX25841 (idx 35)
> tveeprom 0-0050: decoder processor is CX25841 (idx 28)
> tveeprom 0-0050: has no radio, has IR remote
> tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> cx25840 0-0044: cx25841-23 found @ 0x88 (ivtv i2c driver #0)
> cx25840 0-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
> wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
> ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
> ivtv0: Encoder revision: 0x02040011
> ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB
> total) ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers
> (2048KB total) ivtv0: Allocate DMA encoder VBI stream: 120 x 17472
> buffers (2048KB total) ivtv0: Allocate DMA encoder PCM audio stream:
> 455 x 4608 buffers (2048KB total) tuner 0-0061: type set to 39 (LG
> NTSC (newer TAPC series)) ivtv0: Initialized Hauppauge WinTV PVR-150,
> card #0 ivtv:  ====================  END INIT IVTV 
> ====================

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to