On Mar 26, 2010, at 4:39 AM, Patrik Ekdahl wrote:
Hi,
I have problems with the generic ifd-ccid driver for a OmniKey Cardman 3121 under Snow Leopard. Most of the time the ScardOpenReader call will return "Unresponsive card" or "No Smart Card inserted". I have the same problem with a Gemalto PC Key reader.
I've tried to recompile the driver and the pcsc daemon but no success. From the --debug logging of pcscd it seems like there are lots of USB related error, both reading and writing. I finally got the Omnikey reader to work, using their proprietary driver, by removing the corresponding items from the generic ifd-ccid Info.plist. Now it works like a charm, but it is a bit frustrating that the generic stuff wouldn't work.
Does anyone have any insight on this? If needed I could provide detailed log data from pcscd...
Original setup: PCSC Framework 1.4.0 ifd-ccid 1.3.8
Also tried (compiled for 64 bits): pcsc-lite 1.5.5 ifd-ccid 1.3.11 (linked to Apple IOKit usb Framework)
Best regards /Patrik
Patrik, A couple quick things..... • Please submit any development bugs as a Ticket [1] • Everything must be compiled 64-bit for Snow Leopard (10.6.x) • ifd-ccid is actually statically linked to libusb and not IOKit • You can not just build your *own* version of pcsc-lite 1.5.5 (pcscd) for Mac OS X, since there is a fair amount of Apple addtional code to integrate with securityd. The v1.4.x that is included in Mac OS X is posted under the Source Branch. Is it possible you are using Extended APDUs ? Note at the Smart Card Reader Matrix [2] for the CCID Reader Driver that for the 3121, supports "short APDU mode" [3]. [1] http://smartcardservices.macosforge.org/trac/newticket [2] http://pcsclite.alioth.debian.org/section.html [3] http://pcsclite.alioth.debian.org/ccid_extended_apdu.html -Shawn __________________________________________________ Shawn Geddis geddis@mac.com Security Consulting Engineer geddis@apple.com MacOSForge Project Lead: Smart Card Services Web: http://smartcardservices.macosforge.org/ Lists: http://lists.macosforge.org/mailman/listinfo __________________________________________________