LudovicRousseau / pcsc-tools

Some tools to be used with smart cards and PC/SC
https://pcsc-tools.apdu.fr/
GNU General Public License v2.0
190 stars 62 forks source link

Card not being recognized #24

Closed malabrito closed 5 years ago

malabrito commented 5 years ago

I just built a PC with a DVB-S/S2 tuner and USB card reader. The aim is to have KODI + TVHEADEND + OSCAM + SKY Brasil legit card.

The issue is that OSCAM is not recognizing the system of the card.

OSCAM's log and afterwards PCSC (some digits were changed for "x").

2019/07/14 15:18:32 00000000 s   (reader) Reader-2 [pcsc] creating thread for device 0
2019/07/14 15:18:32 107F409F r   (reader) Reader-2 [pcsc] Reader initialized (device=0, detect=cd, mhz=357, cardmhz=357)
2019/07/14 15:19:31 107F409F r   (reader) Reader-2 [pcsc] PCSC was opened with handle: 1x4x3x0x1x
2019/07/14 15:19:31 107F409F r   (reader) Reader-2 [pcsc] card detected
2019/07/14 15:19:32 107F409F r   (reader) Reader-2 [pcsc] ATR: 3F 7F 13 25 02 xx xx xx xx xx xx xx xx 80 00 00 00 xx xx xx 
2019/07/14 15:19:34 107F409F r   (reader) Reader-2 [pcsc] card system not supported
2019/07/14 15:19:34 107F409F r   (reader) Reader-2 [pcsc] Normal mode failed, reverting to Deprecated Mode
2019/07/14 15:19:34 107F409F r   (reader) Reader-2 [pcsc] ATR: 3F 7F 13 25 02 xx xx xx xx xx xx xx xx 80 00 00 00 xx xx xx 
2019/07/14 15:19:36 107F409F r   (reader) Reader-2 [pcsc] card system not supported
2019/07/14 15:19:36 107F409F r   (reader) Reader-2 [pcsc] THIS WAS A FAILED START ATTEMPT No 1 out of max allotted of 1
2019/07/14 15:19:36 107F409F r   (reader) Reader-2 [pcsc] card initializing error

$ pcsc_scan

Using reader plug'n play mechanism
Scanning present readers...
Waiting for the first reader...found one
Scanning present readers...
0: CASTLES EZCCID Smart Card Reader 00 00

Sun Jul 14 15:05:46 2019
 Reader 0: CASTLES EZCCID Smart Card Reader 00 00
  Event number: 0
  Card state: Card inserted,
  ATR: 3F 7F 13 25 02 xx xx xx xx xx xx xx xx 80 00 00 00 xx xx xx 

ATR: 3F 7F 13 25 02 xx xx xx xx xx xx xx xx 80 00 00 00 xx xx xx 
+ TS = 3F --> Inverse Convention
+ T0 = 7F, Y(1): 0111, K: 15 (historical bytes)
  TA(1) = 13 --> Fi=372, Di=4, 93 cycles/ETU
    43010 bits/s at 4 MHz, fMax for Fi = 5 MHz => 53763 bits/s
  TB(1) = 25 --> Programming Param P: 5 Volts, I: 1 milliamperes
  TC(1) = 02 --> Extra guard time: 2
+ Historical bytes: 41 xx xx xx xx xx xx xx 80 00 00 00 xx xx xx
  Category indicator byte: 41 (proprietary format)

Possibly identified card (using /home/xxxx/.cache/smartcard_list.txt):
    NONE

Your card is not present in the database.
Please submit your unknown card at:
http://smartcard-atr.appspot.com/parse?ATR=xxxxxxxxxxxxx....

As far I could understand, my card (SKY Brasil - Videoguard) is not being recognized either by OSCAM or PCSC... Is this understanding correct? Anybody could help overcoming this issue?

Thank you very much !

LudovicRousseau commented 5 years ago

This is not a pcsc tools issue. If you want to submit your ATR then just do it.