I was finally able to get tuner audio working on my PVR 150 (boxed
NTSC version).  Although 0.3.2b seems to be working for people with
PAL versions I had no luck until I made the changes outlined below to
the 0.3.2b source.  Since tuner audio was coming through when
composite was selected, I copied the audio setup values from composite
to the tuner setup until I got decent results.

This is probably not the correct fix, but I wanted to let people know
what worked for me.


--- cx25840-driver.c    2005-01-13 22:04:28.000000000 -0800
+++ cx25840-driver.c    2005-01-13 22:16:06.000000000 -0800
@@ -1104,13 +1104,13 @@ static int cx25840_command (struct i2c_c
          CX25840_SET_VD_SOFT_RST(0x0001),     // Video assert
          CX25840_EXECUTE,
          
-         CX25840_SET_CH_SEL_ADC2(0x0001),
+         CX25840_SET_CH_SEL_ADC2(0x0000),
            CX25840_SET_DUAL_MODE_ADC2(0x0000),
            CX25840_SET_CHIP_ACFG_DIS(0x0000),
            CX25840_SET_CH_1__SOURCE(0x0006),
            CX25840_SET_CH_2__SOURCE(0x0000),
          CX25840_SET_CH_3__SOURCE(0x0001), // 1 for 150, 0 for 500
-           CX25840_SET_AUX_PLL_POST(0x0020),
+           CX25840_SET_AUX_PLL_POST(0x0018),
            CX25840_SET_VID_FMT_SEL(0x0000),
            CX25840_SET_SQ_PIXEL(0x0000),
            CX25840_SET_ACFG_DIS(0x0001),
@@ -1125,14 +1125,14 @@ static int cx25840_command (struct i2c_c
            CX25840_SET_FORMAT_45MHZ(0x0000),
            CX25840_SET_FORMAT_65MHZ(0x0002),
            CX25840_SET_TUNER_OUTPUT_FORMAT(0x0000),
-           CX25840_SET_PATH1_SEL_CTL(0x0000),
-           CX25840_SET_PATH1_AVC_RMS_CON(0x0007),
+           CX25840_SET_PATH1_SEL_CTL(0x0002),
+           CX25840_SET_PATH1_AVC_RMS_CON(0x0001),
            CX25840_SET_PATH1_AVC_CR(0x0000),
            CX25840_SET_PATH1_AVC_STEREO(0x0001),
-           CX25840_SET_PATH1_AVC_AT(0x0003),
-           CX25840_SET_PATH1_AVC_RT(0x0006),
+           CX25840_SET_PATH1_AVC_AT(0x0001),
+           CX25840_SET_PATH1_AVC_RT(0x0001),
            CX25840_SET_PATH1_AVC_CG(0x0000),
-           CX25840_SET_SOFT1_MUTE_EN(0x0000),
+           CX25840_SET_SOFT1_MUTE_EN(0x0001),
            CX25840_SET_SRC1_MUTE_EN(0x0000),
            CX25840_SET_SA_MUTE_EN(0x0000),
          CX25840_SET_PAR_MUTE_EN(0x0000),
@@ -1140,7 +1140,7 @@ static int cx25840_command (struct i2c_c
          CX25840_SET_SRC3_PHASE_INC(41246400/freq_out),
          CX25840_EXECUTE,
 
-           CX25840_SET_START_MICROCNTL(0x0001), // FW Start
+           CX25840_SET_START_MICROCNTL(0x0000), // FW Start
            CX25840_SET_SOFT_RESET(0x0000),      // Deassert soft reset
            CX25840_SET_VD_SOFT_RST(0x0000),     // Deassert video reset
            CX25840_EXECUTE,


On 14 Jan 2005 23:54:58 -0000, Matt <[EMAIL PROTECTED]> wrote:
> I have been keeping up with the development of the driver for the PVR 150 and 
> it seems as though people with the PAL version are having some good luck with 
> the ivtv-0.3.2b driver. Well, I have an NTSC version and with the ivtv-0.3.2a 
> driver 
> I am able to get great video but no audio. With the ivtv-0.3.2b version of 
> the driver 
> all I get is static and no sound. I have tried using the kernel tuner module 
> and the 
> tuner module that comes with the ivtv-0.3.2b driver. I have spent many hours 
> trying 
> a wide array of tuners (tuner 47 works best with ivtv-0.3.2a). I have not 
> been able 
> to get any kind of output using the ivtv-0.3.2b driver. The really annoying 
> thing is 
> that all of the drivers seem to be loading without any problems.
> 
> I have attached the dmesg output for my system for both the version 
> ivtv-0.3.2a 
> and ivtv-0.3.2b drivers. I hope these will be helpful in diagnosing the 
> problem.
> 
> Arch linux kernel 2.6.10


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to