Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to decode pmt on RPi4 with raspbian buster #713

Open
bccrew opened this issue Feb 12, 2020 · 4 comments
Open

failed to decode pmt on RPi4 with raspbian buster #713

bccrew opened this issue Feb 12, 2020 · 4 comments

Comments

@bccrew
Copy link

@bccrew bccrew commented Feb 12, 2020

This CI+ is working fine on RPi3 with raspbian stretch but not on newest rpi4 with buster.

[12/02 22:37:35.506 AD0]: PI pos 0 caid 1801 => pid 07DC (2012), index 0
[12/02 22:37:35.506 AD0]: PI pos 6 caid 1861 => pid 0840 (2112), index 1
[12/02 22:37:35.506 AD0]: PI pos 12 caid 4AC1 => pid 08A4 (2212), index 2
[12/02 22:37:35.506 AD0]: PI pos 18 caid 0500 => pid 0908 (2312), index 3
[12/02 22:37:35.506 AD0]: PI pos 35 caid 1850 => pid 096C (2412), index 4
[12/02 22:37:35.506 AD0]: PMT pid 212 - stream pid 0036 (54), type 11, es_len 51, pos 0, pi_len 41
[12/02 22:37:35.506 AD0]: PMT pid 212 - stream pid 0037 (55), type 11, es_len 51, pos 56, pi_len 41
[12/02 22:37:35.506 AD0]: PMT pid 212 - stream pid 0038 (56), type 11, es_len 51, pos 112, pi_len 41
[12/02 22:37:35.506 AD0]: PMT pid 212 - stream pid 0039 (57), type 11, es_len 31, pos 168, pi_len 41
[12/02 22:37:35.506 AD0]: PMT pid 212 - stream pid 003A (58), type 11, es_len 31, pos 204, pi_len 41
[12/02 22:37:35.506 AD0]: PMT pid 212 - stream pid 1069 (4201), type 27, es_len 6, pos 240, pi_len 41
[12/02 22:37:35.507 AD0]: PMT pid 212 - stream pid 106A (4202), type 4, es_len 6, pos 251, pi_len 41
[12/02 22:37:35.507 AD0]: PMT pid 212 - stream pid 106B (4203), type 6, es_len 12, pos 262, pi_len 41
[12/02 22:37:35.507 AD0]: PMT pid 212 - stream pid 1073 (4211), type 134, es_len 8, pos 279, pi_len 41
[12/02 22:37:35.507 AD0]: PMT pid 212 - stream pid 1F73 (8051), type 5, es_len 5, pos 292, pi_len 41
[12/02 22:37:35.507 AD0]: PMT pid 212 - stream pid 1F74 (8052), type 11, es_len 51, pos 302, pi_len 41
[12/02 22:37:35.507 AD0]: CAID 1861 and mask FFFF matched PMT 4
[12/02 22:37:35.507 AD0]: PMT CA 0 pid 212 () len 438 ver 3 sid 912 (390), pos 0, only
[12/02 22:37:35.507 AD0]: failed to decode pmt
[12/02 22:37:35.507 AD0]: createCAPMT failed
[12/02 22:37:35.507 AD0]: sendCAPMT failed
[12/02 22:37:35.508 AD0]: found CW: -1 for PMT 4, pid 212, master 4, 0 ms ago, parity 1: not found
[12/02 22:37:35.558 AD0]: new PMT 5 AD 0, pid: 00D5 (213), len 434, pi_len 64, ver 3, sid 0391 (913)
[12/02 22:37:35.558 AD0]: PI pos 0 caid 1801 => pid 07DD (2013), index 0
[12/02 22:37:35.558 AD0]: PI pos 6 caid 1861 => pid 0841 (2113), index 1
[12/02 22:37:35.558 AD0]: PI pos 12 caid 4AC1 => pid 08A5 (2213), index 2
[12/02 22:37:35.558 AD0]: PI pos 18 caid 0500 => pid 0909 (2313), index 3
[12/02 22:37:35.558 AD0]: PI pos 35 caid 1850 => pid 096D (2413), index 4

putty.log

@bccrew

This comment has been minimized.

Copy link
Author

@bccrew bccrew commented Feb 13, 2020

This is the log of same USB tuner and same CI+ module on rpi3. Tuning to same cable channel with PMT PID 212. Here you can see it's working. FTA channels are working without issues.
putty3.log

@catalinii

This comment has been minimized.

Copy link
Owner

@catalinii catalinii commented Feb 14, 2020

This is a problem with dvb-utils package, more specifically with libdvben50221. That issue can be reproduced also with the minisatip unit tests

@bccrew

This comment has been minimized.

Copy link
Author

@bccrew bccrew commented Feb 15, 2020

I know it must be major changes but tvheadend also uses own 50221 code instead of the original libraries from pre-2014.

Any chance minisatip will ever have it's own implementation?

@catalinii

This comment has been minimized.

Copy link
Owner

@catalinii catalinii commented Feb 16, 2020

I think the gains from reimplementing are minor and the work to re-write everything will not worth.

Was thinking of doing it for enigma but the satip plugin allows sharing the tuners with enigma.

Probably the easiest is track down what is going on in liben50221 and fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.