On Fri, 2009-05-01 at 01:32 -0400, faginbagin wrote:
> Hi Andy,
> 
> > OK.  I wasn't sure if it would.  That narrows the problem to the '843
> > core in the CX23418 (I think).
> > 
> > Could you provide the output of 
> > 
> > # v4l2-dbg -d /dev/video0 -c host0 --log-status -l
> > 
> > for when you are tuned to a channel with good sound and one with
> > consistent static (but good video).
> 
> Good sound: See attached dbg-after-mplayer-chan4.txt & dbg-tune-chan2.txt
> dbg-after-mplayer-chan4.txt was captured after starting mplayer, default 
> channel appears to be 4.
> dbg-tune-chan2.txt was captured after tuning to channel 2.
> 
> Static but good video; See attached dbg-tune-chan41.txt
> Channel 41 is one of the noisier channels.

Helen,

Before I do a lot of clean-up on some code that I think is in error,
could you try the following.

When you are tuned to a channel with poor sound, like channel 41, please
try these commands:

# v4l2-dbg -d /dev/video0 -c host1 -g 0x104
ioctl: VIDIOC_DBG_G_REGISTER
Register 0x00000104 = 71b5c00h (119233536d  00000111 00011011 01011100 
00000000b)

# v4l2-dbg -d /dev/video0 -c host1 -s 0x104 0x07005d80
Register 0x00000104 set to 0x7005d80


The cx18 driver is currently setting the AGC for the SIF audio input
amplifier to set the SIF input amplifier gain based on video signal
level.  This register change (which is tailored for an HVR-1600 set to
the analog tuner) sets the AGC for the SIF audio input amplifier to be
controlled by the audio signal level.

Hopefully that will make things better.


> Are there any other debug flags I should enable besides
> CONFIG_VIDEO_ADV_DEBUG? I was going to attach my .config file, but it
> caused thie email to exceed a 40K limit.

No.  That's the only one in the .config I really care about.  There's
another .config variable to build debugging into the I2C subsystem, but
that requires a kernel rebuild and I don't think we need it set.

The other debug paramaters I'm referring to are the flags to the cx18's
debug module option.  

$ modinfo cx18 

will show you what the flags mean.  The default is debug=0 of course.


> I also have a dmesg.txt that covers the time from when I unloaded &
> reloaded modules to when I stopped mplayer. I'm not attaching it as it
> would put this message over 40K. If you want it, and/or my .config
> file, perhaps I should send them to you off-list?

Don't bother.

Regards,
Andy

> Regards,
> Helen


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

Reply via email to