# Datei vdr-sc-pb_1.4-3_all.deb auf die Zielmaschine laden/kopieren
# Anschließend wie folgt installieren und starten...
sudo dpkg -i vdr-sc-pb_1.4-3_all.deb
sudo scpb run
sudo scpb build
sudo scpb install
# bash-script
/usr/bin/scpb
# bash-script - FFdecsa Benchmark/Optimizer
/usr/bin/ffdecsa_opt
# template and source archives
/usr/share/vdr-sc-pb/vdr-plugin-sc_1.0hg_template.tar.gz
/usr/share/vdr-sc-pb/dvbhddevice.tar.gz
/usr/share/vdr-sc-pb/dvbsddevice.tar.gz
# source directory
/usr/local/src/vdr-sc-pb
### scpb - vdr-sc package builder
Usage: scpb OPTION
Options:
run - Perform all steps
builddep - Install build dependencies and tools
prepare - Create new plugin source/template dir(s)
update - Get newest vdr-sc source from HG
optimize - Generate optimized FFdecsa Makefile parameters
build - Build the plugin package(s)
install - Install the plugin package(s)
### FFdecsa optimization helper/benchmark
### Version 9d
Usage: ffdecsa_opt [OPTION [ARG]]...
Options:
-D [PATH] path to FFdecsa source directory
-O [LEVEL] set custom optimization level e.g. S, 2 or 3
-P [MODE] test only the given PARALLEL_MODE
-T [N] number of tests per mode
-e extended - test all PARALLEL_MODEs
-g generate Make.config for build process
-i print system info - do not perform FFdecsa test
-n disable "native" flags if gcc/g++ >=4.2
-q be quiet - only results, warnings and errors
-h this output
--- vdr-plugin-sc_1.0hg~/systems/cryptoworks/cryptoworks.c 2012-04-27 11:33:41.000000000 +0200
+++ vdr-plugin-sc_1.0hg/systems/cryptoworks/cryptoworks.c 2012-04-27 11:57:42.000000000 +0200
@@ -441,6 +441,8 @@
return false;
}
+ cTimeMs minTime;
+
unsigned char key[22];
cPlainKey *pk;
if(!(pk=keys.FindKey('W',ecmInfo->caId,KEYSET(prov,CCTYP,CCID),6))) {
@@ -521,6 +523,9 @@
memcpy(cw,&data[i+2],16);
LDUMP(L_SYS_VERBOSE,cw,16,"cw:");
ks.OK(pk);
+ // delay until 150ms elapsed
+ int i=150-minTime.Elapsed();
+ if(i>0) cCondWait::SleepMs(i);
return true;
}
break;
Wir verwenden Cookies und ähnliche Technologien für die folgenden Zwecke:
Akzeptieren Sie Cookies und diese Technologien?
Wir verwenden Cookies und ähnliche Technologien für die folgenden Zwecke:
Akzeptieren Sie Cookies und diese Technologien?