Project

General

Profile

Actions

Bug #3061

open

linuxdvb_ca.c may should respond OK on MMI messages

Bug #3061: linuxdvb_ca.c may should respond OK on MMI messages

Added by Daniel Persson over 10 years ago. Updated over 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Descrambling
Target version:
-
Start date:
2015-09-02
Due date:
% Done:

0%

Estimated time:
Found in version:
HTS Tvheadend 4.1-385~gf4c6817
Affected Versions:

Description

Hi !

I have problem with my CI interface , everytime when i switch to a new channel I got this message

149566:2015-09-02 23:17:49.040 [ NOTICE]:en50221: MMI menu from CAM in the slot 0:
149567-2015-09-02 23:17:49.040 [ NOTICE]:en50221: title: Viaccess Conditional Access
149568-2015-09-02 23:17:49.040 [ NOTICE]:en50221: subtitle:
149569-2015-09-02 23:17:49.040 [ NOTICE]:en50221: item 1: Your host is not fully CI+
149570-2015-09-02 23:17:49.040 [ NOTICE]:en50221: item 2: compliant
149571-2015-09-02 23:17:49.040 [ NOTICE]:en50221: bottom: Press 'OK' to confirm

Then I had to stop the channel and start it again , then the message does not appear.

Could it be that the CI is waiting for an OK ??


Files

error3.txt (14.1 KB) error3.txt Daniel Persson, 2015-11-08 17:25
a.patch (1.7 KB) a.patch Try to press Enter automatically Jaroslav Kysela, 2015-11-08 17:52
patch.txt (3.11 KB) patch.txt Daniel Persson, 2015-11-08 19:16
tvh.log (12.8 KB) tvh.log Daniel Persson, 2015-11-08 19:22

Updated by Daniel Persson over 10 years ago Actions #1

Still the same problem, anyone else with same problem ??

Updated by Jaroslav Kysela over 10 years ago Actions #2

  • File a.patch added

Could you try attached patch ?

Updated by Jaroslav Kysela over 10 years ago Actions #3

  • File deleted (a.patch)

Updated by Jaroslav Kysela over 10 years ago Actions #4

  • File a.patch added

Updated by Jaroslav Kysela over 10 years ago Actions #5

  • File deleted (a.patch)

Updated by Jaroslav Kysela over 10 years ago Actions #6

  • File a.patch added

Updated by Daniel Persson over 10 years ago Actions #7

  • File error.txt added
  • File linuxdvb_ca.c added

Thanks , but I could not compile with the changes !

I attach a txt with my errors , and the patched file !

Thanks Danne

Updated by Jaroslav Kysela over 10 years ago Actions #8

  • File a.patch added

Updated by Jaroslav Kysela over 10 years ago Actions #9

  • File deleted (a.patch)

Updated by Jaroslav Kysela over 10 years ago Actions #10

Updated.

Updated by Daniel Persson over 10 years ago Actions #11

I still got the same problem !

It will stay on this

2015-11-08 16:01:02.873 [ NOTICE]:en50221: MMI menu from CAM in the slot 0:
2015-11-08 16:01:02.873 [ NOTICE]:en50221: title: Viaccess Conditional Access
2015-11-08 16:01:02.873 [ NOTICE]:en50221: subtitle:
2015-11-08 16:01:02.873 [ NOTICE]:en50221: item 1: Your host is not fully CI+
2015-11-08 16:01:02.873 [ NOTICE]:en50221: item 2: compliant
2015-11-08 16:01:02.873 [ NOTICE]:en50221: bottom: Press 'OK' to confirm

Until i close the channel and start the same channel again !

Updated by Jaroslav Kysela over 10 years ago Actions #12

  • File a.patch added

Updated by Jaroslav Kysela over 10 years ago Actions #13

  • File deleted (a.patch)

Updated by Jaroslav Kysela over 10 years ago Actions #14

OK. Another try. You should see new message 'Sent Enter keypress' otherwise the string matching does not work as expected.

Updated by Daniel Persson over 10 years ago Actions #15

  • File error1.txt added

Oki , I got compillation errors again !, I attached the errors !!

Updated by Jaroslav Kysela over 10 years ago Actions #16

  • File a.patch added

Updated by Jaroslav Kysela over 10 years ago Actions #17

  • File deleted (a.patch)

Updated by Jaroslav Kysela over 10 years ago Actions #18

  • File deleted (error.txt)

Updated by Jaroslav Kysela over 10 years ago Actions #19

  • File deleted (linuxdvb_ca.c)

Updated by Jaroslav Kysela over 10 years ago Actions #20

Next round.

Updated by Daniel Persson over 10 years ago Actions #21

  • File error2.txt added

:)

Still compilation errors !

Updated by Daniel Persson over 10 years ago Actions #22

I attached a new errorlog in UTF-8 !!

Updated by Jaroslav Kysela over 10 years ago Actions #23

Updated by Jaroslav Kysela over 10 years ago Actions #24

  • File deleted (a.patch)

Updated by Jaroslav Kysela over 10 years ago Actions #25

  • File deleted (error2.txt)

Updated by Jaroslav Kysela over 10 years ago Actions #26

  • File deleted (error1.txt)

Updated by Jaroslav Kysela over 10 years ago Actions #27

Oops. Next round.

Updated by Daniel Persson over 10 years ago Actions #28

Now I can compile tvh again, but i had to add a "=" on this line

items0.text_length 26 && strncmp((const char *)items[0].text, "Your host is not fully CI+", 26) 0 &&

But I still not got any Sent Enter keypress, after the
NOTICE]:en50221: bottom: Press 'OK' to confirm

Updated by Jaroslav Kysela over 10 years ago Actions #29

Provide the strings again, perhaphs, there are some spaces. I added '' to the code in the patch.

Updated by Daniel Persson over 10 years ago Actions #30

Now I got the keypress in the log !

There is A MMI statment on line 590 also, it seems thats the part !

So i pasted the change there to, and on the line
:en50221: item 1: 'Your host is not fully CI+ ', there was a space after the "+"

But it does not seems to work , still have to close the channel and start the channel again after the MMI

I attached my changes !

Updated by Daniel Persson over 10 years ago Actions #31

Here is the TVH log

Updated by Jaroslav Kysela over 10 years ago Actions #32

Looking to the en50211 spec, the Enter code is not 0x0d but 0x11 - try to change the keypress calls. If it does not work, try 0x10 . In the spec, these keycodes are marked as 0x11 = RC and 0x10 = BS .

Updated by Daniel Persson over 10 years ago Actions #33

Hi !

I have tried a lot of different key codes , but it did not seems to make any difference.
Maybe the MMI menu disapear, but if wait for something else !

Thanks for all your help ! !

/Danne

Actions

Also available in: PDF Atom