I have the NTSC PVR-500 and ivtv 0.4.3. I had the same results as John in that ivtvctl -q0 is not always a fix, but randomly toggles the problem on and off. Also, changing channels with either ivtv-tune or mythtv has the same effect. I played around a bit and found that at the lowest level, all that is necessary to reproduce this behavior is a soft reset of the cx25843.
Here is an example of the fuzzy audio getting corrected by a soft reset: http://www.geocities.com/high_alive/ Can anyone confirm if that sounds like the problem they are having? To test things out, I modified cx25840-audio.c to have the following behavior, resulting from ivtvctl -q: -q0 -> set to tuner audio (I didn't change this) -q1 -> only do a soft reset of register 0x810 -q2 -> do nothing I did this by temporarily adding the following to the beginning of the set_input function in cx25840-audio.c: =============== Begin Code ======================== static int set_input(struct i2c_client *client, int audio_input) { if(audio_input==AUDIO_EXTERN_1) { printk("soft reset\n"); cx25840_and_or(client, 0x810, ~0x1, 0x01); cx25840_and_or(client, 0x810, ~0x1, 0x00); return 0; } if(audio_input==AUDIO_EXTERN_2) { printk("nothing\n"); return 0; } ================== End Code ===================== The result is that both -q0 and -q1 cause this random toggling of the sound problem. -q2 (the placebo) does nothing as expected. I could not find any red flag in the registers when the audio was bad vs. when it was good. but occasionally I saw that register 0x813 bit 3 (format detection loop complete interrupt asserted). I don't know what that means, but it sounds like audio detection is quirky. Maybe it needs more time to detect the audio and something is interrupting it or it gives up? I think register 0x808 is able to disable the automatic detection, but I've had no luck figuring out what to set it to. Jim __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ ivtv-devel mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-devel
