reading memory card: failed to reset card

View: New views
2 Messages — Rating Filter:   Alert me  

reading memory card: failed to reset card

by Joachim Krüger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.
I am using a SCM Microsystems (Towitoko) SCR335 with OpenCT 0.6.18.
The aim is, to read and write simple memory cards.
If I read my "Krankenkassenkarte", I get this:

root@vm_ubuntu:/etc# openct-control -d status
No.   Name                         Info
===================================================
  0   CCID Compatible              slot0: card present
root@vm_ubuntu:/etc# openct-tool  read
Detected CCID Compatible
Card present, status changed
failed to reset card
root@vm_ubuntu:/etc#

I tried two other types of memory cards, all the same result.

If I read my banking card, I get this:

root@vm_ubuntu:/etc/init.d# openct-tool atr
Detected CCID Compatible
Card present, status changed
ATR: xb fx 18 00 ff 81 31 fe x5 6x  x3 11 x8 66 01 x6 00 11 4x 40 05 x7 0x 20
1x
I added some x to the number, but this seems to work.

What is wrong?

Best regards
Joachim
_______________________________________________
opensc-user mailing list
opensc-user@...
http://www.opensc-project.org/mailman/listinfo/opensc-user

Re: reading memory card: failed to reset card

by Ludovic Rousseau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/11/7 Joachim Krüger <mail2k@...>:

> Hi.
> I am using a SCM Microsystems (Towitoko) SCR335 with OpenCT 0.6.18.
> The aim is, to read and write simple memory cards.
> If I read my "Krankenkassenkarte", I get this:
>
> root@vm_ubuntu:/etc# openct-control -d status
> No.   Name                         Info
> ===================================================
>  0   CCID Compatible              slot0: card present
> root@vm_ubuntu:/etc# openct-tool  read
> Detected CCID Compatible
> Card present, status changed
> failed to reset card
> root@vm_ubuntu:/etc#
>
> I tried two other types of memory cards, all the same result.

synchronous (memory) cards are not supported by the CCID specification.
So unless OpenCT and its CCID driver has a special code to manage them
I am not surprised by your results.

> If I read my banking card, I get this:
>
> root@vm_ubuntu:/etc/init.d# openct-tool atr
> Detected CCID Compatible
> Card present, status changed
> ATR: xb fx 18 00 ff 81 31 fe x5 6x  x3 11 x8 66 01 x6 00 11 4x 40 05 x7 0x 20
> 1x
> I added some x to the number, but this seems to work.

The ATR is not secret. You do not have to hide it. You can use [1] to
parse the ATR.

> What is wrong?

Are you sure your SCR335 can read synchronous cards? Maybe you need a
special driver (from SCM) for that.

Bye

[1] http://smartcard-atr.appspot.com/

--
 Dr. Ludovic Rousseau
_______________________________________________
opensc-user mailing list
opensc-user@...
http://www.opensc-project.org/mailman/listinfo/opensc-user