OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: [Muscle] Problem with old MuscleCard

From: Karsten Ohme (widerstandt-online.de)
Date: Wed Aug 27 2008 - 20:46:05 CDT


Matthias Barmeier schrieb:
> Hi,
>
> I found an old MuscleCard between my I2c cards. I used the card in 2005 to
> make some experiments with the muscle applet. I now want to check the
> progress and use some of the exciting new features.

Have you compiled muscletool on your own?
There is a version 1 and version 2 switch. Use version 1.
You must also append -a to pcscd, ptherwise it is useless for an APDU trace.

Regards,
Karsten

>
> But this happens when I try to use the card:
>
> rmeiercopernicus:~$ muscleTool
> MuscleCard shell - type "help" for help.
> muscleTool > tokens
> 1. MuscleCard Applet
>
> ListTokens Success.
> muscleTool > connect 1
> ERR: EstablishConnection Failed !
> Is your card already formated?
> muscleTool > format 1
> ERR: EstablishConnection Failed ! (0x9C52 Token is unsupported)
> muscleTool >
>
> Is my muscle applet to old ?
>
> When looking on pcscd -f -d I get:
> 00000000 pcscdaemon.c:280:main() pcscd set to foreground with debug send
> to stderr
> 00000117 debuglog.c:239:DebugLogSetLevel() debug level=debug
> 00000573 readerfactory.c:1082:RFInitializeReader() Attempting startup of
> Towitoko Chipdrive Reader 00 00 using /usr/lib/libtowitoko.so.2.0.0
> 00000192 readerfactory.c:915:RFBindFunctions() Loading IFD Handler 2.0
> 00365151 readerfactory.c:267:RFAddReader() Using the pcscd polling thread
> 00680099 Card ATR: 3B 75 94 00 00 62 02 02 03 01
> 00680254 pcscdaemon.c:498:main() pcsc-lite 1.4.102 daemon ready.
> 00222385 hotplug_libhal.c:305:get_driver() Looking a driver for VID:
> 0x10DF, PID: 0x0500
> 00001083 hotplug_libhal.c:305:get_driver() Looking a driver for VID:
> 0x1D6B, PID: 0x0002
> 00001937 hotplug_libhal.c:305:get_driver() Looking a driver for VID:
> 0x1D6B, PID: 0x0001
> 00001292 hotplug_libhal.c:305:get_driver() Looking a driver for VID:
> 0x1D6B, PID: 0x0001
> 00001291 hotplug_libhal.c:305:get_driver() Looking a driver for VID:
> 0x058F, PID: 0x9254
> 00001281 hotplug_libhal.c:305:get_driver() Looking a driver for VID:
> 0x03F0, PID: 0x2911
> 00000804 hotplug_libhal.c:305:get_driver() Looking a driver for VID:
> 0x03F0, PID: 0x2911
> 00000790 hotplug_libhal.c:305:get_driver() Looking a driver for VID:
> 0x03F0, PID: 0x2911
> 00000834 hotplug_libhal.c:305:get_driver() Looking a driver for VID:
> 0x03F0, PID: 0x2911
> 00003492 hotplug_libhal.c:305:get_driver() Looking a driver for VID:
> 0x4851, PID: 0x1103
> 00001126 hotplug_libhal.c:305:get_driver() Looking a driver for VID:
> 0x4851, PID: 0x1103
> 00001056 hotplug_libhal.c:305:get_driver() Looking a driver for VID:
> 0x046D, PID: 0x08DA
> 00000793 hotplug_libhal.c:305:get_driver() Looking a driver for VID:
> 0x046D, PID: 0x08DA
> 00000790 hotplug_libhal.c:305:get_driver() Looking a driver for VID:
> 0x046D, PID: 0x08DA
> 00001975 hotplug_libhal.c:305:get_driver() Looking a driver for VID:
> 0x0458, PID: 0x0048
> 00000817 hotplug_libhal.c:305:get_driver() Looking a driver for VID:
> 0x0458, PID: 0x0048
> 00001042 hotplug_libhal.c:305:get_driver() Looking a driver for VID:
> 0x1D6B, PID: 0x0001
> 08630077 winscard_msg_srv.c:217:SHMProcessEventsServer() Common channel
> packet arrival
> 00000043 winscard_msg_srv.c:226:SHMProcessEventsServer()
> SHMProcessCommonChannelRequest detects: 7
> 00000013 pcscdaemon.c:160:SVCServiceRunLoop() A new context thread
> creation is requested: 7
> 00000111 winscard_svc.c:132:ContextThread() Thread is started: 7
> 00000237 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly
> processed client: 7
> 00000016 winscard_svc.c:188:ContextThread() Client is protocol version 3:0
> 00000136 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly
> processed client: 7
> 00000043 winscard.c:239:SCardEstablishContext() Establishing Context:
> 16984316
> 03327240 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly
> processed client: 7
> 00000024 winscard.c:296:SCardConnect() Attempting Connect to Towitoko
> Chipdrive Reader 00 00 using protocol: 3
> 00000018 prothandler.c:128:PHSetProtocol() Attempting PTS to T=0
> 00675024 winscard.c:428:SCardConnect() Active Protocol: T=0
> 00000027 winscard.c:438:SCardConnect() hCard Identity: 13c7c
> 00005389 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly
> processed client: 7
> 00000859 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly
> processed client: 7
> 00000018 winscard.c:1603:SCardTransmit() Send Protocol: T=0
> 00044622 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly
> processed client: 7
> 00000028 winscard.c:1603:SCardTransmit() Send Protocol: T=0
> 00061295 winscard_msg_srv.c:287:SHMProcessEventsContext() correctly
> processed client: 7
> 00000121 winscard.c:845:SCardDisconnect() Active Contexts: 1
>
> Does anybody know what goes wrong and how to fix it ?
> Is the card broken ?
>
> Ciao
> Matthias
>
>
>
>
>
> _______________________________________________
> Muscle mailing list
> Musclelists.musclecard.com
> http://lists.drizzle.com/mailman/listinfo/muscle
>
>

_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle