Project

General

Profile

Actions

Bug #6060

open

PCMCIA Data rate command hangs CI CAM

Added by Enigma131 enig almost 4 years ago. Updated about 3 years ago.

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

0%

Estimated time:
Found in version:
all versions
Affected Versions:

Description

I have wrong command for normal CI CAM ( not CI+ compatible cam)

2021-06-02 08:14:58.073 [ TRACE] en50221: dvbca0-0: pcmcia data rate set to 00
2021-06-02 08:14:58.073 [ TRACE] en50221: dvbca0: write
2021-06-02 08:14:58.073 [ TRACE] en50221: 00 01 A0 0A 01 90 02 00 02 9F 80 24 01 00 ...........$..
2021-06-02 08:14:58.577 [ ERROR] en50221: dvbca0-slot0: communication stalled for more than 500ms

Look at this peace of code:

in src/input/mpegts/en50221/en50221_apps.c :

app->cia_info_version = atag & 0x3f ;  // 0x9F8021 / 0x9F8022 / 0x9F8023 with mask 0x3f gives: 0x21/22/23
CICAM_CALL_APP_CB(app, cisw_appinfo, atag & 0x3f, s, type, manufacturer, code);
if (app->cia_info_version >= 3) /* at least CI+ v1.3 / <------------ *is always true ......
if (CICAM_CALL_APP_CB(app, cisw_pcmcia_data_rate, &rate) >= 0)
return en50221_app_pdu_send((en50221_app_t *)app, CICAM_AOT_PCMCIA_DATA_RATE, &rate, 1, 0);

so I had to modify correct value :

app->cia_info_version = atag & 0x0f ;

Actions

Also available in: Atom PDF