Project

General

Profile

Bug #3061

linuxdvb_ca.c may should respond OK on MMI messages

Added by Daniel Persson about 9 years ago. Updated about 9 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

History

#1

Updated by Daniel Persson about 9 years ago

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

#2

Updated by Jaroslav Kysela about 9 years ago

  • File a.patch added

Could you try attached patch ?

#3

Updated by Jaroslav Kysela about 9 years ago

  • File deleted (a.patch)
#4

Updated by Jaroslav Kysela about 9 years ago

  • File a.patch added
#5

Updated by Jaroslav Kysela about 9 years ago

  • File deleted (a.patch)
#6

Updated by Jaroslav Kysela about 9 years ago

  • File a.patch added
#7

Updated by Daniel Persson about 9 years ago

  • 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

#8

Updated by Jaroslav Kysela about 9 years ago

  • File a.patch added
#9

Updated by Jaroslav Kysela about 9 years ago

  • File deleted (a.patch)
#10

Updated by Jaroslav Kysela about 9 years ago

Updated.

#11

Updated by Daniel Persson about 9 years ago

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 !

#12

Updated by Jaroslav Kysela about 9 years ago

  • File a.patch added
#13

Updated by Jaroslav Kysela about 9 years ago

  • File deleted (a.patch)
#14

Updated by Jaroslav Kysela about 9 years ago

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

#15

Updated by Daniel Persson about 9 years ago

  • File error1.txt added

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

#16

Updated by Jaroslav Kysela about 9 years ago

  • File a.patch added
#17

Updated by Jaroslav Kysela about 9 years ago

  • File deleted (a.patch)
#18

Updated by Jaroslav Kysela about 9 years ago

  • File deleted (error.txt)
#19

Updated by Jaroslav Kysela about 9 years ago

  • File deleted (linuxdvb_ca.c)
#20

Updated by Jaroslav Kysela about 9 years ago

Next round.

#21

Updated by Daniel Persson about 9 years ago

  • File error2.txt added

:)

Still compilation errors !

#22

Updated by Daniel Persson about 9 years ago

I attached a new errorlog in UTF-8 !!

#23

Updated by Jaroslav Kysela about 9 years ago

#24

Updated by Jaroslav Kysela about 9 years ago

  • File deleted (a.patch)
#25

Updated by Jaroslav Kysela about 9 years ago

  • File deleted (error2.txt)
#26

Updated by Jaroslav Kysela about 9 years ago

  • File deleted (error1.txt)
#27

Updated by Jaroslav Kysela about 9 years ago

Oops. Next round.

#28

Updated by Daniel Persson about 9 years ago

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

#29

Updated by Jaroslav Kysela about 9 years ago

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

#30

Updated by Daniel Persson about 9 years ago

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 !

#31

Updated by Daniel Persson about 9 years ago

Here is the TVH log

#32

Updated by Jaroslav Kysela about 9 years ago

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 .

#33

Updated by Daniel Persson about 9 years ago

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

Also available in: Atom PDF