Joeuser 11205 EMM problem

There are 18 replies in this Thread which was already clicked 8,985 times. The last Post () by joeuser.

  • Afternoon lads,
    Harshy had this problem as well,not sure if he reolved it.
    I am using joeuser's oscam-emu 11205 for MTN on 57E powervu as I need dvbapi functionality on a Zgemma 2S receiver,works fine with ECM keys,when using an EMM key gives a "no keys found error"in live log,never seen the SEND message.
    AU also stays "on" never says "active" even though au = 1 in dvbapi and au = emulator name in oscam.user.
    Have EMM key in oscam.keys as follows : P 0069 0xxxxxx7 xxxxC124xxxx8 ; EMM Key
    Have the same EMM key listed for each SID in oscam.keys.
    Some configs below ...


    [dvbapi]
    enabled = 1
    au = 1
    pmt_mode = 6
    delayer = 60
    user = localuser
    extended_cw_api = 2
    boxtype = dreambox


    [account]
    user = localuser
    au = emulator
    group = 1


    [reader]
    label = emulator
    protocol = emu
    device = emulator
    caid = 0D00,0D02,090F,0500,1801,0604,2600,FFFF,0E00,4AE1
    detect = cd
    ident = 0D00:000000,000004,000010,000014,000020,0000C0,0000C4,0000C8,0000CC;0D02:000000,00008C,0000A0,0000A4,0000A8;090F:000000;0500:000000,030B00,023800,021110,007400,007800;1801:000000,007301,001101;0604:000000;2600:000000;FFFF:000000;0E00:000000;4AE1:000000
    group = 1
    #emmcache = 1,1,2,1
    emmcache = 2,2,2,0
    emu_auproviders = 0500:030B00;0604:010200;0E00:000000;4AE1:000000


    Any idea how to get AU EMM working ?

    Edited once, last by clanser ().

  • Probably best to use my latest patch which allows the update of multiple channels with one UA key.


    But, be aware that the key file format has changed!!!!!!


    There are posts about the new patch and format and someone has also posted latest builds with my patch in oscam-emu section (with readme including the new file format info.)


    (I would post links, but I am on a tablet now...)


    (Sent from my A/S10 using Forum Fiend OSP v1.3.3.)

  • Thanks joeuser for the info and the link.
    Do my configs look OK for the AU EMM to update properly ?
    Is there anything else that needs to be specifically set in configs for AU to work that may have been missed ?
    Cheers

  • joeuser,


    Your latest version of oscam emu got me an áctive'user and reader,thanks for that !
    No 'send'messages in live log but EMM's were being written.
    After a few hours without pictures I saw the following in the livelog...


    2016/02/13 14:20:59 3E4DFAEA c (reader) emulator [emu] Successfully added EMM to /usr/keys/emulator_unique_emm.log
    2016/02/13 14:20:59 3F36AC5A r [Emu] Key found in EMM: P XXXXXXXXXXX -> REJECTED (looks invalid) UA: xxxxxx
    2016/02/13 14:20:59 3F36AC5A r [Emu] Key found in EMM: P XXXXXXXXXXXXX-> REJECTED (looks invalid) UA: xxxxxx
    2016/02/13 14:20:59 3F36AC5A r (reader) emulator [emu] localuser emmtype=unique, len=155 (hex: 0x9B), cnt=1: written (4 ms)
    2016/02/13 14:20:59 3E4DFAEA c (reader) emulator [emu] Successfully added EMM to /usr/keys/emulator_unique_emm.log
    2016/02/13 14:20:59 3F36AC5A r [Emu] Key not found: P 006D 01
    2016/02/13 14:20:59 3F36AC5A r [Emu] ECM failed: Key not found
    2016/02/13 14:20:59 3E4DFAEA c (ecm) localuser (0E00@000000/0000/006D/40:5C8B744F136CCDF716E6EBD4BEB93039): not found (7 ms) by emulator
    2016/02/13 14:21:00 3E4DFAEA c (dvbapi) Demuxer 0 restarting decodingrequests after 1 ms with 1 enabled and 0 disabled ecmpids!
    2016/02/13 14:21:00 3E4DFAEA c (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 0E00 PROVID 000000 ECMPID 1779 ANY CHID PMTPID 1920 VPID 1921
    2016/02/13 14:21:00 3F36AC5A r [Emu] Key not found: P 006D 01
    2016/02/13 14:21:00 3F36AC5A r [Emu] ECM failed: Key not found
    2016/02/13 14:21:00 3E4DFAEA c (ecm) localuser (0E00@000000/0000/006D/40:C9F60E0DCC44F80F99384AFB4C0B2350): not found (7 ms) by emulator
    2016/02/13 14:21:01 3E4DFAEA c (dvbapi) Demuxer 0 restarting decodingrequests after 0 ms with 1 enabled and 0 disabled ecmpids!
    2016/02/13 14:21:01 3E4DFAEA c (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 0E00 PROVID 000000 ECMPID 1779 ANY CHID PMTPID 1920 VPID 1921
    2016/02/13 14:21:01 3F36AC5A r [Emu] Key not found: P 006D 01
    2016/02/13 14:21:01 3F36AC5A r [Emu] ECM failed: Key not found


    The UA seems valid,according to the above log.
    I read somewhere there is another algorythm in use by some providers,is this the problem here ?
    If so,is there a solution for this problem ?

    Edited 2 times, last by master G: removing keys ().

  • Please edit your post better to remove keys..


    If you manually add the key to the SoftCam.Key file, does it work? There may be a problem that testing the key does not test the possibility of the alternate sbox. On tablet now, will look at source code later.


    (Sent from my A/S10 using Forum Fiend OSP v1.3.3.)


    - - - Updated - - -


    I checked and it does check with both sboxes. It is still rejecting the found key. If the key is indeed valid, let me know and I will look closer at the code...

  • Tried some other UA keys,had pictures after 2 minutes !


    What is this invalid argument error in log ?


    Is it a problem with my config ?



    2016/02/19 19:35:42 75CF63F3 c (dvbapi) ERROR: ioctl(CA_SET_DESCR): Invalid argument
    2016/02/19 19:35:42 75CF63F3 c (-) -- Skipped 1 duplicated log lines --
    2016/02/19 19:35:42 75CF63F3 c (ecm) localuser (0E00@000000/0000/0069/40:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX): found (6 ms) by emulator
    2016/02/19 19:35:43 75CF63F3 c (dvbapi) ERROR: ioctl(CA_SET_DESCR): Invalid argument
    2016/02/19 19:35:43 75CF63F3 c (-) -- Skipped 1 duplicated log lines --
    2016/02/19 19:35:43 75CF63F3 c (ecm) localuser (0E00@000000/0000/0069/40:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX): found (6 ms) by emulator
    2016/02/19 19:35:44 75CF63F3 c (dvbapi) ERROR: ioctl(CA_SET_DESCR): Invalid argument
    2016/02/19 19:35:44 75CF63F3 c (-) -- Skipped 1 duplicated log lines --
    2016/02/19 19:35:44 75CF63F3 c (ecm) localuser (0E00@000000/0000/0069/40:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX): found (7 ms) by emulator


    Thanks joeuser

    Edited once, last by clanser ().

  • After changing this in config, extended_cw_api = 0, I get found in webif but no pics on TV and error gone in live log
    After changing back to extended_cw_api = 2 pics return
    Any other idea what to change in configs ?


    Thanks

  • Hi Joeuser,
    Your patched oscam been working 100 % till MTN powervu (C Band) started rolling keys every 10 minutes or so.
    Oscam freezes every half hour and a reboot or telnet into box is required to restart it.
    Pictures immediately return,can this be an unknown EMM causing oscam to lock up ?
    Have blocked all EMM in config except unique needed for autoroll.
    Please advise if you have a fix or any idea what to try to resolve this.
    Thanks

  • Found this in log after oscam frozen,does anyone know how to sort my oscam freezing every half hour ??



    Please someone help me,are going mad rebooting this fooking box !


    cheers


    - - - Updated - - -


    Or maybe a script to monitor that oscam is still running,and restart if it has stopped ?
    somebody please point me in the right direction.
    cheers

    Edited 2 times, last by clanser ().

  • Hello,


    Joeuser - u have been doing a good work - i have been following for sometime now.


    But I am currently stuck somewhere, kindly come to my aid.


    this is my live log - not sure if autoroll is working for me on sp***24.


    this is my live log:


    2016/09/17 00:50:06 1C8E944A c (reader) emulator [emu] Successfully added EMM to /usr/keys/oscam_atv_emu/emulator_unique_emm.log
    2016/09/17 00:50:06 1C8E944A c (dvbapi) Demuxer 1 restarting decodingrequests after 0 ms with 1 enabled and 0 disabled ecmpids!
    2016/09/17 00:50:06 1C8E944A c (dvbapi) Demuxer 1 trying to descramble PID 0 CAID 0E00 PROVID 000000 ECMPID 1779 ANY CHID PMTPID 1920 VPID 1921
    2016/09/17 00:50:06 475F8943 r [Emu] Key found in EMM: P 006D XXXXXXX 0000XXXXXXX0 -> REJECTED (looks invalid) UA: XXXXXXXB
    2016/09/17 00:50:06 475F8943 r [Emu] Key found in EMM: P 006D XXXXXXX 0000XXXXXXX6 -> REJECTED (looks invalid) UA: XXXXXXXB
    2016/09/17 00:50:06 475F8943 r (reader) emulator [emu] linuxsatsupport emmtype=unique, len=155 (hex: 0x9B), cnt=1: written (1 ms)
    2016/09/17 00:50:06 1C8E944A c (emm) emm:
    2016/09/17 00:50:06 1C8E944A c (emm) 00 00 0 00 0 0 0 0 0 00 some numbers here - ( deleted them)
    2016/09/17 00:50:06 1C8E944A c (emm) 00 00 000000 00 0 00 0000 00 000 0 00 0 0 00
    2016/09/17 00:50:06 1C8E944A c (emm) 00 00 00 00 00 00 00 00 00 00 0000000 00 00
    2016/09/17 00:50:06 1C8E944A c (emm) 0 0 00 0 00 0 0 00 00 0 0 0 000 0 00 0 000 0 00
    2016/09/17 00:50:06 1C8E944A c (emm) 0 0 0 00 0 00 00 0 00 0 0 0 00 00 0 0 00 0 000 0 0
    2016/09/17 00:50:06 1C8E944A c (emm) 00 00 00 00 00 00 F0 80 88 90 98 00 00 00 00 00
    2016/09/17 00:50:06 1C8E944A c (emm) 00 this is the last line ( IS THIS THE KEY THAT HAS TO BE WRITTEN TO softcam.key)
    2016/09/17 00:50:06 1C8E944A c (reader) emulator [emu] EMM: reader 0E00 match since emmpid has no provid -> SEND!
    2016/09/17 00:50:06 1C8E944A c (reader) emulator [emu] EMM: emmtype unique. Reader serial ################.
    2016/09/17 00:50:06 1C8E944A c (reader) emulator [emu] EMM: emm UA/SA: ################.
    2016/09/17 00:50:06 1C8E944A c (emmcache) added emmstat (reader:emulator, count:0)
    2016/09/17 00:50:06 1C8E944A c (emmcache) 99 (OR IS THIS THE KEY TO WRITE TO softcam.key) 99
    2016/09/17 00:50:06 1C8E944A c (reader) emulator [emu] EMM: emm count 0 rewrite 2
    2016/09/17 00:50:06 1C8E944A c (reader) emulator [emu] EMM: emm is being sent to reader
    2016/09/17 00:50:06 475F8943 r (emmcache) added emm to cache:
    2016/09/17 00:50:06 475F8943 r (emmcache) 99 (deleted key) 99
    2016/09/17 00:50:06 475F8943 r (emmcache) found emmstat match (reader:emulator, count:0)
    2016/09/17 00:50:06 475F8943 r (emmcache) 99 (deleted Key) 99
    2016/09/17 00:50:06 475F8943 r (reader) emulator [emu] linuxsatsupport emmtype=unique, len=101 (hex: 0x65), cnt=1: written (0 ms)
    2016/09/17 00:50:06 1C8E944A c (reader) emulator [emu] Successfully added EMM to /usr/keys/oscam_atv_emu/emulator_unique_emm.log
    2016/09/17 00:50:06 00000000 >> OSCam << cardserver log switched, version 1.20-unstable_svn, build r11209 (mipsel-unknown-linux-gnu)
    2016/09/17 00:50:06 00000000 [Emu] Key not found: P 006D 01
    2016/09/17 00:50:07 475F8943 r (-) -- Skipped 1 duplicated log lines -



    Please come to my aid, and which key should I manually enter in softcam.key?


    great help will be very much appreciated.

  • Thanks Clanser.
    Any idea where I can get a working UA, searched online they all came up with same key.
    And why does it even fail to write to softkey.cam because I don't see the wrong key in it.
    Thanks for your quick reply.

  • Thanks Clanser,


    I tried a new UA key and it works flawlessly.


    I also realized that before I can watch the other channels, I need to manually key them in making changes to only the Service ID ( P 00XX)


    Now, my EMM key format is " P 006X XXXXXXX XXXXXXXXXXXXXX ; EMM KEY" unlike the other formats.


    Thank you all.


    I use Formuler F1 running Openatv 5.3.


  • put the emm on softcam on the first place befor the key like this


    Quote

    P 006X xxxxxxxx XXXXXXXXXXXXXX ;EMM
    P 006X xxxxxxxx XXXXXXXXXXXXXX ;EMM
    P 006X0650 00 XXXXXXXXXXXXXX ;Special Event, 57.0E, 4147R


    let it on one channel for 2 min

  • My code was kinda a quick hack with limited testing. It is quite possible it is crashing if keys are changing every 30min... :)


    Try using the latest "official" oscam-emu/osemu - they have incorporated all my changes and probably did a better job... :)


    (as a bonus, they also added Tandberg...)


OSCam-EMU Support Forum

Configs, discussion, downloads and guides for OSCam-EMU Softcam.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!