awalls at radix
Jul 7, 2009, 5:37 PM
On Wed, 2009-07-08 at 04:12 +0530, Ravi A wrote:
Re: Fwd: [UNKNOWN IVTV CARD] (cx23416) AverMedia M113-C
[In reply to]
> On Tue, Jul 7, 2009 at 7:00 AM, Andy Walls<awalls [at] radix> wrote:
> > On Mon, 2009-07-06 at 15:52 +0530, Ravi A wrote:
> > Ravi,
> > I have made two patches here:
> > http://linuxtv.org/hg/~awalls/ivtv
> > The first patch adds a new entry for the Partnic PTI-5NF05 tuner in the
> > tuner-simple module.
> > The second patch modifies the AVer PVR-150 card entry to add your AVerTV
> > M113 variant with a Partsnic tuner. (Apparently the AVerMedia AVerTV
> > M113 variants fall into 2 groups: those with Philips tuners and those
> > with Partsnic (Daewoo) tuners.)
> > Please test.
> Hi Andy,
> I compiled and installed this version and it worked like a charm! Thanks a lot.
> - Recognizes the correct card, chips and tuner (dmesg) and no errors
> in initialization
> - Checked composite and tuner inputs with /dev/video0, both are functional
OK, good. I' suspect I may have the chroma input for S-Video wrong.
Let me know if S-Video is only in black and white.
> - Composite input gives decent picture quality (although there seen to
> be some minor artifacts at edges of red/yellow in all players - but
> maybe this is the best that can be expected from this capture card?)
Hmmm. There may be something that can be tweaked in the cx25840 module.
That modules gets the most testing against the CX25843 and the CX25841
is slightly different.
Also, after setting the input to composite, you could try using v4l2-ctl
to set the video standard explicitly:
$ v4l2-ctl -d /dev/video0 -i2
Video input set to 2 (Composite 1)
$ v4l2-ctl -d /dev/video0 -s pal-B
Standard set to 00000007
$ v4l2-ctl -d /dev/video0 -S
Video Standard = 0x00000007
> - Tuner input - can get a picture, but has color artifacts, even after
> fine-tuning frequency with ivctl. Are there any settings for color
> sub-frequency etc I need to tune? I am using India Cable, so the
> frequencies and sub-carriers may be different. In any case I do not
> plan to use the tuner input, but can test and report back on any
> experiments if needed.
The Partsnic PTI-5NF05 tuner is an NTSC-M tuner. India is a PAL-B/G
country. I'm surprised you have a picture with the tuner at all.
I don't know what chips are in the tuner. I assume an Infineon TUA6030
(or clone ) mixer/oscillator chip is the first stage and some othe demod
chip is the second stage. If I knew the chips in the tuner (dmesg
output?) I might be able to tweak things a little, but trying to force a
NTSC-M tuner to do PAL-B/G is never going to work.
> - S-video input - not checked yet, will do this later after getting an
> S-video source
I may have gotten S-Video color wrong. You'll get Luma (black and
white), but maybe not chroma (color). Let me know.
Also don't forget to set the video standard for the incoming signal.
> - Audio - it came up briefly, but missing again now. I may need to
> check all the other system settings for this one.
Hmmm. You may want to try and capture the MPEG stream to a file:
$ cat /dev/video0 > foo.mpg
and then playback the file on a machine with a known good sound setup to
make sure the CX25841/CX23416 is capturing the sound properly.
Also, set the driver to use a 48 ksps audio sample rate and not 32 ksps.
The cx25840 module drives the CX2584x chip's audio PLL out of its valid
operating range for 32 ksps audio. Most newer CX25843 chips don't seem
to care being told to operate too slow, but the audio PLL in some
CX2584x cores stop oscillating under that condition.
ivtv-devel mailing list
ivtv-devel [at] ivtvdriver