Oscam-EMU Mipsel (DM500HD,800,7025,8000 & VU)

Status
Not open for further replies.

juli13

Staff member
Administrator
Messages
10,194
Changeset 11508 with emu 794
first part of the rework on dvbapi
to incrase the amount of descramblers

Get available descramblers in box and BISS2 related changes

Instead of using a predefined number of descramblers (16 until now), oscam now gets the exact number of available descramblers in box.
Skip cw checks for BISS2, similar to what is done for BISS1. BISS2 uses 16 byte cw, so some checks need to be skipped.
Cosmetic changes including code refactoring, variable renaming and comment addition to several places.

build juli13
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11509 with emu 795

Part 2.

Support for DVB-CISSA scrambling algorithm and 16 byte CWs

enigma2 box manufacturers should support the new ioctl(CA_SET_DESCR_DATA) as defined in the module-dvbapi.h

build juli13


New In emu



Added support for BISS2 mode 1 and mode CA *
Added support for DVB-CISSA algorithm
Increased descramblers to the actual number available on each box **
Other small optimizations and improvements

*BISS2 mode 1 works similar to BISS1 mode 1. See Note 10 in https://github.com/oscam-emu/oscam-patched/wiki/BISS1-and-BISS2-mode-1-config for details. BISS2 mode CA is competely different though. See https://github.com/oscam-emu/oscam-patched/wiki/BISS2-mode-CA-config for details.

From this version and on, building OSCam-Emu will require linking with libcrypto due to the extedned use of cryptographic functions in BISS2 code. This means that you must enable the USE_SSL=1 or USE_LIBCRYPTO=1 switches when compiling.

**Previously, OSCam-Emu only used 16 descramblers in enigma2 boxes. Now, all descramblers available in a box (modern boxes have 64 or even 96 descramblers) are used, which means many more channels can be descrambled simultaneously. Fox example, with 16 descramblers only 3 or 4 PowerVu channels could be descrambled at the same time, while with 64 we can descramble ~4 times more.
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11512 with emu 795
Changeset 11512

fixed the problem and oscam-emu can now be built with static libcrypto

Changeset 11511

3.part of dvb api changes

*Increased max demux to 32 and max filters to 64
*Decreased max ecm pids to 16 and emm pids to 16
*Decreased max stream indices to 8
*Lots of cosmetics changes

Changeset 11510

small text typo fixes

build juli13
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11514 with emu
remove duplicate debug dump of er->ecm

New in emu


[osemu] Dropped videoguard module …
- No channel uses it anymore

[osemu] Dropped drecrypt module …
- No channel uses it anymore

[dvbapi] Increased MAX_STREAM_INDICES back to 32 …
- It should be equal to MAX_STREAM_PIDS or else it creates problems with specific powervu channels. A better solution (with will also result in even lower number of descramblers needed for powervu channels) will be added in the future.

build juli13
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11517 with fix for S*y Ger
fix bug in disablecrccws_only_for also in cacheex
general disable checksum correction code optimization

thanks to kabeltod

build juli13
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11517 with fix log_bad_cw for S*y Ger

The patch allows the *** stations (currently only Sky SAT) with the new 64bit CWs the potentially invalid display and optionally also discard.

Please note the following:

- The function is activated only with "disablecrccws_only_for" and only in the oscam.server in the reader config
- with "dropbadcws = 1" in the reader config you can ensure that the potentially wrong CW is discarded, otherwise there is only a log message and no action
- The bad CW detection works basically "only" with a 99.998% accuracy and thus theoretically can provide a hoax
- Otherwise, the behavior as with the current trunk with the exception that it comes with transmitters continue to use a 48bit CW to a hoax
- a false message in connection with "dropbadcws = 1" causes it to freeze free or the station remains permanently dark when it comes to 48bit CWs.

Channel groups which one can have booked on the *** map and which still use the 48bit CW would be HD +, ORF, HD Austria and PYUR.
So watch out with the parameter dropbadcws and how you interpret the log.
At the point again Thanks to @kabeltod for this note.

UPDATE:
Version 3 of the patch with a higher accuracy (99.9985% instead of 99.61% before).

build juli13
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11517 with new Power Vu method
-- [dvbapi] Fix for stapi, coolapi, etc
-- [powervu] Added new method for matching ECM and EMM keys

This method is based on enigma2 namespace and it is only available for enigma2 and Tvheadend/VDR software for PC. Also, it does not work with stream relay.

Read the wiki for instructions on how to use it: https://github.com/oscam-emu/oscam-...ys-based-on-transponder-new-method---may-2019

build juli13

note:

The log_bad_cw is not included
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11518 with emu 796

DVBAPI:
Fixed bug in dvbapi not releasing used descramblers in stapi, coolapi and gxapi boxes
Increased MAX_STREAM_INDICES back to 32 (it must be equal to MAX_STREAM_PIDS)
Modified the get_emm_filter_adv() function to accept more arguments

OTHER:
Cosmetics to module-cccam.c and module-cccam-cacheex.x
Removed some emu specific code not needed anymore

New in emu



Added a new method for matching powervu keys *
Dropped unused videoguard and drecrypt modules
Other small optimizations and improvements

*The new powervu key method is available for both dvbapi and stream relay, but it works only on devices that support the enigma namespace.

Read the wiki for more details: https://github.com/oscam-emu/oscam-...ys-based-on-transponder-new-method---may-2019



build juli13
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11518 with emu
New in emu

[biss] Increased variable size to avoid potential overflow
[viaccess] Fixed CW checksum bytes for viaccess 2

build juli13
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11520 with emu
Changeset 11520

Added support for a higher number of demux devices in CA PMT
Modern enigma2 boxes with FCB tuners can have many demux devices,
so a new CA PMT descriptor that allows up to 128 demuxes (descriptor tag 0x86) is now supported.
Also, the get_demux_options() function is completely re-written,
so it doesn't care for the order of descriptors inside the CA PMT message.


Changeset 11519

small cleanup

build juli13
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11521 with emu

fix webif save issue with high var count

build juli13

NOTE:


The file "oscam-11520-mips-emu-static-lib" is build with static libcrypto, thus can works at every image in mips arch, despite the libcrypto version.
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11523 with emu


New in emu:

Bug fixes and improvements to BISS2 mode CA
Cleaned up error codes and did some cosmetics

build juli13
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11526 with emu

Changeset 11524
[dvbapi] Changed variable name (cosmetic)
dvbapi_parse_capmt() returns the demux_id, not the pmt_pid, so use a proper variable name.

Changeset 11525
[dvbapi] Changes to a couple of log messages

Changeset 11526
[dvbapi] When parsing PAT, save found PMT pid in the demuxer
This way we can later start the PMT filter without explicitly passing the PMT pid.

build juli13
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11529 with emu

Changeset 11527
[dvbapi] Moved reading of priority entries in separate functions

Changeset 11528
[dvbapi] Moved parsing of CA descriptor to a separate function

Changeset 11529
[dvbapi] Moved #define's to header file and made a few cosmetic changes
The CA PMT list management defined values are updated with proper info from the corresponding standard, instead of using OpenPLi's poor explanatory text.

build juli13

Note:The file "oscam-11529-mips-emu-static-lib.zip" is oscam with libcrypto inside it, thus it work in every image in receivers with mipsel chip.
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11530 with emu
[dvbapi] Fixed compilation with coolapi
Silly bug introduced in rev. 11529, where some #define values were renamed.
Thanks to "Optimum Power" for reporting.

build juli13
 
Status
Not open for further replies.
Top