6D00 is == SW_INS_NOT_SUPPORTED jipi
Markus Rachbauer wrote: > hi, > > i'm playing around with my towitoko card reader and a processorcard from > towitoko called p64, which uses a siemens/infineon sle 44c80 chip. > regarding to the (rare) internet documentation this chip is running a > siemens card os (but the atr isn't the same as mentioned in Ludovic > Rousseau card list) and should be full sab8051 compatible. > although the software (pcscd) seems to run correctly, i can't run > pkcs15-init from the opensc software package to initialize the card for > using it (see log and debug output(s) below). > does anybody knows the card? is already using it successfully? > my primary target is to use this card for a smart linux logon, but i'd > like to learn more about this topic generally, so any help and > information are very welcome. > > cheers > > > markus > > > > ------------------------------------------------------------------------ > > when i insert the card into the reader, the pcscd writes the following > lines to the log: > > Sep 12 18:47:30 ariadne pcscd: readerfactory.c:1318 RFInitializeReader: > Attempting startup of Towitoko Chipdrive Micro 0 0. > Sep 12 18:47:30 ariadne pcscd: readerfactory.c:1060 RFBindFunctions: > Loading IFD Handler 2.0 > Sep 12 18:47:30 ariadne pcscd: pcscdaemon.c:413 main: pcsc-lite daemon > ready. > Sep 12 18:47:30 ariadne pcscd: hotplug_linux.c:166 No bundle files in > pcsc drivers directory > Sep 12 18:47:30 ariadne pcscd: hotplug_linux.c:167 Disabling USB support > for pcscd > Sep 12 18:47:59 ariadne pcscd: Conv 01, Y1 0B, K 07 > Sep 12 18:47:59 ariadne pcscd: T's 11 00 FFFFFFFF 81 > Sep 12 18:47:59 ariadne pcscd: P 05 > Sep 12 18:47:59 ariadne pcscd: T=1 Protocol Found > Sep 12 18:47:59 ariadne pcscd: T's FFFFFFFF FFFFFFFF FFFFFFFF 31 > Sep 12 18:47:59 ariadne pcscd: P 06 > Sep 12 18:47:59 ariadne pcscd: T=1 Protocol Found > Sep 12 18:47:59 ariadne pcscd: T's 90 43 FFFFFFFF FFFFFFFF > Sep 12 18:47:59 ariadne pcscd: P 08 > Sep 12 18:47:59 ariadne pcscd: Conv 01, Y1 0B, K 07 > Sep 12 18:47:59 ariadne pcscd: T's 11 00 FFFFFFFF 81 > Sep 12 18:47:59 ariadne pcscd: P 05 > Sep 12 18:47:59 ariadne pcscd: T=1 Protocol Found > Sep 12 18:47:59 ariadne pcscd: T's FFFFFFFF FFFFFFFF FFFFFFFF 31 > Sep 12 18:47:59 ariadne pcscd: P 06 > Sep 12 18:47:59 ariadne pcscd: T=1 Protocol Found > Sep 12 18:47:59 ariadne pcscd: T's 90 43 FFFFFFFF FFFFFFFF > Sep 12 18:47:59 ariadne pcscd: P 08 > Sep 12 18:47:59 ariadne pcscd: eventhandler.c:468 EHSpawnEventHandler: > Card inserted into Towitoko Chipdrive Micro 0 0 > Sep 12 18:47:59 ariadne pcscd: EHSpawnEventHandler: Card ATR: 3B B7 11 > 00 81 31 90 43 A5 17 0C D4 0F 20 1B 9B > ---------------------------------------------------------------------- > > > the command "pkcs15-init --create-pkcs15 --profile pkcs15" has the > following output in the daemons log file: > > Sep 12 18:49:23 ariadne pcscd: winscard_msg.c:263 SHMProcessEvents: > Common channel packet arrival > Sep 12 18:49:23 ariadne pcscd: winscard.c:77 SCardEstablishContext: > Establishing Context: 17039339 > Sep 12 18:49:24 ariadne pcscd: winscard.c:154 SCardConnect: Attempting > Connect to Towitoko Chipdrive Micro 0 0 > Sep 12 18:49:24 ariadne pcscd: Conv 01, Y1 0B, K 07 > Sep 12 18:49:24 ariadne pcscd: T's 11 00 FFFFFFFF 81 > Sep 12 18:49:24 ariadne pcscd: P 05 > Sep 12 18:49:24 ariadne pcscd: T=1 Protocol Found > Sep 12 18:49:24 ariadne pcscd: T's FFFFFFFF FFFFFFFF FFFFFFFF 31 > Sep 12 18:49:24 ariadne pcscd: P 06 > Sep 12 18:49:24 ariadne pcscd: T=1 Protocol Found > Sep 12 18:49:24 ariadne pcscd: T's 90 43 FFFFFFFF FFFFFFFF > Sep 12 18:49:24 ariadne pcscd: P 08 > Sep 12 18:49:24 ariadne pcscd: Conv 01, Y1 0B, K 07 > Sep 12 18:49:24 ariadne pcscd: T's 11 00 FFFFFFFF 81 > Sep 12 18:49:24 ariadne pcscd: P 05 > Sep 12 18:49:24 ariadne pcscd: T=1 Protocol Found > Sep 12 18:49:24 ariadne pcscd: T's FFFFFFFF FFFFFFFF FFFFFFFF 31 > Sep 12 18:49:24 ariadne pcscd: P 06 > Sep 12 18:49:24 ariadne pcscd: T=1 Protocol Found > Sep 12 18:49:24 ariadne pcscd: T's 90 43 FFFFFFFF FFFFFFFF > Sep 12 18:49:24 ariadne pcscd: P 08 > Sep 12 18:49:24 ariadne pcscd: winscard.c:252 SCardConnect: Active > Protocol: 2 > Sep 12 18:49:24 ariadne pcscd: winscard.c:259 SCardConnect: hCard > Identity: 1820e > Sep 12 18:49:24 ariadne pcscd: winscard.c:833 SCardBeginTransaction: > Status: 0. > Sep 12 18:49:24 ariadne pcscd: winscard.c:1267 SCardTransmit: Send > Protocol: 1 > Sep 12 18:49:24 ariadne pcscd: winscard.c:1000 SCardEndTransaction: > Status: 0. > Sep 12 18:49:24 ariadne pcscd: winscard.c:833 SCardBeginTransaction: > Status: 0. > Sep 12 18:49:24 ariadne pcscd: winscard.c:650 SCardDisconnect: Active > Contexts: 1 > Sep 12 18:49:25 ariadne pcscd: Conv 01, Y1 0B, K 07 > Sep 12 18:49:25 ariadne pcscd: T's 11 00 FFFFFFFF 81 > Sep 12 18:49:25 ariadne pcscd: P 05 > Sep 12 18:49:25 ariadne pcscd: T=1 Protocol Found > Sep 12 18:49:25 ariadne pcscd: T's FFFFFFFF FFFFFFFF FFFFFFFF 31 > Sep 12 18:49:25 ariadne pcscd: P 06 > Sep 12 18:49:25 ariadne pcscd: T=1 Protocol Found > Sep 12 18:49:25 ariadne pcscd: T's 90 43 FFFFFFFF FFFFFFFF > Sep 12 18:49:25 ariadne pcscd: P 08 > Sep 12 18:49:25 ariadne pcscd: winscard.c:707 SCardDisconnect: Reset > complete. > Sep 12 18:49:25 ariadne pcscd: winscard.c:88 SCardReleaseContext: > Releasing Context: 17039339 > Sep 12 18:49:25 ariadne pcscd: pcscdaemon.c:141 SVCServiceRun: Client 10 > has disappeared. > ------------------------------------------------------------------------- > > > and the debug option outputs the following lines: > > Connecting to card in reader Towitoko Chipdrive Micro 0 0... > Using card driver: Default driver for unknown cards > error: Unsupported card driver default > entity@ariadne:~> pkcs15-init -ddd --create-pkcs15 --profile pkcs15 > sc.c:81:sc_detect_card_presence: called > sc.c:86:sc_detect_card_presence: returning with: 1 > Connecting to card in reader Towitoko Chipdrive Micro 0 0... > card.c:328:sc_connect_card: called > card.c:368:sc_connect_card: trying driver: Setec smartcards > card.c:368:sc_connect_card: trying driver: MioCOS 1.1 cards > card.c:368:sc_connect_card: trying driver: Schlumberger > Multiflex/Cryptoflex > card.c:368:sc_connect_card: trying driver: TCOS 2.0 cards > card.c:368:sc_connect_card: trying driver: EMV compatible cards > card.c:368:sc_connect_card: trying driver: Gemplus GPK driver > card.c:368:sc_connect_card: trying driver: Aladdin eToken PRO > card.c:368:sc_connect_card: trying driver: Default driver for unknown > cards > card.c:374:sc_connect_card: matched: Default driver for unknown cards > card-default.c:50:autodetect_class: autodetecting CLA byte > card-default.c:53:autodetect_class: trying with 0x00 > card.c:431:sc_lock: called > card.c:442:sc_lock: returning with: 0 > card.c:450:sc_unlock: called > card.c:461:sc_unlock: returning with: 0 > card-default.c:72:autodetect_class: got strange SWs: 0x6D 0x00 > card-default.c:79:autodetect_class: detected CLA byte as 0x00 > card-default.c:83:autodetect_class: SELECT FILE returned 0 bytes > card.c:396:sc_connect_card: returning with: 0 > Using card driver: Default driver for unknown cards > card.c:431:sc_lock: called > card.c:442:sc_lock: returning with: 0 > error: Unsupported card driver default > > > > > > _______________________________________________ > Muscle mailing list > [EMAIL PROTECTED] > http://lists.musclecard.com/mailman/listinfo/muscle > > > _______________________________________________ Muscle mailing list [EMAIL PROTECTED] http://lists.musclecard.com/mailman/listinfo/muscle
