Opened 7 years ago

Closed 18 months ago

#4601 closed defect (fixed)

CW 000000 on 0963 / 0960 from card in card reader

Reported by: johnjoes58 Owned by:
Priority: Please fill in Component: Protocol - CCCam
Severity: high Keywords:
Cc: Sensitive: no

Description

Revision

<Please fill in>

Issue Description

<Please fill in>

When the issue occurs

<on certain transponders screen is there black>

How the issue is reproducible

<Please fill in>

<Don't forget to ATTACH (NOT post here as text) a log file of oscam in debug mode (start oscam with -d255) and to remove the brackets around the fields! Otherwise, your ticket will be closed as you seem to be unable to read.>

Change History (6)

comment:1 by johnjoes58, 7 years ago

2017/03/31 17:09:08 30EC798F r (reader) Homecard2 [videoguard2] classD3 ins54: no cw --> Tier expired
2017/03/31 17:09:08 2466C363 c (ecm) homesatman60 (0963@000000/FFFF/2392/71:4D46FDE802D36EDBC3C56BCA96E6114E:0F06000000000000:): found (154 ms) by Homecard2 - Disney Junior +1 UK
2017/03/31 17:09:08 09D63522 c (ecm) homesatman62 (0963@000000/FFFF/107B/71:3E5D9D6B2E04D96D9FBB943D36B28A94:0F06000000000000:): timeout (5000 ms) - Sky Sports 3
2017/03/31 17:09:08 1704704D c (ecm) homesatman61 (0963@000000/FFFF/2392/71:4D46FDE802D36EDBC3C56BCA96E6114E:0F06000000000000): cache1 (91 ms) by Homecard2 - Disney Junior +1 UK
2017/03/31 17:09:08 1704704D c (ecm) homesatman61 (0963@000000/FFFF/107B/71:3E5D9D6B2E04D96D9FBB943D36B28A94:0F06000000000000:): timeout (5006 ms) - Sky Sports 3
2017/03/31 17:09:08 03EB1697 c (ecm) homesatman59 (0963@000000/FFFF/052D/71:C6300B9E72EE11E406E0F196B90F48FF:0F06000000000000:): found (224 ms) by Homecard2 - Sky Sports News HQ
2017/03/31 17:09:08 09D63522 c (ecm) homesatman62 (0963@000000/FFFF/052D/71:C6300B9E72EE11E406E0F196B90F48FF:0F06000000000000:): cache2 (265 ms) by Homecard2 - Sky Sports News HQ
2017/03/31 17:09:08 09D63522 c (ecm) homesatman62 (0963@000000/FFFF/151B/A8:8A1E502FCF8FC8BC2D97B226AF802B8C:0F06000000000000:): timeout (5000 ms) - Sky Sports 4
2017/03/31 17:09:08 09D63522 c (ecm) homesatman62 (0963@000000/FFFF/132D/79:3DB45BC95B43EEEBCF92DB0B26ADD5D9:0F06000000000000): timeout (5000 ms) - Sky Sports News Ireland (Invalid ecm type for card)
2017/03/31 17:09:09 1ECDBBD4 c (ecm) homesatman56 (0963@000000/FFFF/196A/71:13CB38D502AD119D757C4290E5D9AF44:0F06000000000000:): found (99 ms) by Homecard2 - Dave
2017/03/31 17:09:09 1ECDBBD4 c (ecm) homesatman56 (0963@000000/FFFF/132B/79:3DB45BC95B43EEEBCF92DB0B26ADD5D9:0F06000000000000): timeout (5000 ms) - Sky Sports News HQ
2017/03/31 17:09:09 09D63522 c (ecm) homesatman62 (0963@000000/FFFF/1839/71:5CAB8F65EE146519EC97DF8C9F55F692:0F06000000000000:): found (98 ms) by Homecard2 - Discovery Channel
2017/03/31 17:09:09 1ECDBBD4 c (ecm) homesatman56 (0963@000000/FFFF/1839/71:5CAB8F65EE146519EC97DF8C9F55F692:0F06000000000000:): cache2 (67 ms) by Homecard2 - Discovery Channel
2017/03/31 17:09:10 09D63522 c (ecm) homesatman62 (0963@000000/FFFF/1B5D/71:4723191E539C8B7A81A8F7740FB0FDF9:0F06000000000000:): found (99 ms) by Homecard2 - MTV One +1
2017/03/31 17:09:10 2466C363 c (ecm) homesatman60 (0963@000000/FFFF/1076/71:EB5C0856242CF38ACD424ED3212FDD31:0F06000000000000:): timeout (5001 ms) - Sky Sports 1
2017/03/31 17:09:10 09D63522 c (ecm) homesatman62 (0963@000000/FFFF/CCDE/71:56006446C9484B8AF0F232DE7D9C12F6:0F06000000000000:): found (97 ms) by Homecard2 - TLC +1
2017/03/31 17:09:10 1ECDBBD4 c (ecm) homesatman56 (0963@000000/FFFF/1978/71:0EAB655483134A933DCA9D9CA292A847:0F06000000000000:): found (99 ms) by Homecard2 - Watch
2017/03/31 17:09:10 03EB1697 c (ecm) homesatman59 (0963@000000/FFFF/1B5F/71:0D7BBFE75F545F26B06ED4AB8A8E578B:0F06000000000000:): found (181 ms) by Homecard2 - MTV Base
2017/03/31 17:09:10 09D63522 c (ecm) homesatman62 (0963@000000/FFFF/196C/71:8E8A76759B4F9294A97A24AC2FA804AF:0F06000000000000:): found (270 ms) by Homecard2 - Good Food
2017/03/31 17:09:10 09D63522 c (ecm) homesatman62 (0963@000000/FFFF/C794/71:CEC1D188A3488279FD6872B4F65A8D99:0F06000000000000:): found (354 ms) by Homecard2 - Nick Jr Too
2017/03/31 17:09:11 1ECDBBD4 c (ecm) homesatman56 (0963@000000/FFFF/1DE7/71:B746D6CD1CC81A6F52C3264AD3281DBE:0F06000000000000:): found (445 ms) by Homecard2 - GOLD
2017/03/31 17:09:11 03EB1697 c (ecm) homesatman59 (0963@000000/FFFF/15B9/71:8122D250E111C0830D2A386A17751A60:0F06000000000000:): found (471 ms) by Homecard2 - Nickelodeon +1
2017/03/31 17:09:11 09D63522 c (ecm) homesatman62 (0963@000000/FFFF/CB8C/71:58FD1EE3F9A9993534ABBF0AB191D98D:0F06000000000000:): found (536 ms) by Homecard2 - Star Plus
2017/03/31 17:09:11 09D63522 c (ecm) homesatman62 (0963@000000/FFFF/CC2E/71:64A4B02AFBB2132A1668242768007FA8:0F06000000000000:): found (557 ms) by Homecard2 - Movies 24+
2017/03/31 17:09:11 09D63522 c (ecm) homesatman62 (0963@000000/FFFF/15BC/71:2379CA5129666B5D00E88F2A6D40C435:0F06000000000000:): found (613 ms) by Homecard2 - Baby TV
2017/03/31 17:09:11 30EC798F r (reader) Homecard2 [videoguard2] classD3 ins54: no cw --> Card appears in error
2017/03/31 17:09:11 30EC798F r (reader) Homecard2 [videoguard2] classD3 ins54: no cw --> Tier expired

Version 1, edited 7 years ago by johnjoes58 (previous) (next) (diff)

comment:2 by johnjoes58, 7 years ago

2017/03/31 17:09:11 30EC798F r (reader) Homecard2 [videoguard2] classD3 ins54: no cw --> Card appears in error
2017/03/31 17:09:11 30EC798F r (reader) Homecard2 [videoguard2] classD3 ins54: no cw --> Tier expired

comment:3 by johnjoes58, 7 years ago

needs to insert this patch , but where in NDs file?

if(er->ecm[5] == 0xB0 && er->ecm[6] == 0x01 )
{
memcpy(tbuff, tbuff, sizeof(tbuff - 4 ));
}

and code:

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:


just an example!
uint8_t icam_pos;
uint8_t icam_command[5];
uint8_t *icam_reaply;
memcpy(&icam_pos, ecm[4], 1);
memcpy(icam_command, '\x48', 1);
memcpy(icam_command+1, ecm+icam_pos, 4);
...
function_send_icam_command(icam_command);
...
uint8_t *icam_hex_dump = function_read_reaply_from_card_after_icam_command(icam_reaply);
...

In short, you need to extract (memcpy) icam 4 bytes from the end of the ecm, append one byte first to the icam_command (0x4cool so it looks like 48xxXXxxXX (total 5 bytes), and send it to the card till after you receive ecm, than you need to read reaply from the card (I think reaply from the card will be excatly 0xe4 bytes len as we seen it in our tread from few ecms), than post it here hope somebody figure out what is need further. I think its maybe an pickup table or maybe an extra pairing instructions, nobody know without getting that reaply from card smile

comment:4 by aadouz, 4 years ago

Component: ReaderProtocol - CCCam
Priority: criticalPlease fill in

in reply to:  3 comment:5 by thiagodp, 3 years ago

Replying to johnjoes58:

needs to insert this patch , but where in NDs file?

if(er->ecm[5] == 0xB0 && er->ecm[6] == 0x01 )
{
memcpy(tbuff, tbuff, sizeof(tbuff - 4 ));
}

and code:

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:


just an example!
uint8_t icam_pos;
uint8_t icam_command[5];
uint8_t *icam_reaply;
memcpy(&icam_pos, ecm[4], 1);
memcpy(icam_command, '\x48', 1);
memcpy(icam_command+1, ecm+icam_pos, 4);
...
function_send_icam_command(icam_command);
...
uint8_t *icam_hex_dump = function_read_reaply_from_card_after_icam_command(icam_reaply);
...

In short, you need to extract (memcpy) icam 4 bytes from the end of the ecm, append one byte first to the icam_command (0x4cool so it looks like 48xxXXxxXX (total 5 bytes), and send it to the card till after you receive ecm, than you need to read reaply from the card (I think reaply from the card will be excatly 0xe4 bytes len as we seen it in our tread from few ecms), than post it here hope somebody figure out what is need further. I think its maybe an pickup table or maybe an extra pairing instructions, nobody know without getting that reaply from card smile

Hi best regards!
You have a new idea to how know decode ICAM ?

comment:6 by Opti, 18 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.