2011/11/3 Johannes Becker :
> Hello,
>
> Am Mittwoch 02 November 2011 schrieb Ludovic Rousseau:
>
>> Martin is right. OpenSC is sending an extended APDU with a data length
>> of 00 01 01 = 257 bytes.
>
> Changing "max_send_size" didn't make any difference.
>
>> Can you run the procedure at [2] so I can check your reader?
>
> The logs are
>
> http://www.uni-giessen.de/~g013/opensc/KobilKAANAdvanced.txt
Same as mine.
> http://www.uni-giessen.de/~g013/opensc/KobilKAANTribank.txt
Your firmware is 0.40. The one in my list is 0.39. But no visible
change at the USB descriptor level.
> http://www.uni-giessen.de/~g013/opensc/XiringMyLeo.txt
This one is more different.
--- Xiring_MyLeo.txt(revision 6095)
+++ Xiring_MyLeo.txt(working copy)
@@ -2,7 +2,7 @@
iManufacturer: XIRING
idProduct: 0x0037
iProduct: CCID Smart Card Reader
- bcdDevice: 2.11 (firmware release?)
+ bcdDevice: 9.14 (firmware release?)
bLength: 9
bDescriptorType: 4
bInterfaceNumber: 0
@@ -62,13 +62,13 @@
80 Automatic PPS made by the CCID
..04.. Automatic IFSD exchange as first exchange (T=1)
02 Short APDU level exchange
- dwMaxCCIDMessageLength: 271 bytes
+ dwMaxCCIDMessageLength: 522 bytes
bClassGetResponse: 0xFF
echoes the APDU class
bClassEnveloppe: 0xFF
echoes the APDU class
wLcdLayout: 0x020C
- 2 lines
+2 lines
12 characters per line
bPINSupport: 0x03
PIN Verification supported
Your firmware is newer. And also dwMaxCCIDMessageLength has been updated.
> I hope, that my Dell Keyboard Reader doesn't disturb the results.
They are easy to filter out.
> I have a very new Xiring firmware, which works with my cards on Linux
> and Windows.
I see.
> All 3 readers work with Linux and Windows. They even work with Linux
> in VirtualBox on Mac OS X.
>
> Just Mac OS X itself has a problem with CardOS cards and all
> the readers. TCOS cards are no problem.
So the problem occurs on Mac but not on Linux (or Windows). Exact?
If so the bug may not be in OpenSC, but in the libccid provided by
Apple (in 10.6.8 Snow Leopard it is version 1.3.8) or in pcsc-lite
modified by Apple.
Bye
--
Dr. Ludovic Rousseau
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel