--- ./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.
COMMENTA