OSEmu/oscam-emu - update multiple pvu channels.

joeuser

Registered
Messages
199
oscam-emu.11209.patch

Updated OSEmu/oscam-emu for auto updating multiple channels with a single UA key.

!!! W A R N I N G !!! - with my new version, the SoftCam.Key file format has changed.

Now, each key is prefixed with a group ID:
Group ID (4 hex digits) + SID (4 hex digits)

From README:
PowerVu

Keys in SoftCam.Key:

P <groupid><srvid> <nb> <key>
Where: groupid = any 4 hex digits signifying unique group for all channels using the same keys.
(Leading zeros not necessarry, but makes viewing the file easier...)
srvid = SID (Service ID) of channel in hex with leading zeros to make 4 hex digits.
nb = key number (00/01)
key = ecm key

example groupid=0x1, sid=0x1234, keys 00 and 01:
P 00011234 00 11223344556677
P 011234 01 22334455667788

example groupid=0x2, sid=0x34, keys 00 and 01:
P 00020034 00 00112233445566
P 0020034 01 00223344556677

For channels with the same srvid the correct key will be detected automatically, but each key needs a unique groupid.

P 009E0234 01 11223344556677
P 00040234 01 22334455667788
P 013E0234 01 33445566778899

WARNING - duplicate <groupid><srvid> are not allowed anymore - only the last instance will be used!

AU keys:
P <groupid> <UA> <key>
example:
P 009E 11223344 11223344556677
P 009E 44332211 22334455667788
P 0004 22334455 33445566778899
P 013E 00112233 00112233445566

Multiple UA keys are allowed for each group and each UA will update ALL ecm keys in the group.

NOTE: in order to work, the ecm keys must be "seeded" in the file for each SID you want to update since the UA has no information about other sids.
So to add a key that is unknown, enter a dummy key to get updated, for example:

P 00010004 00 00000000000000000
P 00010004 01 00000000000000000

Also note: Duplicate powervu keys are no longer allowed (unnecessary since duplicate SIDs should now have a unique group ID.)
So, if there are any duplicates, only the last key in the file will be used.
This also means that as new keys are found and appended to the file, they will automatically replace earlier keys.

Groupid can be anything you want - as long as each group of keys (ecm + UA) has a unique groupid assigned to them. There is no unique info in the broadcasts which can be used to automatically make groups, so it has to be done manually. I choose groupid's that make sense to me...
Code:
;====================================
#              POWERVU              #
;====================================

; Group 0x4 4W channels:

P 00040014 00 00000000000000
P 00040020 00 00000000000000
P 0004002A 00 00000000000000
P 00040031 00 00000000000000
P 00040033 00 00000000000000
P 00040034 00 00000000000000
P 000400C9 00 00000000000000
P 000400CA 00 00000000000000
P 000400CB 00 00000000000000
P 000400CC 00 00000000000000
P 000400E6 00 00000000000000
P 000400E7 00 00000000000000
P 000400E9 00 00000000000000
P 000400EC 00 00000000000000
P 000400F1 00 00000000000000
P 000400F3 00 00000000000000
P 000400F6 00 00000000000000
P 000400FB 00 00000000000000

P 00040014 01 00000000000000
P 00040020 01 00000000000000
P 0004002A 01 00000000000000
P 00040031 01 00000000000000
P 00040033 01 00000000000000
P 00040034 01 00000000000000
P 000400C9 01 00000000000000
P 000400CA 01 00000000000000
P 000400CB 01 00000000000000
P 000400CC 01 00000000000000
P 000400E6 01 00000000000000
P 000400E7 01 00000000000000
P 000400E9 01 00000000000000
P 000400EC 01 00000000000000
P 000400F1 01 00000000000000
P 000400F3 01 00000000000000
P 000400F6 01 00000000000000
P 000400FB 01 00000000000000

; Group 0x9E 9E channels:

P 009E0001 00 00000000000000
P 009E0002 00 00000000000000
P 009E0003 00 00000000000000
P 009E0004 00 00000000000000
P 009E0005 00 00000000000000
P 009E0006 00 00000000000000
P 009E0007 00 00000000000000
P 009E0009 00 00000000000000
P 009E000A 00 00000000000000
P 009E000B 00 00000000000000

P 009E0001 01 00000000000000
P 009E0002 01 00000000000000
P 009E0003 01 00000000000000
P 009E0004 01 00000000000000
P 009E0005 01 00000000000000
P 009E0006 01 00000000000000
P 009E0007 01 00000000000000
P 009E0009 01 00000000000000
P 009E000A 01 00000000000000
P 009E000B 01 00000000000000

P 009E 00xxxxxx xxxxxxxxxxxxxx ; EMM Key
P 009E 00xxxxxx xxxxxxxxxxxxxx ; EMM Key
P 009E 00xxxxxx xxxxxxxxxxxxxx ; EMM Key
P 009E 00xxxxxx xxxxxxxxxxxxxx ; EMM Key
P 009E 00xxxxxx xxxxxxxxxxxxxx ; EMM Key
P 009E 00xxxxxx xxxxxxxxxxxxxx ; EMM Key
P 009E 00xxxxxx xxxxxxxxxxxxxx ; EMM Key
P 009E 00xxxxxx xxxxxxxxxxxxxx ; EMM Key

; Group 0x13E 13E channels:

P 013E1F86 01 00000000000000
P 013E1F86 00 00000000000000

P 0013E 00xxxxxx xxxxxxxxxxxxxx
P 0013E 00xxxxxx xxxxxxxxxxxxxx 
P 0013E 00xxxxxx xxxxxxxxxxxxxx 
P 0013E 00xxxxxx xxxxxxxxxxxxxx
P 0013E 00xxxxxx xxxxxxxxxxxxxx 
P 0013E 00xxxxxx xxxxxxxxxxxxxx
P 0013E 00xxxxxx xxxxxxxxxxxxxx
P 0013E 00xxxxxx xxxxxxxxxxxxxx
Source code available on my github. Patch and sample binaries posted on other sites already.
 

candu

Senior Member
Messages
1,250
Thanks for share!
For the biss keys is the same format or has changed also?

Regards!
 

iKeys

Registered
Messages
172
Is there a link that explains how/where to download and compile the sources?

Ps. Where do we find binaries?
 
Last edited:

zayden

Registered
Messages
61
Excellent work, joe. I was wondering if it was possible for oscam to query the tuner as that might allow for a way to update key groups without relying on a modded softcam ?
 

nicol-one

Registered
Messages
123
I find beautiful what you wrote!
question of respect for those who are no longer
the rules are there to be respected, and he was here to enforce them.
sorry!:mecry::mecry:
 

dahaka

Registered
Messages
700
Spark 7111 soft version 1.2.82
last patched oscam oscam-svn11209-sh_4-webif-oscam-emu.11209-patched.tar.gz http://www.sat-universe.com/showpost.php?p=2036642383&postcount=51
Still not open (show black screen) ,
Any help appreciated ? Also how stop waiting 60 second ?


oscam log
2000/01/01 01:18:22 00000000 s (main) System name = Linux
2000/01/01 01:18:22 00000000 s (main) Host name = stlinux
2000/01/01 01:18:22 00000000 s (main) Release = 2.6.32.42_stm24_V4.1-SAT7111_7111-STSDK
2000/01/01 01:18:22 00000000 s (main) Version = #56 PREEMPT Tue Oct 16 16:17:14 CST 2012
2000/01/01 01:18:22 00000000 s (main) Machine = sh4
2000/01/01 01:18:22 00000000 s (main) The current system time is smaller than the build date (Jan 24 2016). Waiting up to 60 seconds for time to correct
2000/01/01 01:19:24 00000000 s (main) Waiting was not successful. OSCam will be started but is UNSUPPORTED this way. Do not report any errors with this version.
2000/01/01 01:19:24 00000000 s (main) creating pidfile /var/run/oscam.pid with pid 21580
2000/01/01 01:19:24 00000000 s [Emu] oscam-emu version 728
2000/01/01 01:19:24 00000000 s (main) signal handling initialized
2000/01/01 01:19:24 00000000 s (config) 4 provid's loaded
2000/01/01 01:19:24 00000000 s (config) 7 service-id's loaded in 1 ms
2000/01/01 01:19:24 00000000 s (main) Binary without Nagra module - no EMM processing for Nagra possible!
2000/01/01 01:19:24 00000000 s (main) Binary without Irdeto module - no EMM processing for Irdeto possible!
2000/01/01 01:19:24 00000000 s (main) Binary without Conax module - no EMM processing for Conax possible!
2000/01/01 01:19:24 00000000 s (main) Binary without Cryptoworks module - no EMM processing for Cryptoworks possible!
2000/01/01 01:19:24 00000000 s (main) Binary without Seca module - no EMM processing for Seca possible!
2000/01/01 01:19:24 00000000 s (main) Binary without *** Videoguard module - no EMM processing for *** Videoguard possible!
2000/01/01 01:19:24 00000000 s (main) Binary without TONGFANG module - no EMM processing for TONGFANG possible!
2000/01/01 01:19:24 00000000 s (main) Binary without Bulcrypt module - no EMM processing for Bulcrypt possible!
2000/01/01 01:19:24 00000000 s (main) Binary without Griffin module - no EMM processing for Griffin possible!
2000/01/01 01:19:24 00000000 s (main) Binary without DGCrypt module - no EMM processing for DGCrypt possible!
2000/01/01 01:19:24 00000000 s (reader) emulator [emu] creating thread for device emulator
2000/01/01 01:19:24 00000000 s (main) waiting for local card init
2000/01/01 01:19:24 00000000 [Emu] info: FFDecsa parallel mode = 32
2000/01/01 01:19:24 532BD870 r reading key file: /var/keys/SoftCam.Key
2000/01/01 01:19:24 6CDC6B9D h (webif) webif: decompressed 139838 bytes back into 324352 bytes
2000/01/01 01:19:24 6CDC6B9D h (webif) HTTP Server running. ip=0.0.0.0 port=8888
2000/01/01 01:19:24 532BD870 r (reader) emulator [emu] Reader initialized (device=emulator, detect=cd, mhz=357, cardmhz=357)
2000/01/01 01:19:25 532BD870 r (reader) emulator [emu] card detected
2000/01/01 01:19:26 532BD870 r (reader) emulator [emu] found card system emu
2000/01/01 01:19:26 532BD870 r (reader) emulator [emu] THIS WAS A SUCCESSFUL START ATTEMPT No 1 out of max alloted of 1
2000/01/01 01:19:26 532BD870 r reading key file: /var/keys/SoftCam.Key
2000/01/01 01:19:27 00000000 s (main) init for all local cards done
2000/01/01 01:19:27 00000000 s (emmcache) loaded 0 emmcache records from /tmp/.oscam/oscam.emmcache in 0 ms
2000/01/01 01:19:27 00000000 s (emmcache) loaded 0 emmstat records from /tmp/.oscam/oscam.emmstat in 0 ms
2000/01/01 01:19:27 7AA07423 c (client) plain dvbapi-client granted (anonymous, au=off)
2000/01/01 01:19:27 7AA07423 c (dvbapi) dvbapi channelcache loaded from /var/keys/oscam.ccache
2000/01/01 01:19:27 7AA07423 c (dvbapi) Detected /dev/dvb/adapter0/demux0 Api: 0, userconfig boxtype: 1 maximum amount of possible filters is 32 (oscam limit is 32)
2000/01/01 01:19:27 7AA07423 c (dvbapi) Demuxer 0 ecmpid 0 CAID: 0E00 ECM_PID: 17B6 PROVID: 000000
2000/01/01 01:19:27 7AA07423 c (dvbapi) Demuxer 0 stream Audiostream (MPEG-2)(type: 04 pid: 00c8 length: 0)
2000/01/01 01:19:27 7AA07423 c (dvbapi) Demuxer 0 stream Videostream (MPEG-2)(type: 02 pid: 00d2 length: 0)
2000/01/01 01:19:27 7AA07423 c (dvbapi) Demuxer 0 found 1 ECMpids and 2 STREAMpids in caPMT
2000/01/01 01:19:27 7AA07423 c (dvbapi) Demuxer 0 serving srvid 1F86 (bwtv) on adapter 0000 camask 0001 index 0000 pmtpid 13CE
2000/01/01 01:19:27 7AA07423 c (dvbapi) Demuxer 0 found channel in cache and matching prio -> start descrambling ecmpid 0
2000/01/01 01:19:27 7AA07423 c (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 0E00 PROVID 000000 ECMPID 17B6 ANY CHID PMTPID 13CE VPID 00D2
2000/01/01 01:19:27 7AA07423 c (dvbapi) Demuxer 0 stream Audiostream (MPEG-2)(type: 04 pid: 00c8 length: 0)
2000/01/01 01:19:27 7AA07423 c (dvbapi) Demuxer 0 stream Videostream (MPEG-2)(type: 02 pid: 00d2 length: 10)
2000/01/01 01:19:27 7AA07423 c (dvbapi) Demuxer 0 found 1 ECMpids and 2 STREAMpids in PMT
2000/01/01 01:19:27 7AA07423 c (dvbapi) Demuxer 0 serving srvid 1F86 (bwtv) on adapter 0000 camask 0001 index 0000 pmtpid 13CE
2000/01/01 01:19:27 7AA07423 c (ecm) anonymous (0E00@000000/0000/1F86/40:97AED7461B3D8BCA5A62705E081C844E): found (21 ms) by emulator - bwtv
2000/01/01 01:19:27 7AA07423 c (ecm) anonymous (0E00@000000/0000/1F86/40:C1F6A09DA8F96F5A1E5F2365EE1A825E): found (30 ms) by emulator - bwtv
2000/01/01 01:19:28 7AA07423 c (ecm) anonymous (0E00@000000/0000/1F86/40:A57F4ED1C9E717EB1FBDC8D409DB1F72): found (23 ms) by emulator - bwtv
2000/01/01 01:19:29 7AA07423 c (ecm) anonymous (0E00@000000/0000/1F86/40:69259F557FB04D06F3CC16EBFB2FC2CC): found (20 ms) by emulator - bwtv
2000/01/01 01:19:30 7AA07423 c (ecm) anonymous (0E00@000000/0000/1F86/40:F8C47DF5387AC845573976B848775A48): found (21 ms) by emulator - bwtv
2000/01/01 01:19:31 7AA07423 c (ecm) anonymous (0E00@000000/0000/1F86/40:E84CB3B8AAFADAFC81D7A26433014FD6): found (20 ms) by emulator - bwtv
2000/01/01 01:19:32 7AA07423 c (ecm) anonymous (0E00@000000/0000/1F86/40:97ACD9327CECB9F9F1AE252233B8E4F6): found (22 ms) by emulator - bwtv
2000/01/01 01:19:32 7AA07423 c (ecm) anonymous (0E00@000000/0000/1F86/40:09F626D7EB74385ABA180CB1BE9D2978): found (22 ms) by emulator - bwtv
2000/01/01 01:19:33 7AA07423 c (ecm) anonymous (0E00@000000/0000/1F86/40:F3DB5BBFD4F3F029CD7EBC7C4F3DBFDF): found (21 ms) by emulator - bwtv
2000/01/01 01:19:34 7AA07423 c (ecm) anonymous (0E00@000000/0000/1F86/40:00AADDC03172F8CF406075ADE93FF7BB): found (23 ms) by emulator - bwtv
2000/01/01 01:19:35 7AA07423 c (ecm) anonymous (0E00@000000/0000/1F86/40:A1CB989BC74141602C74475A8EEC70ED): found (20 ms) by emulator - bwtv
2000/01/01 01:19:35 7AA07423 c (ecm) anonymous (0E00@000000/0000/1F86/40:B15ADC2455A38D394198F67EEB145AA8): found (19 ms) by emulator - bwtv
2000/01/01 01:19:36 7AA07423 c (ecm) anonymous (0E00@000000/0000/1F86/40:D4A3F83A9083C36A0BA344EC16629F85): found (20 ms) by emulator - bwtv
oscam.conf
[global]
logfile = stdout
pidfile = /var/run/oscam.pid
nice = -1

[streamrelay]
stream_relay_enabled = 0

[dvbapi]
enabled = 1
au = 1
pmt_mode = 0
delayer = 60
user = DM800hdse
read_sdt = 2
write_sdt_prov = 1
extended_cw_api = 0
boxtype = dreambox

[webif]
httpport = 8888
httpuser = myusername
httppwd = mypassword
httpallowed = 192.168.1.1-192.168.1.255
oscam.server
[reader]
label = emulator
protocol = emu
device = emulator
caid = 0D00,0D02,0D03,0D05,0D95,0D98,0F00,090F,0500,1801,0604,0648,0650,0E00,1FFF,2600,FFFF,4AE1
detect = cd
ident = 0E00:0000,0002;0D00:000000,000004,000010,000014,000020,0000C0,0000C4,0000C8,0000CC;0D02:000000,00008C,0000A0,0000A4,0000A8;0D03:000000,000004,000008,000024,000028;0D05:000000,000004,000010;0D95:000000;0D98:000000;090F:000000;0500:000000,030B00,023800,021110,007400,007800;1801:000000,007301,001101;0604:000000;0648:000000;0650:000000;2600:000000;FFFF:000000;4AE1:000000
group = 1,2,3,4
emmcache = 1,1,2,1
auprovid = 0500:030B00;0604:010200;0E00:000000;4AE1:000000
SoftCam.Key
P 057E1F86 00 EXXXXXXXXXXXXB ; 24/01/2016 05:52:19 , [bwtv]
P 057E1F86 01 9XXXXXXXXXXXX4 ; 24/01/2016 05:45:16 , [bwtv]
attachment.php
 

joeuser

Registered
Messages
199
Powervu WITHOUT stream relay only works on Dreambox (and some enigma2 boxes for CSA only (4W))
Also I am not sure if even stream relay will work with Spark OS.

As for waiting, when first booting and no sat is tuned, the clock is not set yet. Oscam relies on the time, so it is waiting, hoping a sat gets tuned (or ntp starts) and the clock gets set.

For Spark, try mcas: http://www.sat-universe.com/showthread.php?t=285998
 
Last edited:

dahaka

Registered
Messages
700
Powervu WITHOUT stream relay only works on Dreambox (and some enigma2 boxes for CSA only (4W))
Also I am not sure if even stream relay will work with Spark OS.

As for waiting, when first booting and no sat is tuned, the clock is not set yet. Oscam relies on the time, so it is waiting, hoping a sat gets tuned (or ntp starts) and the clock gets set.

For Spark, try mcas: http://www.sat-universe.com/showthread.php?t=285998

mcas :
1.no auto update .
2.can't use keydata.bin for pvu key.
3.hex edit for each pvu key change .

I wish oscam team can open pvu at spark like mcas .

Thanks for other informations .
 

ca1ne

Registered
Messages
66
joeuser, http://www.sat-universe.com/showpost.php?p=2036642383&postcount=51
oscam-svn11209-openpli40-webif-oscam-emu.11209-patched.tar.gz
the AC3 fix does not work
-----------------------------------------------------------

Still no go here :(

2016/01/25 20:43:59 00000000 s (main) System name = Linux
2016/01/25 20:43:59 00000000 s (main) Host name = vuuno
2016/01/25 20:43:59 00000000 s (main) Release = 3.9.6
2016/01/25 20:43:59 00000000 s (main) Version = #1 SMP Sat Dec 12 05:49:37 CET 2015
2016/01/25 20:43:59 00000000 s (main) Machine = mips
2016/01/25 20:43:59 00000000 s (main) Stb model = dm8000
2016/01/25 20:43:59 00000000 s (main) Stb vumodel = vuuno
2016/01/25 20:43:59 00000000 s (main) Stb boxtype = vuuno
2016/01/25 20:43:59 00000000 s (main) creating pidfile /tmp/oscam.pid with pid 21347
2016/01/25 20:43:59 00000000 s [Emu] oscam-emu version 728
2016/01/25 20:43:59 00000000 s (config) userdb reloaded: 2 accounts loaded, 0 expired, 0 disabled
2016/01/25 20:43:59 00000000 s (main) signal handling initialized
2016/01/25 20:43:59 00000000 s (config) 992 provid's loaded
2016/01/25 20:43:59 00000000 s (config) 2 service-id's loaded in 1 ms
2016/01/25 20:43:59 00000000 s (net) monitor: initialized (fd=4, port=988)
2016/01/25 20:43:59 00000000 s (reader) emulator [emu] creating thread for device emulator
2016/01/25 20:43:59 00000000 s (stat) loadbalancer: could not open /tmp/.oscam/stat for reading (errno=2 No such file or directory)
2016/01/25 20:43:59 00000000 s (emmcache) loaded 0 emmcache records from /tmp/.oscam/oscam.emmcache in 1 ms
2016/01/25 20:43:59 00000000 s (emmcache) loaded 0 emmstat records from /tmp/.oscam/oscam.emmstat in 1 ms
2016/01/25 20:43:59 00000000 s (anticasc) anti cascading disabled
2016/01/25 20:43:59 65BDAEDE c (client) plain dvbapi-client granted (oscam, au=auto (2 reader))
2016/01/25 20:43:59 65BDAEDE c (dvbapi) dvbapi channelcache loaded from /etc/tuxbox/config/oscam/oscam.ccache
2016/01/25 20:43:59 537F9DBE r key file not found in: /etc/tuxbox/config/oscam
2016/01/25 20:43:59 537F9DBE r reading key file: /var/keys/SoftCam.Key
2016/01/25 20:43:59 00000000 [Emu] info: FFDecsa parallel mode = 64
2016/01/25 20:43:59 65BDAEDE c (dvbapi) Detected /dev/dvb/adapter0/demux0 Api: 0, userconfig boxtype: 1 maximum amount of possible filters is 32 (oscam limit is 32)
2016/01/25 20:43:59 64262B56 h (webif) webif: decompressed 160193 bytes back into 387464 bytes
2016/01/25 20:43:59 64262B56 h (webif) HTTP Server running. ip=0.0.0.0 port=16003
2016/01/25 20:43:59 537F9DBE r (reader) emulator [emu] Reader initialized (device=emulator, detect=cd, mhz=357, cardmhz=357)
2016/01/25 20:43:59 65BDAEDE c (dvbapi) Demuxer 0 stream Videostream (MPEG-2)(type: 02 pid: 00fb length: 31)
2016/01/25 20:43:59 65BDAEDE c (dvbapi) Demuxer 0 ecmpid 0 CAID: 1815 ECM_PID: 138B PROVID: 000000
2016/01/25 20:43:59 65BDAEDE c (dvbapi) Demuxer 0 ecmpid 1 CAID: 0D02 ECM_PID: 14B7 PROVID: 000000
2016/01/25 20:43:59 65BDAEDE c (dvbapi) Demuxer 0 ecmpid 2 CAID: 0B02 ECM_PID: 15E3 PROVID: 000000
2016/01/25 20:43:59 65BDAEDE c (dvbapi) Demuxer 0 ecmpid 3 CAID: 0D97 ECM_PID: 170F PROVID: 000000
2016/01/25 20:43:59 65BDAEDE c (dvbapi) Demuxer 0 ecmpid 4 CAID: 0653 ECM_PID: 183B PROVID: 000000
2016/01/25 20:43:59 65BDAEDE c (dvbapi) Demuxer 0 stream Audiostream (MPEG-2)(type: 04 pid: 0103 length: 31)
2016/01/25 20:43:59 65BDAEDE c (dvbapi) Demuxer 0 stream Audiostream (MPEG-2)(type: 04 pid: 0105 length: 31)
2016/01/25 20:43:59 65BDAEDE c (dvbapi) Demuxer 0 stream Audiostream (MPEG-2)(type: 04 pid: 0106 length: 31)
2016/01/25 20:43:59 65BDAEDE c (dvbapi) Demuxer 0 stream Audiostream (MPEG-2)(type: 04 pid: 0108 length: 31)
2016/01/25 20:43:59 65BDAEDE c (dvbapi) Demuxer 0 stream Data-/Audiostream (Subtitles/VBI and AC-3)(type: 06 pid: 0111 length: 0)
2016/01/25 20:43:59 65BDAEDE c (dvbapi) Demuxer 0 found 5 ECMpids and 6 STREAMpids in caPMT
2016/01/25 20:43:59 65BDAEDE c (dvbapi) Demuxer 0 serving srvid 77F0 (Animal Planet) on adapter 0000 camask 0001 index 0000 pmtpid 00FA
2016/01/25 20:43:59 65BDAEDE c (dvbapi) Demuxer 0 no suitable readers found that can be used for decoding!
2016/01/25 20:44:00 65BDAEDE c (dvbapi) Demuxer 0 stream Videostream (MPEG-2)(type: 02 pid: 00fb length: 33)
2016/01/25 20:44:00 65BDAEDE c (dvbapi) Demuxer 0 stream Audiostream (MPEG-2)(type: 04 pid: 0103 length: 39)
2016/01/25 20:44:00 65BDAEDE c (dvbapi) Demuxer 0 stream Audiostream (MPEG-2)(type: 04 pid: 0105 length: 39)
2016/01/25 20:44:00 65BDAEDE c (dvbapi) Demuxer 0 stream Audiostream (MPEG-2)(type: 04 pid: 0106 length: 43)
2016/01/25 20:44:00 65BDAEDE c (dvbapi) Demuxer 0 stream Audiostream (MPEG-2)(type: 04 pid: 0108 length: 39)
2016/01/25 20:44:00 65BDAEDE c (dvbapi) Demuxer 0 stream Data-/Audiostream (Subtitles/VBI and AC-3)(type: 06 pid: 0111 length: 13)
2016/01/25 20:44:00 65BDAEDE c (dvbapi) Demuxer 0 found 5 ECMpids and 6 STREAMpids in PMT
2016/01/25 20:44:00 65BDAEDE c (dvbapi) Demuxer 0 serving srvid 77F0 (Animal Planet) on adapter 0000 camask 0001 index 0000 pmtpid 00FA
2016/01/25 20:44:00 537F9DBE r (reader) emulator [emu] card detected
2016/01/25 20:44:01 537F9DBE r (reader) emulator [emu] found card system emu
2016/01/25 20:44:01 537F9DBE r (reader) emulator [emu] THIS WAS A SUCCESSFUL START ATTEMPT No 1 out of max alloted of 1
2016/01/25 20:44:01 537F9DBE r key file not found in: /etc/tuxbox/config/oscam
2016/01/25 20:44:01 537F9DBE r reading key file: /var/keys/SoftCam.Key
2016/01/25 20:44:02 65BDAEDE c (dvbapi) Demuxer 0 restarting decodingrequests after 2281 ms with 1 enabled and 4 disabled ecmpids!
2016/01/25 20:44:02 65BDAEDE c (dvbapi) Demuxer 0 trying to descramble PID 1 CAID 0D02 PROVID 000000 ECMPID 14B7 ANY CHID PMTPID 00FA VPID 00FB
2016/01/25 20:44:02 537F9DBE r [Emu] ECM failed: ECM not supported
2016/01/25 20:44:02 65BDAEDE c (ecm) oscam (0D02@0000A0/0000/77F0/84:33CE89FC5B31448AA0AC797AFEB1BAB9): not found (13 ms) by emulator - Animal Planet
2016/01/25 20:44:03 65BDAEDE c (dvbapi) Demuxer 0 restarting decodingrequests after 0 ms with 1 enabled and 4 disabled ecmpids!
2016/01/25 20:44:03 65BDAEDE c (dvbapi) Demuxer 0 trying to descramble PID 1 CAID 0D02 PROVID 0000A0 ECMPID 14B7 ANY CHID PMTPID 00FA VPID 00FB
2016/01/25 20:44:03 65BDAEDE c (ecm) oscam (0D02@0000A0/0000/77F0/84:33CE89FC5B31448AA0AC797AFEB1BAB9): not found (14 ms) by emulator - Animal Planet
2016/01/25 20:44:04 65BDAEDE c (dvbapi) Demuxer 0 restarting decodingrequests after 1 ms with 1 enabled and 4 disabled ecmpids!
2016/01/25 20:44:04 65BDAEDE c (dvbapi) Demuxer 0 trying to descramble PID 1 CAID 0D02 PROVID 0000A0 ECMPID 14B7 ANY CHID PMTPID 00FA VPID 00FB
2016/01/25 20:44:04 65BDAEDE c (ecm) oscam (0D02@0000A0/0000/77F0/84:33CE89FC5B31448AA0AC797AFEB1BAB9): not found (14 ms) by emulator - Animal Planet
2016/01/25 20:44:05 65BDAEDE c (dvbapi) Demuxer 0 restarting decodingrequests after 1 ms with 1 enabled and 4 disabled ecmpids!
2016/01/25 20:44:05 65BDAEDE c (dvbapi) Demuxer 0 trying to descramble PID 1 CAID 0D02 PROVID 0000A0 ECMPID 14B7 ANY CHID PMTPID 00FA VPID 00FB
2016/01/25 20:44:05 537F9DBE r [Emu] ECM failed: ECM not supported
 

ca1ne

Registered
Messages
66
There is a problem with the oscam emu, not only in powervu part. I tested it on biss, 2 channels both open fine with mg cam, but as you see from log. only one open in oscam

2016/01/28 04:21:19 015AE7DB r reading key file: /var/keys/SoftCam.Key
2016/01/28 04:21:20 00000000 s (main) init for all local cards done
2016/01/28 04:21:20 00000000 s (emmcache) loaded 0 emmcache records from /tmp/.oscam/oscam.emmcache in 0 ms
2016/01/28 04:21:20 00000000 s (emmcache) loaded 0 emmstat records from /tmp/.oscam/oscam.emmstat in 0 ms
2016/01/28 04:21:20 00000000 s (anticasc) anti cascading disabled
2016/01/28 04:21:20 401A9EB4 c (client) plain dvbapi-client granted (dvbapiau, au=auto (4 reader))
2016/01/28 04:21:20 401A9EB4 c (dvbapi) dvbapi channelcache loaded from /etc/tuxbox/config/oscam/oscam.ccache
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Detected /dev/dvb/adapter0/demux0 Api: 0, userconfig boxtype: 1 maximum amount of possible filters is 32 (oscam limit is 32)
2016/01/28 04:21:20 401A9EB4 c (dvbapi) PMT6: Trying connect to enigma CA PMT listen socket...
2016/01/28 04:21:20 401A9EB4 c (dvbapi) PMT6 CA PMT Server connected on fd 11!
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 ecmpid 0 CAID: 2600 ECM_PID: 1FFF PROVID: 000000
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 stream Videostream (MPEG-2)(type: 02 pid: 0134 length: 0)
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 stream Audiostream (MPEG-2)(type: 04 pid: 0100 length: 0)
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 stream Audiostream (MPEG-2)(type: 04 pid: 0101 length: 0)
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 found 1 ECMpids and 3 STREAMpids in caPMT
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 serving srvid 0385 (2600@000000:0385 unknown) on adapter 0000 camask 0001 index 0000 pmtpid 0020
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 found channel in cache and matching prio -> start descrambling ecmpid 0
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 2600 PROVID 000000 ECMPID 1FFF ANY CHID PMTPID 0020 VPID 0134
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 stream Videostream (MPEG-2)(type: 02 pid: 0134 length: 3)
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 stream Audiostream (MPEG-2)(type: 04 pid: 0100 length: 6)
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 stream Audiostream (MPEG-2)(type: 04 pid: 0101 length: 6)
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 found 1 ECMpids and 3 STREAMpids in PMT
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 serving srvid 0385 (2600@000000:0385 unknown) on adapter 0000 camask 0001 index 0000 pmtpid 0020
2016/01/28 04:21:20 401A9EB4 c (dvbapi) ERROR: ioctl(CA_SET_DESCR_MODE): Invalid argument
2016/01/28 04:21:20 401A9EB4 c (-) -- Skipped 1 duplicated log lines --
2016/01/28 04:21:20 401A9EB4 c (ecm) dvbapiau (2600@000000/0000/0385/0B:E97083117CE84869116AFC5D3EE5A279): found (18 ms) by emulator
Save LogShow SettingsStop Log



2016/01/28 04:21:20 401A9EB4 c (dvbapi) dvbapi channelcache loaded from /etc/tuxbox/config/oscam/oscam.ccache
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Detected /dev/dvb/adapter0/demux0 Api: 0, userconfig boxtype: 1 maximum amount of possible filters is 32 (oscam limit is 32)
2016/01/28 04:21:20 401A9EB4 c (dvbapi) PMT6: Trying connect to enigma CA PMT listen socket...
2016/01/28 04:21:20 401A9EB4 c (dvbapi) PMT6 CA PMT Server connected on fd 11!
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 ecmpid 0 CAID: 2600 ECM_PID: 1FFF PROVID: 000000
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 stream Videostream (MPEG-2)(type: 02 pid: 0134 length: 0)
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 stream Audiostream (MPEG-2)(type: 04 pid: 0100 length: 0)
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 stream Audiostream (MPEG-2)(type: 04 pid: 0101 length: 0)
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 found 1 ECMpids and 3 STREAMpids in caPMT
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 serving srvid 0385 (2600@000000:0385 unknown) on adapter 0000 camask 0001 index 0000 pmtpid 0020
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 found channel in cache and matching prio -> start descrambling ecmpid 0
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 2600 PROVID 000000 ECMPID 1FFF ANY CHID PMTPID 0020 VPID 0134
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 stream Videostream (MPEG-2)(type: 02 pid: 0134 length: 3)
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 stream Audiostream (MPEG-2)(type: 04 pid: 0100 length: 6)
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 stream Audiostream (MPEG-2)(type: 04 pid: 0101 length: 6)
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 found 1 ECMpids and 3 STREAMpids in PMT
2016/01/28 04:21:20 401A9EB4 c (dvbapi) Demuxer 0 serving srvid 0385 (2600@000000:0385 unknown) on adapter 0000 camask 0001 index 0000 pmtpid 0020
2016/01/28 04:21:20 401A9EB4 c (dvbapi) ERROR: ioctl(CA_SET_DESCR_MODE): Invalid argument
2016/01/28 04:21:20 401A9EB4 c (-) -- Skipped 1 duplicated log lines --
2016/01/28 04:21:20 401A9EB4 c (ecm) dvbapiau (2600@000000/0000/0385/0B:E97083117CE84869116AFC5D3EE5A279): found (18 ms) by emulator
2016/01/28 04:22:20 401A9EB4 c (dvbapi) Demuxer 0 stop descrambling program number 0385 (2600@000000:0385 unknown)
2016/01/28 04:22:20 401A9EB4 c (dvbapi) Demuxer 0 ecmpid 0 CAID: 2600 ECM_PID: 1FFD PROVID: 000000
2016/01/28 04:22:20 401A9EB4 c (dvbapi) Demuxer 0 stream Videostream (MPEG-2)(type: 02 pid: 0135 length: 0)
2016/01/28 04:22:20 401A9EB4 c (dvbapi) Demuxer 0 stream Audiostream (MPEG-2)(type: 04 pid: 0102 length: 0)
2016/01/28 04:22:20 401A9EB4 c (dvbapi) Demuxer 0 stream Audiostream (MPEG-2)(type: 04 pid: 0103 length: 0)
2016/01/28 04:22:20 401A9EB4 c (dvbapi) Demuxer 0 found 1 ECMpids and 3 STREAMpids in caPMT
2016/01/28 04:22:20 401A9EB4 c (dvbapi) Demuxer 0 serving srvid 0386 (2600@000000:0386 unknown) on adapter 0000 camask 0001 index 0000 pmtpid 0020
2016/01/28 04:22:20 401A9EB4 c (dvbapi) Demuxer 0 found channel in cache and matching prio -> start descrambling ecmpid 0
2016/01/28 04:22:20 401A9EB4 c (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 2600 PROVID 000000 ECMPID 1FFD ANY CHID PMTPID 0020 VPID 0135
2016/01/28 04:22:20 015AE7DB r [Emu] Key not found: F 3861FFD 00
2016/01/28 04:22:20 015AE7DB r [Emu] Key not found: F 3861FFD 01
2016/01/28 04:22:20 401A9EB4 c (dvbapi) ERROR: ioctl(CA_SET_DESCR_MODE): Invalid argument
2016/01/28 04:22:20 401A9EB4 c (-) -- Skipped 1 duplicated log lines --
2016/01/28 04:22:20 401A9EB4 c (ecm) dvbapiau (2600@000000/0000/0386/0B:69503A34106090BC661CE0B3D16FE2EC): found (33 ms) by emulator
2016/01/28 04:22:20 401A9EB4 c (dvbapi) Demuxer 0 stream Videostream (MPEG-2)(type: 02 pid: 0135 length: 3)
 

EnoSat

Senior Member
Messages
2,007
There is a problem with the oscam emu, not only in powervu part. I tested it on biss, 2 channels both open fine with mg cam, but as you see from log. only one open in oscam

2016/01/28 04:21:20 401A9EB4 c (dvbapi) ERROR: ioctl(CA_SET_DESCR_MODE): Invalid argument

fix dvbapi error or replace binary
 
Top