Changeset 496


Ignore:
Timestamp:
Nov 5, 2009, 9:08:46 AM (10 years ago)
Author:
dingo35
Message:

Improved user information + logging on Sky Italy cards

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/csctapi/ifd_towitoko.c

    r494 r496  
    858858    //return IFD_TOWITOKO_CLOCK_RATE;
    859859    extern int mhz;
    860     cs_log("CLOCK RATE IS %i in 10kHz steps",mhz);
     860    cs_debug("CLOCK RATE IS %i in 10kHz steps",mhz);
    861861    return mhz * 10000L;
    862862}
  • trunk/csctapi/protocol_t0.c

    r8 r496  
    130130   
    131131#ifdef DEBUG_PROTOCOL
    132     printf ("Protocol: T=0: WWT=%d\n", (int)(t0->wwt));
     132    printf ("Protocol: T=0: WWT=%d, Clockrate=%lu\n", (int)(t0->wwt),ICC_Async_GetClockRate(t0->icc));
    133133#endif
    134134   
  • trunk/reader-videoguard2.c

    r495 r496  
    502502    {
    503503        cs_log("Type: Videoguard Sky Italia");
     504    if (reader[ridx].custom_speed) {
     505      cs_log("Notice: for Sky Italia 'customspeed = 1' will not work; resetting to 'customspeed = 0'");
     506      reader[ridx].custom_speed = 0;
     507    }
     508    if (reader[ridx].mhz != 357)
     509      cs_log("Warning: for Sky Italia currently only 'mhz = 357' is known to work! Device %s has mhz = %i",reader[ridx].device,reader[ridx].mhz);
    504510    }
    505511    else if ((atrsize == sizeof (atr_directv)) && (memcmp (atr, atr_directv, atrsize) == 0))
     
    518524    {
    519525        cs_log("Type: Videoguard Sky Italia new (093B)");
     526    if (reader[ridx].custom_speed) {
     527      cs_log("Notice: for Sky Italia 'customspeed = 1' will not work; resetting to 'customspeed = 0'");
     528      reader[ridx].custom_speed = 0;
     529    }
     530    if (reader[ridx].mhz != 357)
     531      cs_log("Warning: for Sky Italia currently only 'mhz = 357' is known to work! Device %s has mhz = %i",reader[ridx].device,reader[ridx].mhz);
    520532    }
    521533    else
Note: See TracChangeset for help on using the changeset viewer.