cardtype in this module is 1 for PG600 based cards (Yuan and DiamondMM), it's 0 for all others. So the only change should happen for PG600 based cards. 'cardtype' has no relation to the cardtype module parameter of ivtv.
Hans > Hans Verkuil wrote: > >>- CX25840_SET_PWR_DN_CH2(0x01); >>- CX25840_SET_PWR_DN_CH3(0x00); >>- CX25840_SET_CH_3__SOURCE(0x01); >>+ CX25840_SET_PWR_DN_CH3(0x01); >>+ CX25840_SET_PWR_DN_CH2(0x00); >>+ CX25840_SET_CH_2__SOURCE(0x01); >> CX25840_SET_PWR_DN_ADC2(0x00); >>- CX25840_SET_CH_SEL_ADC2(0x01); >>+ CX25840_SET_CH_SEL_ADC2(0x00); >> >> > I can tell you that this most certainly will break audio for those > who do not have a PVR-550. In order for PVR-150s and 500s to have sound > on tuner, the CH1 source must be 6, the CH3 source must be 1 and ADC2 > must select CH3 as its input channel (of course all units in play must > be powered on for this to work too). > > On the PVR150: > CVBS (composite tuner video) is on In7 > Tuner audio is on In8 > So these two inputs must be selected in the AFE. How's this for a > better solution: > > CX25840_SET_PWR_DN_CH2(0x00); > CX25840_SET_PWR_DN_CH3(0x00); > CX25840_SET_CH_2__SOURCE(0x01); > CX25840_SET_CH_3__SOURCE(0x01); > CX25840_SET_PWR_DN_ADC2(0x00); > CX25840_SET_CH_SEL_ADC2(cardtype == 7 : 0x00 ? 0x01); > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > ivtv-devel mailing list > ivtv-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ivtv-devel > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ ivtv-devel mailing list ivtv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ivtv-devel