Hi Ludovic,
> > 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.
>
Well, thank you for hint how to enable more detailed
debug. I was wrong - driver is changing baudrate
correctly after ATR (see beloow).
Problem must be somewhere else. Follow pcscd startup
and PDU sending logs:
ccid_usb.c:235:OpenUSBByName ProductString: Generic
CCID reader v0.9.3
ccid_usb.c:241:OpenUSBByName Copyright: This driver is
protected by terms of the GNU General Public License
version 2, or (at your option) any later version.
ccid_usb.c:333:OpenUSBByName Trying to open USB
bus/device: 003/003
ccid_usb.c:376:OpenUSBByName Found Vendor/Product:
08E6/3437 (GemPC Twin)
ccid_usb.c:378:OpenUSBByName Using USB bus/device:
003/003
ifdwrapper.c:157:IFDOpenIFD POUET
ifdhandler.c:239:IFDHGetCapabilities lun: 0, tag:
0xFAE
ifdhandler.c:282:IFDHGetCapabilities Reader supports 1
slots
ifdhandler.c:689:IFDHPowerICC lun: 0
-> 000000 62 00 00 00 00 00 03 01 00 00
<- 000000 80 12 00 00 00 00 03 00 00 00 3B 9C 13 11 81
65 82 65 61 2D 33 72 19 70 74 00 04 08
Card ATR: 3B 9C 13 11 81 65 82 65 61 2D 33 72 19 70 74
00 04 08
and PDU log:
winscard_msg.c:252:SHMProcessEventsContext correctly
processed client: 7
winscard.c:121:SCardConnect Attempting Connect to
GemPC Twin 00 00
prothandler.c:126:PHSetProtocol Attempting PTS to T=1
ifdhandler.c:373:IFDHSetProtocolParameters lun: 0,
protocol T=1
ifdhandler.c:479:IFDHSetProtocolParameters Set speed
to 43010 bauds
commands.c:891:SetParameters length: 7 bytes
-> 000000 61 07 00 00 00 00 B3 01 00 00 13 10 00 4D 00
20 00
<- 000000 82 07 00 00 00 00 B3 00 00 01 13 10 00 4D 00
20 00
ifdhandler.c:632:IFDHSetProtocolParameters Negociate
IFSD at 254
sending: 00 C1 01 FE 3E
-> 000000 6F 05 00 00 00 00 B4 00 00 00 00 C1 01 FE 3E
<- 000000 80 00 00 00 00 00 B4 40 FE 00
commands.c:485:CCID_Receive Card absent or mute
openct/proto-t1.c:752:t1_negociate_ifsd fatal:
transmit/receive failed
prothandler.c:138:PHSetProtocol PTS failed, using T=1
"Card absent or mute" looks strange for me - is it
a information about not answer from card?
Regards.
Jan Petrou.s
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle