How to get PowerVu AutoRoll working with Oscam and Dreambox

Drosan

Registered
Messages
47
i cant seem to get AFN Autoupdate to work either. I am using ncam 1.1 and solo 4k. I have read this thread carefully .. and only get this:


2016/12/05 19:37:56 00000000 s **** NCAm << cardserver log switched, version 1.1, build 01-07-2016 (arm-unknown-linux-gnueabi)
2016/12/05 19:37:56 00000000 s debug_level=64
2016/12/05 19:37:56 00000000 s (main) System name = Linux
2016/12/05 19:37:56 00000000 s (main) Host name = vusolo4k
2016/12/05 19:37:56 00000000 s (main) Release = 3.14.28-1.8
2016/12/05 19:37:56 00000000 s (main) Version = #1 SMP Mon Aug 29 02:04:08 CEST 2016
2016/12/05 19:37:56 00000000 s (main) Machine = armv7l
2016/12/05 19:37:56 00000000 s (main) Stb model = dm8000
2016/12/05 19:37:56 00000000 s (main) Stb vumodel = vusolo4k
2016/12/05 19:37:56 00000000 s (main) Stb boxtype = vusolo4k
2016/12/05 19:37:56 00000000 s (main) creating pidfile /tmp/.ncam/ncam.pid with pid 7177
2016/12/05 19:37:56 00000000 s [Emu] ncam-emu version 733
2016/12/05 19:37:56 00000000 s (config) userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
2016/12/05 19:37:56 00000000 s (main) signal handling initialized
2016/12/05 19:37:56 00000000 s (config) 13 provid's loaded
2016/12/05 19:37:56 00000000 s (config) 80 service-id's loaded in 0 ms
2016/12/05 19:37:56 00000000 s (reader) emulator [emu] creating thread for device /usr/keys/SoftCam.Key
2016/12/05 19:37:56 00000000 s (main) waiting for local card init
2016/12/05 19:37:56 00000000 [Emu] info: FFDecsa parallel mode = 32
2016/12/05 19:37:56 305C8677 r [Emu] reading key file: /usr/keys/SoftCam.Key
2016/12/05 19:37:56 0F4013D8 h (webif) webif: decompressed 163512 bytes back into 406328 bytes
2016/12/05 19:37:56 0F4013D8 h (webif) HTTP Server running. ip=0.0.0.0 port=8181
2016/12/05 19:37:56 305C8677 r (reader) emulator [emu] Reader initialized (device=/usr/keys/SoftCam.Key, detect=cd, mhz=357, cardmhz=357)
2016/12/05 19:37:57 305C8677 r (reader) emulator [emu] card detected
2016/12/05 19:37:58 305C8677 r (reader) emulator [emu] found card system emu
2016/12/05 19:37:58 305C8677 r (reader) emulator [emu] THIS WAS A SUCCESSFUL START ATTEMPT No 1 out of max alloted of 1
2016/12/05 19:37:58 305C8677 r [Emu] reading key file: /usr/keys/SoftCam.Key
2016/12/05 19:37:59 00000000 s (main) init for all local cards done
2016/12/05 19:37:59 00000000 s (emmcache) loading emmcache disabled since no reader is using it!
2016/12/05 19:37:59 00000000 s (emmcache) loading emmstats disabled since no reader is using it!
2016/12/05 19:37:59 00000000 s (anticasc) anti cascading disabled
2016/12/05 19:37:59 1EC72E35 c (client) plain dvbapi-client granted (linuxsatsupport, au=auto (1 reader))
2016/12/05 19:37:59 1EC72E35 c (dvbapi) dvbapi channelcache loaded from /usr/keys/ncam.ccache
2016/12/05 19:37:59 1EC72E35 c (dvbapi) Detected /dev/dvb/adapter0/demux0 Api: 0, userconfig boxtype: 0 maximum amount of possible filters is 64 (ncam limit is 64)
2016/12/05 19:37:59 00000000 [Emu] stream client 0 connected
2016/12/05 19:37:59 00000000 [Emu] stream client 0 request /1:0:1:2:1:9:5A0000:0:0:0:
2016/12/05 19:38:00 1EC72E35 c (dvbapi) Demuxer 0 ecmpid 0 CAID: 0E00 ECM_PID: 1772 PROVID: 000000
2016/12/05 19:38:00 1EC72E35 c (dvbapi) Demuxer 0 found 1 ECMpids and 10 STREAMpids in caPMT
2016/12/05 19:38:00 1EC72E35 c (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 0E00 PROVID 000000 ECMPID 1772 ANY CHID PMTPID 138A VPID 04EC
2016/12/05 19:38:00 1EC72E35 c (dvbapi) Demuxer 0 found 1 ECMpids and 10 STREAMpids in PMT
2016/12/05 19:38:00 1EC72E35 c (ecm) linuxsatsupport (0E00@000000/0000/0002/40:5C71BE1740753107F6A763A46E02EBB0): rejected group (0 ms) - Atlantic (no matching reader)
2016/12/05 19:38:00 1EC72E35 c (ecm) linuxsatsupport (0E00@000000/0000/0002/40:46743FA95F62E087F0B4E99A89CED66D): rejected group (0 ms) - Atlantic (no matching reader)
2016/12/05 19:38:00 1EC72E35 c (dvbapi) Demuxer 0 restarting decodingrequests after 0 ms with 1 enabled and 0 disabled ecmpids!
2016/12/05 19:38:00 1EC72E35 c (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 0E00 PROVID 000000 ECMPID 1772 ANY CHID PMTPID 138A VPID 04EC
2016/12/05 19:38:01 00000000 [Emu] Key not found: P 0002 01
2016/12/05 19:38:01 1EC72E35 c (-) -- Skipped 2 duplicated log lines --
2016/12/05 19:38:01 1EC72E35 c (ecm) linuxsatsupport (0E00@000000/0000/0002/40:9FBB986C55E1B289F8923EAC02978C59): rejected group (0 ms) - Atlantic (no matching reader)
2016/12/05 19:38:02 1EC72E35 c (ecm) linuxsatsupport (0E00@000000/0000/0002/40:4BA5101E68A4E6ED3EA726D3810A9F0C): rejected group (1 ms) - Atlantic (no matching reader)
2016/12/05 19:38:02 1EC72E35 c (dvbapi) Demuxer 0 restarting decodingrequests after 1 ms with 1 enabled and 0 disabled ecmpids!
2016/12/05 19:38:02 1EC72E35 c (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 0E00 PROVID 000000 ECMPID 1772 ANY CHID PMTPID 138A VPID 04EC
2016/12/05 19:38:02 00000000 [Emu] Key not found: P 0002 01
 
Last edited:

kebien

Well Known Member
Messages
1,329
You have a rejected group,you probably have to fix the reader before it can autoroll.
 

Drosan

Registered
Messages
47
This is my configuration:

ncam.server

[reader]
label = emulator
protocol = emu
device = emulator
detect = cd
group = 4
emmcache = 2,2,2,0
saveemm-unknown = 1
saveemm-u = 1
saveemm-s = 1
saveemm-g = 1

ncam.user

[account]
user = linuxsatsupport
au = 1
group = 1,2,3,4
cccreshare = -1

ncam.conf

[global]
logfile = /dev/null
initial_debuglevel = 64
nice = -1
emmlogdir = /usr/keys
lb_mode = 1
lb_save = 100

[cache]

[streamrelay]
stream_emm_enabled = 1

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

[webif]
httpport = 8181
httprefresh = 15
httpshowmeminfo = 1
httpshowuserinfo = 1
httpshowreaderinfo = 1
httpshowcacheexinfo = 1
httpshowecminfo = 1
httpshowloadinfo = 1
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255
 
O

ooOO_SORGOS_OOoo

2016/12/05 19:38:01 00000000 [Emu] Key not found: P 0002 01

Check active key in softcam.key
 

Drosan

Registered
Messages
47
Is that available for solo 4k (arm7)?

I am trying OSCam: 1.20-unstable_svn Build: r11279 now. Same issue.
 
Last edited:
O

ooOO_SORGOS_OOoo

Is that available for solo 4k (arm7)?

I am trying OSCam: 1.20-unstable_svn Build: r11279 now. Same issue.

Good morning you cant oscam arm because oscam not support emu
You must use oscam emu arm
It does support and auto working
 

sonicdacrack

Registered
Messages
31
I am using osemu with stream relay, and get the same errors as the above post...

OSCam: 1.20-unstable_svn Build: r11209 Compiler: mipsel-unknown-linux-gnu
 
O

ooOO_SORGOS_OOoo

I am using osemu with stream relay, and get the same errors as the above post...

OSCam: 1.20-unstable_svn Build: r11209 Compiler: mipsel-unknown-linux-gnu

osemu to oscam emu different binaries !!!

OSemu need to OScam,CCcam,Camd3,!!

i think you need correct conf setting..
 
O

ooOO_SORGOS_OOoo

In am using Oscam with Emu patch and ncam 1.1. It clears Swiss SRG on 13e for example



you cant use oscam with emu patch??

how to ? tell me?

you dont use oscam and ncam together

you must work/run only 1 binary


 

Drosan

Registered
Messages
47
i am almost tapped out here as i cant get autoupdate to work. I am starting to believe that my config is fine but it just doesnt autoroll
 

skytec

Member
Messages
63
Make sure you have this done in order to autoroll

Check in oscam webif if the user is set to autoroll,
oscam_emu and linuxsatsupport must be ACTIVE.

In config/users make sure linuxsatsupport AU = 1
In config/dvbapi make ure AU is enabled for the user
In config/user/oscam-emu set EMMCACHE = 2,2,2,0
In config/global make sure you have EMM LOG enabled,with initial debug level of 64,so you can check emm logging.
Set also a EMM log directory.

This should be enough to get you started.
Once you do this,make sure you have EMM keys in your softcam file.You need to specify which channel will autoroll in the line,if you want it to autoroll in every channel,you must add a line for every channel.
Once you do all this,tune the channel,go to LIVE LOG and expect to roll keys,can take several minutes.

The best way for you is to follow this points,which by no means are the best there are,is just the way is working for me,some steps might not be needed,and i might just forget something.

Check the live log,a line similar to this one should show up
**(reader) oscam_emu [emu] EMM: reader 0E00 match since emmpid has no provid -> SEND!***
This mean is ready to receive the EMM for the UA listed in your emm key line in softcam.
It will ONLY autoroll in the channel specified,not in any other in the same trasponder


Post here in this thread your results.


I still have AU - ON, i cant get it to ACTIVE
 

Drosan

Registered
Messages
47
you cant use oscam with emu patch??

how to ? tell me?

you dont use oscam and ncam together

you must work/run only 1 binary

I am not using both @ the same time. I just tried those on the box
 

skytec

Member
Messages
63
I get this:
2016/12/06 21:23:46 00262414 c (reader) emulator [emu] EMM: reader 0E00 match since emmpid has no provid -> SEND!
but AU is ON not ACTIVE and
written
UK / G / S / UQ
0/0/0/0
 

Drosan

Registered
Messages
47
Ok i am convinced atm that the Problem MUST be the Softcam.key

I will test this l8er:


From Oscam-emu Readme:

PowerVU config
==============

Keys in SoftCam.Key:

P <groupid><srvid> <nb> <key>
Where:
groupid = any 4 hex digits of your choice for this group (leading zeros are optional)
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 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.
 
Top