SLE4442卡无反应

SLE4442 unresponsive card

我有个项目需要用内存卡玩。我需要读写卡。

我的 reader 型号是:Alcor Micro AU9540 (http://www.ebay.com/itm/NEW-HIGH-SPEED-USB-EMV-PS-SC-SMART-CARD-CHIP-READER-AND-WRITER-SUPPORT-ISO-7816-/172165900399?hash=item2815e3286f:g:zJoAAOSwDuJWxOcc)

我用的卡是:SLE4442内存卡(丢了link)

我在 ubuntu 上使用 pcsc-lite 和 pcsc-tools

当我使用'pcsc_scan'命令时,它可以成功读取reader模型,但卡没有反应。像这样的事情:

leo@leo-ThinkPad-S3-S431:~$ pcsc_scan
PC/SC device scanner
V 1.4.23 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.8.11
Using reader plug'n play mechanism
Scanning present readers...
0: Alcor Micro AU9540 00 00

Tue Aug  9 01:57:39 2016
Reader 0: Alcor Micro AU9540 00 00
Card state: Card inserted, Unresponsive card,

但是如果我用的是自己在用的银行卡(我知道不是内存卡),但是这样的话,它得到了一个ATR响应:

Tue Aug  9 01:58:36 2016
Reader 0: Alcor Micro AU9540 00 00
  Card state: Card inserted, 
  ATR: 3B 68 00 00 00 73 C8 40 13 00 90 00

ATR: 3B 68 00 00 00 73 C8 40 13 00 90 00
+ TS = 3B --> Direct Convention
+ T0 = 68, Y(1): 0110, K: 8 (historical bytes)
  TB(1) = 00 --> VPP is not electrically connected
  TC(1) = 00 --> Extra guard time: 0
+ Historical bytes: 00 73 C8 40 13 00 90 00
  Category indicator byte: 00 (compact TLV data object)
    Tag: 7, len: 3 (card capabilities)
      Selection methods: C8
        - DF selection by full DF name
        - DF selection by partial DF name
        - Implicit DF selection
      Data coding byte: 40
        - Behaviour of write functions: write OR
        - Value 'FF' for the first byte of BER-TLV tag fields:     invalid
        - Data unit in quartets: 1
          Command chaining, length fields and logical channels: 13
        - Logical channel number assignment: by the card
        - Maximum number of logical channels: 4
    Mandatory status indicator (3 last bytes)
      LCS (life card cycle): 00 (No information given)
      SW: 9000 (Normal processing.)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B 68 00 00 00 73 C8 40 13 00 90 00
MASTERCARD issued by MLP (Marschollek, Lautenschl?ger and Partner)
G&D 12696-GDM-10/11 DEBIT CARD issued by BANCO DE CREDITO DEL PERU

对比了一下,好像问题出在卡上。

我也猜是不是因为我买的卡不符合reader?在 eBay 上,卡片的详细信息如下: [卡片销售页面][1]

[1]: http://i.stack.imgur.com/O6v1o.png 提供部分卡reader卡支持的型号(部分卡支持所有reader)。也许我的卡不支持我的 reader?

或者我可能需要先在卡上做任何事情然后我才能得到 ATR 响应?

一张卡无法与 reader 兼容,反之亦然。注意SLE4442是一张memory卡,这意味着通信是同步的,使用两线协议而不是异步T=0或T=1。

根据Alcor Micro,reader芯片支持双线,所以你的卡可能有问题。