Opened 11 years ago
Closed 11 years ago
#2951 closed defect (fixed)
Failure to detect Viaccess cards external smartreader/mouse
Reported by: | irishmist | Owned by: | |
---|---|---|---|
Priority: | critical | Component: | Reader |
Severity: | high | Keywords: | |
Cc: | Sensitive: | no |
Description
Revision
7902 7903 7904
Issue Description
error detecting Viaccess cards. Total failure detecting or reading viaccess. Last good working R 7895
Seca & NDS are not affected
When the issue occurs
Initialization
How the issue is reproducable
Test any Viaccess card with an external smargo/mouse
Attachments (1)
Change History (20)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Remove
crdr->need_inverse = 1;
from csctapi/ifd_phoenix.c recompile and report back if something changes.
comment:3 by , 11 years ago
can seem to locate ?
crdr->need_inverse = 1;
crdr->desc = "mouse";
crdr->typ = R_MOUSE;
crdr->flush = 1;
crdr->need_inverse = 1;
crdr->read_written = 1;
crdr->need_inverse = 1;
crdr->reader_init = mouse_init;
crdr->get_status = Phoenix_GetStatus;
crdr->activate = Phoenix_Reset;
crdr->transmit = Phoenix_Transmit;
crdr->receive = Phoenix_Receive;
crdr->close = Phoenix_Close;
crdr->set_parity = IO_Serial_SetParity;
crdr->set_baudrate = Phoenix_SetBaudrate;
comment:4 by , 11 years ago
removed crdr->need_inverse = 1;
recompiled with exact same result for viaccess reader
crdr->need_inverse = 1;
2012/11/13 22:27:41 8526638 r red [mouse] Error activating card.
2012/11/13 22:27:41 8548280 r jsc [mouse] Error activating card.
2012/11/13 22:27:45 8526638 r red [mouse] Error activating card.
2012/11/13 22:27:45 8548280 r jsc [mouse] Error activating card.
2012/11/13 22:27:46 8526638 r red [mouse] card initializing error
2012/11/13 22:27:46 8548280 r jsc [mouse] card initializing error
2012/11/13 22:27:46 0 s init for all local cards done
comment:5 by , 11 years ago
gf something broken @ me too
7900 runs
7904 not
2012/11/13 23:34:01 9E5E1D0 r skyde_v13 [mouse] ATR: 00 57 5B 3F F7 FE 7D F2 1F 69 00
2012/11/13 23:34:01 9E5E1D0 r skyde_v13 [mouse] ERROR: Could not read reader->convention
2012/11/13 23:34:01 9E5E1D0 r skyde_v13 [mouse] Error activating card.
2012/11/13 23:34:01 9E5E1D0 r skyde_v13 [mouse] Doing fast reset
2012/11/13 23:34:02 9E5E1D0 r skyde_v13 [mouse] ATR: 3F FF 11 25 03 10 80 41 B0 07 69 FF 4A 50 70 00 00 50 31 01 00 11
2012/11/13 23:34:02 9E5E1D0 r skyde_v13 [mouse] Init card protocol T0, FI=1, F=372, D=1, N=3
2012/11/13 23:34:02 9E5E1D0 r skyde_v13 [mouse] Setting baudrate to 9600 bps
2012/11/13 23:34:02 9E5E1D0 r skyde_v13 [mouse] Calculated work ETU is 62.00 us
2012/11/13 23:34:02 9E5E1D0 r skyde_v13 [mouse] ATR Fsmax is: 5 Mhz, clocking card to wanted user cardspeed of 6.00 Mhz (specified in reader->mhz)
2012/11/13 23:34:04 9E5E1D0 r skyde_v13 [mouse] Card type: P1TV
2012/11/13 23:34:04 9E5E1D0 r skyde_v13 [mouse] Rom version: 10A7
2012/11/13 23:34:04 9E5E1D0 r skyde_v13 [mouse] classD0 ins7E11: Scheduling card reset for TA1 change from 11 to 15
2012/11/13 23:34:04 9E5E1D0 r skyde_v13 [mouse] found card system videoguard2
2012/11/13 23:34:04 9E5E1D0 r skyde_v13 [videoguard2] card detected
2012/11/13 23:34:04 9E5E1D0 r skyde_v13 [videoguard2] type: VideoGuard Sky Germany (09C4)
2012/11/13 23:34:04 9E5E1D0 r skyde_v13 [mouse] Doing fast reset
by , 11 years ago
So the conversion to the new API is not problem, can try this patch, it reverts r7202 and 7203.
comment:9 by , 11 years ago
That must be the solution for viaccess issues but smartreader of mado is broken without it. (see http://www.streamboard.tv/oscam/ticket/2953)
So we must investigate for a solution to fix them both.
comment:10 by , 11 years ago
I know that the fixes are real, I was trying to just confirm the offending code so a solution for both can be found ;)
comment:11 by , 11 years ago
just compiled & tested R 7913 still same error. Reverting to last good svn 7895
update this ticket to test wspecific instructions for re compiles to tryfix
Thanks for all the effort
comment:12 by , 11 years ago
log -d 255 R 7914
2012/11/14 21:30:44 956F738 r jsc [mouse] IO: Read timeout 24328/1000336 us (max/min 203670/3 us)
2012/11/14 21:30:44 956F738 r jsc [mouse] IO: Receiving:
2012/11/14 21:30:44 956F738 F6
2012/11/14 21:30:44 956F738 r ICC_Async_InvertBuffer: size=1 buf[0]=f6
2012/11/14 21:30:44 956F738 r jsc [mouse] IFD: Received:
2012/11/14 21:30:44 956F738 90
2012/11/14 21:30:44 956F738 r jsc [mouse] IFD: Receive size 1 bytes, delay 0 us, timeout=1000336 us
2012/11/14 21:30:44 956F738 r jsc [mouse] IO: Read timeout 1000336 us, read delay 0 us, to read 1 char(s), chunksize 1 char(s)
2012/11/14 21:30:44 956F738 r jsc [mouse] IO: Read timeout 202/1000336 us (max/min 203670/3 us)
2012/11/14 21:30:44 956F738 r jsc [mouse] IO: Receiving:
2012/11/14 21:30:44 956F738 FF
2012/11/14 21:30:44 956F738 r ICC_Async_InvertBuffer: size=1 buf[0]=ff
2012/11/14 21:30:44 956F738 r jsc [mouse] IFD: Received:
2012/11/14 21:30:44 956F738 00
2012/11/14 21:30:44 956F738 r jsc [mouse] Answer from cardreader:
2012/11/14 21:30:44 956F738 90 00
2012/11/14 21:30:44 956F738 r jsc [mouse] write to cardreader
2012/11/14 21:30:44 956F738 87 02 00 00 03 00 00 11
2012/11/14 21:30:44 956F738 r jsc [mouse] IFD: Transmit size 5 bytes, delay 0 us, timeout=104 us
2012/11/14 21:30:44 956F738 r jsc [mouse] IFD: Transmit:
2012/11/14 21:30:44 956F738 87 02 00 00 03
2012/11/14 21:30:44 956F738 r ICC_Async_InvertBuffer: size=5 buf[0]=87
2012/11/14 21:30:44 956F738 r jsc [mouse] IO: Write timeout 104 us, write delay 0 us, to send 5 char(s), chunksize 5 char(s)
2012/11/14 21:30:44 956F738 r jsc [mouse] IO: Sending:
2012/11/14 21:30:44 956F738 1E BF FF FF 3F
2012/11/14 21:30:44 956F738 r jsc [mouse] IO: Write timeout 4/104 us (max/min 5/4 us)
2012/11/14 21:30:44 956F738 r ICC_Async_InvertBuffer: size=5 buf[0]=1e
2012/11/14 21:30:44 956F738 r jsc [mouse] IFD: Transmit succesful
2012/11/14 21:30:44 956F738 r jsc [mouse] IFD: Receive size 1 bytes, delay 0 us, timeout=1000336 us
2012/11/14 21:30:44 956F738 r jsc [mouse] IO: Read timeout 1000336 us, read delay 0 us, to read 1 char(s), chunksize 1 char(s)
2012/11/14 21:30:44 956F738 r jsc [mouse] IO: Reading 5 echoed transmitted chars...
2012/11/14 21:30:44 956F738 r jsc [mouse] IO: Read timeout 1000336 us, read delay 0 us, to read 5 char(s), chunksize 1 char(s)
2012/11/14 21:30:44 956F738 r jsc [mouse] IO: Read timeout 237/1000336 us (max/min 203670/3 us)
2012/11/14 21:30:44 956F738 r jsc [mouse] IO: Read timeout 4/1000336 us (max/min 203670/3 us)
2012/11/14 21:30:44 0 --- Skipped 3 duplicated log lines ---
2012/11/14 21:30:44 956F738 r jsc [mouse] IO: Receiving:
2012/11/14 21:30:44 956F738 1E BF FF FF 3F
comment:13 by , 11 years ago
my v13 runs with 7902 and with 7903 comes the problems i posted
7914 and the problem still exist
comment:14 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
R 7924 thanks gf for all the effort phoenix reader detecting all viaccess, seca & NDS without any problems. Will test Nagra later on today
comment:15 by , 11 years ago
I've done nothing, but thanks for the thanks ;) /theparasol disabled the code that broke viaccess thus breaking other cases/. The correct fix is still not in, its just that it works by default in your case.
comment:16 by , 11 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:17 by , 11 years ago
Joker yourself, all of the 7890 code is commented out. Did this on purpose.
If your viaccess card still isnt running like irishmist now is you have a total another problem with the same result.
Awaiting the debuglog of your issue!
comment:18 by , 11 years ago
I still have the same issue running "OSCAM 1.20-unstable_svn build #7940" on Windows. All above r7867 that I have tested still have the problem. For, now I have to revert back to r7867.
2012/11/25 11:18:29 E0ACD0 r phoenix [mouse] Reader initialized (device=/dev/ttyS2, detect=cd, mhz=357, cardmhz=357) 2012/11/25 11:18:30 E0ACD0 r phoenix [mouse] card detected 2012/11/25 11:18:31 E0ACD0 r phoenix [mouse] ATR: 3F 77 18 00 00 C1 14 00 A2 68 90 00 2012/11/25 11:18:33 E0ACD0 r phoenix [mouse] Warning: D=0 is invalid, forcing D=1 2012/11/25 11:18:33 E0ACD0 r phoenix [mouse] Init card protocol T0, FI=1, F=372, D=1, N=0 2012/11/25 11:18:33 E0ACD0 r phoenix [mouse] Setting baudrate to 9600 bps 2012/11/25 11:18:33 E0ACD0 r phoenix [mouse] Calculated work ETU is 104.20 us 2012/11/25 11:18:33 E0ACD0 r phoenix [mouse] ATR Fsmax is: 5 Mhz, clocking card to wanted user cardspeed of 3.57 Mhz (specified in reader->mhz) 2012/11/25 11:18:36 E0ACD0 r phoenix [mouse] card system not supported 2012/11/25 11:18:36 E0ACD0 r phoenix [mouse] Normal mode failed, reverting to Deprecated Mode 2012/11/25 11:18:37 E0ACD0 r phoenix [mouse] ATR: 3F 77 18 00 00 C1 14 00 A2 68 90 00 2012/11/25 11:18:37 E0ACD0 r phoenix [mouse] Warning: D=0 is invalid, forcing D=1 2012/11/25 11:18:37 E0ACD0 r phoenix [mouse] Init card protocol T0, FI=1, F=372, D=1, N=0 2012/11/25 11:18:37 E0ACD0 r phoenix [mouse] Calculated work ETU is 104.20 us 2012/11/25 11:18:37 E0ACD0 r phoenix [mouse] ATR Fsmax is: 5 Mhz, clocking card to wanted user cardspeed of 3.57 Mhz (specified in reader->mhz) 2012/11/25 11:18:40 E0ACD0 r phoenix [mouse] card system not supported 2012/11/25 11:18:40 E0ACD0 r phoenix [mouse] card initializing error
comment:19 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
no update for 6 weeks => closed!
2012/11/13 21:35:09 8D22638 r red [mouse] Error activating card.
2012/11/13 21:35:09 8D442A0 r jsc [mouse] Error activating card.
2012/11/13 21:35:09 8D20CA8 r cyfra [seca] PBM for provider 2: xxxxxxxxxxxxxxxxx
2012/11/13 21:35:09 8D20CA8 r cyfra [seca] provider 3: 0065, valid: 0, name: CYFRA+ 2, expiry date:xxxxxxxxxxx
2012/11/13 21:35:09 8D20CA8 r cyfra [seca] PBM for provider 3: xxxxxxxxxxxxxxx
2012/11/13 21:35:13 8D22638 r red [mouse] Error activating card.
2012/11/13 21:35:13 8D442A0 r jsc [mouse] Error activating card.
2012/11/13 21:35:16 8D22638 r red [mouse] Error activating card.
2012/11/13 21:35:16 8D442A0 r jsc [mouse] Error activating card.
2012/11/13 21:35:17 8D22638 r red [mouse] card initializing error
2012/11/13 21:35:17 8D442A0 r jsc [mouse] card initializing error
2012/11/13 21:35:17 0 s init for all local cards done
2012/11/13 21:35:17 0 s anti cascading disabled