Sergey Udaltsov wrote:
Hello ppl
I installed drivers 2.0.3 for O2Micro smartcard reader (Acer
Travelmate 800), they loaded ok. But trying to actually work with it
using pcsc tools I get only errors. For example:
# pkcs15-init -C
iso7816.c:98:iso7816_check_sw: Wrong parameter(s) P1-P2
iso7816.c:440:iso7816_select_file: returning with: Incorrect parameters in APDU
card.c:713:sc_select_file: returning with: Incorrect parameters in APDU
pkcs15-lib.c:298:sc_pkcs15init_bind: Unsupported card driver default
What could this mean? May be it is very lame question but since I do
not understand the underlaying technology very much, I'd appreciate
any information/links/...
If you use pcscd, you can try
# pcsc_scan
It will show you informations about your card.
A problem you described happend to me even an used card was supported.
The problem was that the card was initialized by some Windows
application and I cannot erase this card to create pkcs15 structure.
I think a card must not be personalized by other application. It could
be a problem.
I have notebook Acer TravelMate 632 with O2Micro. It works pretty well.
I have got two cards described TravelMate. If I insert it into a reader
pcsc_scan shows:
Wed Feb 22 15:21:51 2006
Reader 0 (Gemplus GemPC Twin 00 00)
Card state: Card inserted,
ATR: 3B FF 11 00 00 81 71 40 42 00 00 21 01 31 42 52 00 05 63
40 4B 01 06 90 00 E7
ATR: 3B FF 11 00 00 81 71 40 42 00 00 21 01 31 42 52 00 05 63 40 4B 01
06 90 00 E7
+ TS = 3B --> Direct Convention
+ T0 = FF, Y(1): 1111, K: 15 (historical bytes)
TA(1) = 11 --> Fi=372, Di=1, 372.000 cycles/ETU
TB(1) = 00 --> Programming Param P: 0 Volts, I: 0 milli-Amp�es
TC(1) = 00 --> Extra guard time: 0
TD(1) = 81 --> Y(i+1) = 1000, Protocol T = 1
-----
TD(2) = 71 --> Y(i+1) = 0111, Protocol T = 1
-----
TA(3) = 40 --> IFSC: 64
TB(3) = 42 --> Block Waiting Integer: 4 - Character Waiting Integer: 2
TC(3) = 00 --> Error detection code: LRC
+ Historical bytes: 00 21 01 31 42 52 00 05 63 40 4B 01 06 90 00 E7
Possibly identified card (using /usr/lib/pcsc/smartcard_list.txt):
3B FF 11 00 00 81 71 40 42 00 00 21 01 31 42 52 00 05 63 40 4B 01 06 90
00 E7
3B FF 11 00 00 81 71 40 42 00 00 21 01 31 42 52 00 0[0,5] 63 .. .. .. ..
90 00.*
Smart Card "The Smart Way to Login"
Used on Acer TravelMate to secure boot
I think it cannot work with this kind of cards.
Best regards,
Jan Stavel
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle