Project

General

Profile

Bug #4738

replace liben50221 (dvb-apps dependency)

Added by C vH about 2 years ago. Updated almost 2 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
Descrambling
Target version:
Start date:
2017-11-05
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Found in version:
4.2
Affected Versions:

Description

With kernel 4.14 dvb-apps is not compiling anymore ootb due CA_SET_PID (fix here just for the record ).
As dvb-apps is dead/not maintained since 2014 (also official stated that it is dead) there might be a good idea to drop this dependence or replace it.

Afaik it is only needed for libdvben50221 (at least this is the only thing that complains if I drop dvb-apps).

checking for cc libdvben50221 ... fail

Tbh I have no idea how this could be replaced at all, or if you need to copy these few en50221 files to the project folder or similar stuff.
Maybe you have an idea how to solve it longterm.


Subtasks

Feature #4708: enabling static linked dvb-apps libsRejected

Actions

Associated revisions

Revision fab0a6c5 (diff)
Added by Jaroslav Kysela almost 2 years ago

en50221: use own en50221 code which replaces liben50221 from dvb-apps, fixes #4738

History

#1

Updated by Jaroslav Kysela about 2 years ago

  • Subject changed from dvb-apps dependency to replace en50221 (dvb-apps dependency)

I'm looking to the en50221 library, enigma2 CI code and it appears that the liben50221 is just a big callback bloat with no direct benefit. We should implement probably own CI code.

#2

Updated by Jaroslav Kysela about 2 years ago

  • Target version set to 4.4
#3

Updated by Jaroslav Kysela about 2 years ago

  • Subject changed from replace en50221 (dvb-apps dependency) to replace liben50221 (dvb-apps dependency)
#4

Updated by Mono Polimorph about 2 years ago

Jaroslav Kysela wrote:

I'm looking to the en50221 library, enigma2 CI code and it appears that the liben50221 is just a big callback bloat with no direct benefit. We should implement probably own CI code.

Great to hear to eliminate the dvb-apps dependency!

#5

Updated by saen acro about 2 years ago

Also this part #4736

#6

Updated by Jaroslav Kysela about 2 years ago

OK, I get picture, tested only with DiabloCAM WIFI:

https://github.com/perexg/tvheadend/tree/ci

Please, test (but expect crashes - so do not use "production" environment).

#7

Updated by Jaroslav Kysela almost 2 years ago

  • Status changed from New to Fixed
#8

Updated by Alfred Zastrow almost 2 years ago

Thanks. :)

Alfred

#9

Updated by Emil Silverarn almost 2 years ago

Jaroslav Kysela wrote:

Applied in changeset tvheadend|fab0a6c59ceb322c44722f7576e743de176f81a9.

Hi

After this patch, my decrypting stopped working :( I just get

2017-12-15 07:20:15.641 mpegts: 642MHz in Boxer - tuning on Silicon Labs Si2168 : DVB-T #0
2017-12-15 07:20:15.669 subscription: 0009: "HTTP" subscribing on channel "Kanal 9", weight: 100, adapter: "Silicon Labs Si2168 : DVB-T #0", network: "Boxer", mux: "642MHz", provider: "SBS Broadcasting Networks Ltd", service: "Kanal 9", profile="pass", hostname="192.168.178.135", client="VLC/2.2.4 LibVLC/2.2.4"
2017-12-15 07:20:16.596 en50221: dvbca0-slot0: communication stalled for more than 500ms
2017-12-15 07:20:20.652 linuxdvb: dvbca0-0: CAM slot 0 status changed to module init
2017-12-15 07:20:21.172 linuxdvb: dvbca0-0: CAM slot 0 status changed to module connected
2017-12-15 07:20:22.628 en50221: dvbca0-slot0-app00020041/0002: CAM INFO: Viaccess Access, 01, CAFE, BABE
2017-12-15 07:20:22.725 TS: Boxer/642MHz/Kanal 9: TELETEXT #486 Continuity counter error (total 1)
2017-12-15 07:20:28.764 en50221: dvbca0-slot0-app00030041/0004: CAM supported CAIDs: 0500 (Viaccess) 0500 (Viaccess)
2017-12-15 07:20:28.984 linuxdvb: dvbca0-0: CAM slot 0 status changed to module ready
...
2017-12-15 07:21:33.810 mpegts: 666MHz in Boxer - tuning on Silicon Labs Si2168 : DVB-T #0
2017-12-15 07:21:33.840 subscription: 000B: "HTTP" subscribing on channel "TV3 HD STOCKHOLM", weight: 100, adapter: "Silicon Labs Si2168 : DVB-T #0", network: "Boxer", mux: "666MHz", provider: "Viasat AB", service: "TV3 HD STOCKHOLM", profile="pass", hostname="192.168.178.135", client="VLC/2.2.4 LibVLC/2.2.4"
2017-12-15 07:21:34.908 en50221: dvbca0-slot0: communication stalled for more than 500ms
2017-12-15 07:21:38.860 linuxdvb: dvbca0-0: CAM slot 0 status changed to module init
2017-12-15 07:21:39.484 linuxdvb: dvbca0-0: CAM slot 0 status changed to module connected
2017-12-15 07:21:40.940 en50221: dvbca0-slot0-app00020041/0002: CAM INFO: Viaccess Access, 01, CAFE, BABE
2017-12-15 07:21:40.966 TS: Boxer/666MHz/TV3 HD STOCKHOLM: TELETEXT
#3006 Continuity counter error (total 1)
2017-12-15 07:21:40.981 tbl-eit: eit: 666MHz in Boxer: invalid checksum (len 539, errors 1)
2017-12-15 07:21:41.153 tbl-pass: pass-eit: -: invalid checksum (len 539, errors 1)
2017-12-15 07:21:47.080 en50221: dvbca0-slot0-app00030041/0004: CAM supported CAIDs: 0500 (Viaccess) 0500 (Viaccess)
2017-12-15 07:21:47.180 linuxdvb: dvbca0-0: CAM slot 0 status changed to module ready

If I switch to the version before this patch everything works.

can I provide some logs or do I need to configure something in thvheaden to make it work after this patch?

/Atener

#10

Updated by Jaroslav Kysela almost 2 years ago

Create a new bug and attach '--trace en50221' to it. https://tvheadend.org/projects/tvheadend/wiki/Traces

Also available in: Atom PDF