[mythtv-users] Re:Re:M179 vs. PVR-250. was: ivtv firmware 2.02 or

Chris Pinkham cpinkham at bc2va.org
Wed Mar 24 18:37:50 EST 2004


> One other test that I've done among others is that I've installed just
> a plain vanilla kernel and compiled ivtv-0.1.9 with no patching what so
> ever and the S-Video looks as good if not better than my PVR-250. Just
> no sound. It would use input 8 by the way. As soon as I patch the driver
> is where the problems start. I did find a temporary workaround using
> S-Video but it wouldn't survive a rmmod or a reboot. Has anyone noticed
> this as well?

So S-Video works on input 8 with unpatched ivtv v-0.1.9?  When I modified
the Yuan ivtv patch for the M179 card, I may have falsely assumed that the
M179 inputs were the same as what was in the Yuan patch.  If you want to
make the driver use the same inputs for the M179 as for the 250/350 then
edit (the patched) ivtv-api.c and goto around line 967 and search for this:

    /* FIXME too much hardcoding? */
    //inputs
    if ((itv->card_type == IVTV_MPG600)
        ||(itv->card_type == IVTV_MPG160)
        ||(itv->card_type == IVTV_M179)) {
        itv->v4l2.input.active  = 4;
        itv->v4l2.input.count   = 5;
        itv->v4l2.input.table.input = tmk_mpg_inputs;
    } else {
        itv->v4l2.input.active  = 4;
        itv->v4l2.input.count   = 10;
        itv->v4l2.input.table.input = tmk_pvr_inputs;
    }

You need to remove the line with the IVTV_M179 and change the line
above it so that it looks like this:

    /* FIXME too much hardcoding? */
    //inputs
    if ((itv->card_type == IVTV_MPG600)
        ||(itv->card_type == IVTV_MPG160)) {
        itv->v4l2.input.active  = 4;
        itv->v4l2.input.count   = 5;
        itv->v4l2.input.table.input = tmk_mpg_inputs;
    } else {
        itv->v4l2.input.active  = 4;
        itv->v4l2.input.count   = 10;
        itv->v4l2.input.table.input = tmk_pvr_inputs;
    }


Try that and see if you get color S-Video using input #8 with the M179
patched driver.

-- 

Chris



More information about the mythtv-users mailing list