Le 26/12/2015 13:53, Martin-Éric Racine a écrit :
2015-12-26 14:40 GMT+02:00 Ludovic Rousseau <[email protected]>:
Le 26/12/2015 10:41, Martin-Éric Racine a écrit :

Hello Ludovic,

For some reason, the message below never was delivered to the bug.
Resending.

---------- Forwarded message ----------
From: Martin-Éric Racine <[email protected]>
Date: 2014-05-24 17:23 GMT+03:00
Subject: Re: Bug#748754: pcscd: card reader no longer recognized
To: [email protected]



2014-05-24 16:37 GMT+03:00 Ludovic Rousseau <[email protected]>:

Le 20/05/2014 20:35, Martin-Éric Racine a écrit :



2014-05-20 20:08 GMT+03:00 Ludovic Rousseau
<[email protected]>:


Please follow http://pcsclite.alioth.debian.org/ccid.html#support to
provide
more detailed information.



On Debian/testing, accessing a FinEID card using the D430's internal
Oz776
card reader:



Thanks for the details.

I can't find any problem in the log you sent.


I ran the same logging sequence, this time trying to access the card
with 1) opensc-explorer 2) opensc-tools and 3) the OpenSC pluging via
Iceweasel. Attached.


Every thing goes fine
00000159 ifdhandler.c:1122:IFDHPowerICC() action: PowerUp,
usb:0b97/7762:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000163 -> 000000 62 00 00 00 00 00 0C 01 00 00
00972736 <- 000000 80 10 00 00 00 00 0C 00 00 00 3B 7B 94 00 00 80 62 12 51
56 46 69 6E 45 49 44
00000034 winscard.c:336:SCardConnect() power up complete.
00000018 Card ATR: 3B 7B 94 00 00 80 62 12 51 56 46 69 6E 45 49 44

Until the first command is sent to the card:
00000021 APDU: 00 A4 04 0C 0C A0 00 00 00 63 50 4B 43 53 2D 31 35
00000011 ifdhandler.c:1266:IFDHTransmitToICC()
usb:0b97/7762:libudev:0:/dev/bus/usb/001/008 (lun: 0)
00000023 commands.c:1966:CmdXfrBlockCHAR_T0() T=0: 17 bytes
00000020 -> 000000 6F 05 00 00 00 00 0E 00 01 00 00 A4 04 0C 0C
01230094 <- 000000 80 00 00 00 00 00 0E 40 FE 00
00000066 commands.c:1477:CCID_Receive Card absent or mute
00000013 commands.c:2104:CmdXfrBlockCHAR_T0() CCID_Receive failed
00000016 SW:

Your O2Micro reader is listed in the "Unsupported or partly supported CCID
readers" list [1] so I am not too surprised to see a problem with this
reader.

Considering that it was working fine until recent versions, I am very
surprised to see that it no longer works.

Interesting. So it is a regression.
Do you know with what version of libccid your reader was working?

I am not the author of the code for "Character level exchange". I do not 
remember having made a change in this code. It may be a side effect of another change.

Using git bisect would greatly help find the source of the problem.
The CCID driver git repository is available from 
https://pcsclite.alioth.debian.org/ccid.html

Also your reader uses "Character level exchange". Readers using this mode of
communication are very rare. Only 1.51% [2] of the readers in my list use
this mode.

Could be. I wouldn't know.

Can you try the same card with another reader?

The same card works fine with an external USB reader, but it defeats
the whole purpose of having a built-in card reader.

I understand.

Thanks

--
 Dr. Ludovic Rousseau

Reply via email to