annuncio

Comprimi
Ancora nessun annuncio.

0x07-Filter-Patch oscam-svn/globals.h

Comprimi
X
Comprimi
Currently Active Users Viewing This Thread: 0 (0 members and 0 guests)
 
  • Filtro
  • Ora
  • Visualizza
Elimina tutto
nuovi messaggi

  • 0x07-Filter-Patch oscam-svn/globals.h

    diff -u -r -x '.*' ./globals.h /tmp/compile/oscam-svn/globals.h
    --- ./globals.h 2014-07-05 21:52:15.717318213 +0200
    +++ /tmp/compile/oscam-svn/globals.h 2014-07-05 09:45:58.211466085 +0200
    @@ -221,7 +221,7 @@
    /* ===========================
    * constants
    * =========================== */
    -#define CS_VERSION "1.20-unstable_svn"
    +#define CS_VERSION "1.20-unstable-patch"
    #ifndef CS_SVN_VERSION
    # define CS_SVN_VERSION "test"
    #endif
    @@ -1400,6 +1400,7 @@
    int8_t cooldownstate;
    struct timeb cooldowntime;
    struct ecmrl rlecmh[MAXECMRATELIMIT];
    + int8_t fix_07;
    int8_t fix_9993;
    uint8_t ins7E[0x1A + 1];
    uint8_t ins7E11[0x01 + 1];
    Nur in /tmp/compile/oscam-svn/: make-arm.
    diff -u -r -x '.*' ./module-webif.c /tmp/compile/oscam-svn/module-webif.c
    --- ./module-webif.c 2014-07-05 21:52:15.734292473 +0200
    +++ /tmp/compile/oscam-svn/module-webif.c 2014-07-05 09:50:42.197192659 +0200
    @@ -1679,6 +1679,17 @@
    if(rdr->boxid)
    { tpl_printf(vars, TPLADD, "BOXID", "%08X", rdr->boxid); }

    + // Filt 07
    + if(!apicall)
    + {
    + tpl_addVar(vars, TPLADD, "FIX07CHECKED", (rdr->fix_07 == 1) ? "checked" : "");
    + }
    + else
    + {
    + tpl_addVar(vars, TPLADD, "FIX07VALUE", (rdr->fix_07 == 1) ? "1" : "0");
    + }
    +
    +
    // Fix 9993
    if(!apicall)
    {
    diff -u -r -x '.*' ./oscam-config-reader.c /tmp/compile/oscam-svn/oscam-config-reader.c
    --- ./oscam-config-reader.c 2014-07-05 21:52:15.697309710 +0200
    +++ /tmp/compile/oscam-svn/oscam-config-reader.c 2014-07-05 09:53:06.975479092 +0200
    @@ -990,6 +990,7 @@
    DEF_OPT_FUNC_X("ins7e" , OFS(ins7E), ins7E_fn, SIZEOF(ins7E)),
    DEF_OPT_FUNC_X("ins7e11" , OFS(ins7E11), ins7E_fn, SIZEOF(ins7E11)),
    DEF_OPT_FUNC_X("ins2e06" , OFS(ins2e06), ins7E_fn, SIZEOF(ins2e06)),
    + DEF_OPT_INT8("fix07" , OFS(fix_07), 1),
    DEF_OPT_INT8("fix9993" , OFS(fix_9993), 0),
    DEF_OPT_INT8("force_irdeto" , OFS(force_irdeto), 0),
    DEF_OPT_INT8("needsemmfirst" , OFS(needsemmfirst), 0),
    @@ -1074,7 +1075,7 @@
    // These are written only when the reader is physical reader
    static const char *hw_only_settings[] =
    {
    - "readnano", "resetcycle", "smargopatch", "autospeed", "sc8in1_dtrrts_patch", "boxid",
    + "readnano", "resetcycle", "smargopatch", "autospeed", "sc8in1_dtrrts_patch", "boxid","fix07",
    "fix9993", "rsakey", "ins7e", "ins7e11", "ins2e06", "force_irdeto", "needsemmfirst", "boxkey",
    "atr", "detect", "nagra_read", "mhz", "cardmhz",
    #ifdef WITH_AZBOX
    diff -u -r -x '.*' ./oscam-emm.c /tmp/compile/oscam-svn/oscam-emm.c
    --- ./oscam-emm.c 2014-07-05 21:52:15.698760673 +0200
    +++ /tmp/compile/oscam-svn/oscam-emm.c 2014-07-05 21:47:49.375394209 +0200
    @@ -429,6 +429,22 @@
    client->last = time(NULL);

    int32_t is_blocked = 0;
    +
    + if (aureader->fix_07)
    + {
    + if(ep->emm[1] == 0x70 && ep->emm[8] != 2 && (caid == 0x098C || caid == 0x9C4))
    + {
    + rdr_log(aureader,"emmtype 0x%02X marked as unknown for caid 0x%04X", ep->emm[8],caid);
    + ep->type = UNKNOWN;
    + }
    +
    + if(ep->emm[1] == 0 && ep->emm[4] != 2 && (caid == 0x098C || caid == 0x9C4))
    + {
    + rdr_log(aureader,"emmtype 0x%02X marked as unknown for caid 0x%04X", ep->emm[4],caid);
    + ep->type = UNKNOWN;
    + }
    + }
    +
    switch(ep->type)
    {
    case UNKNOWN:
    diff -u -r -x '.*' ./webif/readerconfig/readerconfig_hwreader_videoguard.html /tmp/compile/oscam-svn/webif/readerconfig/readerconfig_hwreader_videoguard.html
    --- ./webif/readerconfig/readerconfig_hwreader_videoguard.html 2014-07-05 21:52:15.137991867 +0200
    +++ /tmp/compile/oscam-svn/webif/readerconfig/readerconfig_hwreader_videoguard.html 2014-07-05 10:42:25.910196009 +0200
    @@ -1,6 +1,7 @@
    <TR><TH COLSPAN="2">Reader specific settings for Videoguard</TH></TR>
    <TR><TD><A>Boxid:</A></TD><TD><input name="boxid" class="medium" type="text" maxlength="8" value="##BOXID##"></TD></TR>
    <TR><TD><A>Fix 9993 for CAID 0919:</A><input name="fix9993" type="hidden" value="0"></TD><TD><input name="fix9993" type="checkbox" value="1" ##FIX9993CHECKED##><label></label></TD></TR>
    + <TR><TD><A>Filter 0x07 for CAID 09C4, 098C:</A><input name="fix07" type="hidden" value="0"></TD><TD><input name="fix07" type="checkbox" value="1" ##FIX07CHECKED##><label></label></TD></TR>
    <TR><TD><A>Force NDS Version:</A></TD>
    <TD>
    <select name="ndsversion">

    Se possa essere utile per ricavare maggiori spunti ben venga.
  • #2

    Re: 0x07-Filter-Patch oscam-svn/globals.h

    ciao puoi allegare il file in formaro rar o zip
    oppure usi code si capisce meglio

    credo che non sia per le carte nostrane, 0919 093b 09cd

    COMMENTA

    • #3

      Re: 0x07-Filter-Patch oscam-svn/globals.h

      mi sa che č per questi caids

      codice:
      if(ep->emm[1] == 0x70 && ep->emm[8] != 2 && (caid == 0x098C || caid == 0x9C4))

      COMMENTA

      • #4

        Re: 0x07-Filter-Patch oscam-svn/globals.h

        cercavi questo bliner?
        0x07-Filter-Patch

        COMMENTA

        • #5

          Re: 0x07-Filter-Patch oscam-svn/globals.h

          Si infatti non credo che sia per le nostre. Comunque allego il file in formato Rar.


          link qui: https://www.sendspace.com/file/n2prjr

          COMMENTA

          • #6

            Re: 0x07-Filter-Patch oscam-svn/globals.h

            Scusa franchino22 ho allegato anch'io allo stesso tempo il file.

            COMMENTA

            Sto operando...
            X