On 6/29/05, Bryan Mayland <[EMAIL PROTECTED]> wrote: > <snip> > Finally, I added code to set port1=0 port2=0 (enable output) on the > tda9887 on unpause_and_resume(). I believe this is part of the magic of > the black magic patch and hopefully should further reduce sound problems > on PVR-150s in PAL-land (SECAM we'll see). Users who got mediocre sound > by setting the qss module parameter might want to try removing it after > this patch. >
Looks like something in this part of the patch is not working as expected. I have not been able to get any sound from my pvr500 since the patch was committed to 0.3.6v. I tried reverting the changes by applying the patch below to 0.3.6z, and the sound is working again. Card info: tveeprom: Hauppauge: model = 23559, rev = D591, serial# = 7874299 tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56) tveeprom: tuner fmt = PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17) tveeprom: audio_processor = MSP3410D (type = 5) diff -ur ivtv-0.3.6z.orig/driver/ivtv-fileops.c ivtv-0.3.6z/driver/ivtv-fileops.c --- ivtv-0.3.6z.orig/driver/ivtv-fileops.c 2005-07-11 14:39:55.000000000 +0200 +++ ivtv-0.3.6z/driver/ivtv-fileops.c 2005-07-15 08:45:49.000000000 +0200 @@ -1605,11 +1605,6 @@ IVTV_DEBUG(IVTV_DEBUG_INFO, "Disabling digitizer\n"); dig = 0; itv->card->video_dec_func(itv, DECODER_ENABLE_OUTPUT, &dig); - - if (tda9887 == 0) { - int config = 0; - ivtv_tda9887(itv, TDA9887_SET_CONFIG, &config); - } } void unmute_and_resume(struct ivtv *itv, int sleep) @@ -1637,11 +1632,6 @@ if (sleep) ivtv_sleep_timeout(HZ / 10, 0); - if (tda9887 == 0) { - int config = TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE; - ivtv_tda9887(itv, TDA9887_SET_CONFIG, &config); - } - /* Unmute */ ivtv_audio_set_mute(itv, 0); IVTV_DEBUG(IVTV_DEBUG_INFO, "Finished with Mute\n"); Regards, Petter ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ ivtv-devel mailing list ivtv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ivtv-devel