On Sunday 05 March 2006 22:52, Aristedes Maniatis wrote:
> On 27/02/2006, at 1:04 AM, Hans Verkuil wrote:
> >> From what I can gather your PVR150 is misdetected as a PVR250. The
> >> full
> >
> > kernel log should be available in /var/log/messages, so it would
> > help me a lot if you can check there for the tveeprom messages
>
> Mar  6 04:03:25 tv msp3400 1-0040: chip=MSP3415D-B3 +nicam +simple
> mode=simple

> Mar  6 04:03:25 tv msp3400 1-0040: I/O error #1 (read 0x10/0x200)
> Mar  6 04:03:25 tv msp3400 1-0040: I/O error #2 (read 0x10/0x200)
> Mar  6 04:03:25 tv msp3400 1-0040: I/O error #3 (read 0x10/0x200)
> Mar  6 04:03:25 tv msp3400 1-0040: giving up, resetting chip. Sound
> will go off, sorry folks :-|

OK, I think what's wrong here. It's an msp3400 bug. Address 0x200 does 
not exist on a MSP3415D chip.

If you can compile the kernel, then edit drivers/media/video/msp3400.c. 
If you are using the msp3400.c from ivtv, then edit that source.

In both cases go to the function autodetect_stereo(). That function 
contains a switch. Now remove the whole MSP_MODE_BTSC case. So this:

                break;
        case MSP_MODE_BTSC:
                val = msp3400c_read(client, I2C_MSP3400C_DEM, 0x200);
                msp3400_dbg("status=0x%x (pri=%s, sec=%s, %s%s%s)\n",
                        val,
                        (val & 0x0002) ? "no"     : "yes",
                        (val & 0x0004) ? "no"     : "yes",
                        (val & 0x0040) ? "stereo" : "mono",
                        (val & 0x0080) ? ", nicam 2nd mono" : "",
                        (val & 0x0100) ? ", bilingual/SAP"  : "");
                rxsubchans = V4L2_TUNER_SUB_MONO;
                if (val & 0x0040) rxsubchans |= V4L2_TUNER_SUB_STEREO;
                if (val & 0x0100) rxsubchans |= V4L2_TUNER_SUB_LANG1;
                break;
        }
        if (rxsubchans != msp->rxsubchans) {

becomes this:

                break;
        }
        if (rxsubchans != msp->rxsubchans) {

Please let me know ASAP if this fixes your problems. If it does, then 
I'll try to get it in 2.6.16 before it is released. It is already fixed 
for 2.6.17 in any case (I did a lot of rewriting for msp3400.c).

Although I do have a WinTV card with a msp3415d I never noticed this as 
it is NTSC specific. This code is never reached in PAL.

Regards,

        Hans

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

Reply via email to