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

Status
Not open for further replies.

maumixio

Staff member
Moderator
Messages
2,854
OSCam Svn Update 11.532 [ EMU ] r796
build: audi06_19

[dvbapi] Small fix to previous commit

- Thanks to "lnj" again!

[dvbapi] DVBAPI_CA_SET_DESCR_DATA struct was not sent correctly to network clients
- Thanks to "lnj" for pointing out and helping.


+ disablecrccws_hardcoded_for_Sky_and_Dorcel.patch by Pehedima

- 098C , 09C4 , 098D , 0500:050F00

Added new tandberg keys * #42.0E


This OScam is:

  • mipsel = DM 500HD/800(SE)/7020HD/7025(+)/8000/VU+ (OE 1.6) image with old OE1.6
  • mipsoe20 = DM 500HD/800(SE)/820/7020HD/7025(+)/7080/8000/VU+ (OE 2.0) image with OE2.0
  • openpli40 = DM 500HD/800SE/7020HD/8000/VU+ (All Mipsel, OE 2.2 and higher, Black Hole 3.0 and higher)

 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11532 with emu

Changeset 11532

[dvbapi] Small fix to previous commit
Thanks to "lnj" again!

Changeset 11531

[dvbapi] DVBAPI_CA_SET_DESCR_DATA struct was not sent correctly to network clients
Thanks to "lnj" for pointing out and helping.

build juli13

Note:The file "oscam-11532-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 11532 with emu 797

New in emu 797

Added support for PowerVu hash mode 33
Bug fixes and improvements to BISS2 mode CA (some fixes still needed in oscam dvbapi side)
Fixed CW checksum bytes for viaccess 2
Other small optimizations and improvements

build juli13

Note:The file "oscam-11532-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 11534 with emu 797
Changeset 11533

[dvbapi] Rewritten the CA PMT parsing code

Some key notes for this revision:

The CA PMT and PMT parsing code is split into separate functions. Additional functionality is also moved to different functions.
The previous CA PMT parsing logic is retained (written by theparasol), but the code is much simpler, easier to maintain and a bit faster.
The CA PMT message is not completely parsed now if there is no need for it (e.g. no change is made to the channel).
The PMT is now parsed only if it's necessary (e.g. for powervu channels, when no streams are present in CA PMT, etc).
Added preliminary support for reading the "ca_pmt_cmd_id" value. A future update (in oscam and enigma2) will allow using multiple oscam instances simultaneously.
Added support for a new descriptor with tag 0x87 in the CA PMT message, used exclusively for sending the ca device information.
Added detailed information for the private CA PMT descriptors supported by oscam in the readme (for dvbapi client developers).

Changeset 11534

[dvbapi] Fixed previous commit when WITH_EXTENDED_CW is enabled

build juli13
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11535 with emu
[dvbapi]Tryfix for various boxes not working after 11533

It seems there are more retarded boxes out there that set the ca_pmt_cmd_id to 0 instead of a proper value.

build juli13
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11536 with emu
[dvbapi] Fixed "ca_pmt_cmd_id" value for PMT files

For CA PMT messages received via PMT files, set the "ca_pmt_cmd_id" to a proper value (ok_descrambling) instead of zero.
Also made few cosmetic changes.

build juli13

Note:The file "oscam-11536-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 11537 with emu
dvbapi] Reworked "ca_pmt_cmd_id" skipping logic

According to the spec (​https://www.dvb.org/resources/public/standards/En50221.V1.pdf), the "ca_pmt_cmd_id"
value shall be present inside the ES info loop. Unfortunately, each dvbapi client does each own thing. The
only reliable way to detect when this info is present in the CA PMT is to actually check its value, like it
was done in the old code.

Most boxes always send the typical value of 0x01 (ok_descrambling) and the above check works fine because
there is no descriptor_tag 0x01 to get confused with. On the contrary, for enigma2, values like 0x03 (query),
0x04 (not_selected) are possible (not yet, but soon). Skipping these higher values the same way will not work,
because descriptors with such tags can exist, so a different check is implemented for enigma2.

In practice, this commit fixes the VDR dvbapi plugin, as well as the enigma2 boxes with wrong dvbapi boxtype
setting ("none" instead on the correct "dreambox" - the setting is irrelevant now, but will make a difference
in the future, so make sure you set it correctly).

build juli13
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11539 with emu

Changeset 11539


[dvbapi] Added option to enable/disable ecm.info file creation

Changeset 11538

[documentation] Whitespace cleanup

build juli13
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11540 with emu
[dvbapi] SDT parsing optimizations

The SDT filter is now stopped even if no service name or provide name is found. Previously, on FTA or BISS channels, the SDT filter would run forever.
The SDT is now used for getting the tsid and onid of the service (in case we haven't already receive them in the CA PMT).
Duplicate info from the log is removed to keep it clean. The SDT information is only printed once.
Removed some redundant chekcs from the SDT parsing function. They are already done in the caller function.
Added more service types as "tv".

The actual string parsing and supported character sets remained the same (still some eastern character sets are not supported).

build juli13
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11541 with emu
[dvbapi] Display service name when zapping

If present in oscam.srvid or oscam.srvid2, the service name is displayed at channel zap (like it was done before the CA PMT rewrite).

build juli13
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11546


Changeset 11546

[gbox] Cosmetics

Changeset 11545

Replaced strncpy() with cs_strncpy() in a few places

Changeset 11544

[dvbapi] Added more PMT audio descriptors

Changeset 11543

[dvbapi] Cosmetics and minor optimizations

Changeset 11542

[dvbapi] CAT filtering optimizations

Separate CAT filter (starting and stopping) from EMM filtering.
Stop CAT filter as soon as CAT is parsed, instead of letting it run forever. (Everytime we get a new channel, the CAT filter is restarted anyway).
Split CAT parsing from CA descriptor parsing.

build juli13
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11546 with emu 798 for PowerVu fix


New in Emu:


Added support for PowerVu hash mode 34
Small improvements and bug fixes in BISS Mode 1
Other small optimizations and improvements

build juli13
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11547 with emu
[gbx remm]

fix card not updated if entitlements are expired
new gbox reader parameter 'force_remm'
dont send same successive remm twice

build juli13
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11549 with emu

Changeset 11549

More furious refactoring


Changeset 11548

Just refactoring due to investigating an issue with CAPMT parsing

build juli13
 

juli13

Staff member
Administrator
Messages
10,194
Changeset 11550 with emu

Final refactoring step of dvbapi_get_packet_size()

build juli13

Note:The file "oscam-11536-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 11561 with emu

[dvbapi] Always regard stream_type 0x81 as audio (ac3) without looking for the ac3_descriptor

This fixes some not ATSC complaint channels reported with no sound.

Thanks nautilus7 for providing another contribution!

build juli13
 
Status
Not open for further replies.
Top