Hi,

-----Original Message-----
NdK:
>Too bad the cards aren't recognized by default:
>$ opensc-tool -a -n
>Using reader with a card: ACS ACR122U PICC Interface 00 00
>3b:85:80:01:4d:79:45:49:44:78
>Unsupported card

>Is it only matter of unknown ATR and I can safely use force myeid? Or
should I add support for 'em digging in the code >(for this, help from
Aventra would be really welcome -- big task!).

ACR122U reader gives a different ATR than a contact reader for the same dual
interface card but otherwise the reader works just like a contact reader
with PKI cards. If you force usage of the myeid driver, it should work. 

There is an API specification for the reader available at ACS's website, ATR
generation is explained there: 
http://www.acs.com.hk/drivers/eng/API_ACR122U_v2.01.pdf

Maybe we should add this ATR to card-myeid.c. Could someone with access to
the sources help and modify it like this?

static const char *myeid_atrs[] = {
        "3B:F5:18:00:FF:81:31:FE:45:4D:79:45:49:44:65",
        "3B:F5:18:00:00:81:31:FE:45:4D:79:45:49:44:9A",
        "3B:85:80:01:4D:79:45:49:44:78",
        "3B:89:80:01:09:38:33:B1:4D:79:45:49:44:4C",  
        NULL
};

The last ATR is from another version of ACR122U. I think it is possible to
affect the way the ATR is generated by altering the "PICC Operating
Parameter" of the reader. BTW, bytes 4D:79:45:49:44 which are present in all
of the ATR's are the text "MyEID". 

>Is it possible to make that reader handle multiple cards "in parallel"
>(both placed on the reader)?

I don't think it is possible and haven't tried it, but ACS lists "Built-in
anti-collision feature (only 1 tag is accessed at any time)." as a feature
of the reader. It probably means that the reader selects one card and
ignores others in its range. Even if that would be possible by hardware, I
don't know how you could access multiple cards in the same reader through
PCSC. 

Regards,

Hannu

--

Hannu Honkanen
AVENTRA

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to