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] automatic bauderate change after reset

From: Ludovic Rousseau (ludovic.rousseaufree.fr)
Date: Fri Mar 25 2005 - 03:14:24 CST


Le Thursday 24 March 2005 à 19:14:22, jp a écrit:
> Hi,

Hello,

> All is ok until card not need to switch baudrate
> after atr. Here is a card example:
>
> Fri Mar 25 04:05:39 2005
> Reader 0 (GemPC Twin 00 00)
> Card state: Card inserted,
> ATR: 3B 9C 13 11 81 64 72 65 61 6D 63 72 79 70
> 74 00 04 08
>
> ATR: 3B 9C 13 11 81 65 82 65 61 2D 33 72 19 70 74 00
> 04 08
> + TS = 3B --> Direct Convention
> + T0 = 9C, Y(1): 1001, K: 12 (historical bytes)
> TA(1) = 13 --> Fi=372, Di=4, 93.000 cycles/ETU
> TD(1) = 11 --> Y(i+1) = 0001, Protocol T = 1
> -----
> TA(2) = 81 --> Protocol to be used in spec mode: T=1
> - Unable to change - defined by interface bytes
> + Historical bytes: 65 82 65 61 2D 33 72 19 70 74 00
> 04 08
>
>
> As you can see: Di=4 and thus etu=93 after reset.
> I thought that driver is responsible for etu change,
> but for me it looks like etu wasn't changed, because
> card didn't responding to any command after reset.

I don't know yet where the problem comes from.

Can you edit the file
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist (it may be
called /usr/local/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist if
you installed pcsc-lite and the driver yourself) and change
"ifdLogLevel" value from 0x0003 to 0x000B.

Then kill pcscd and restart it with:
$ pcscd --foreground
or
$ pcscd --foreground --debug (if you use pcss-lite 1.2.9-beta7)

Insert your GemPC Twin reader, insert your card, exchange one or more
APDU and send me the pcscd output.

Bye,

--
 Dr. Ludovic Rousseau Ludovic.Rousseaufree.fr
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --
_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle