[Muscle] CCID and Mac OS X 10.5
Martin Paljak
martin at paljak.pri.ee
Wed Dec 12 16:10:02 PST 2007
On 12.12.2007, at 21:59, Ludovic Rousseau wrote:
>> Even though the smart card thingy in Mac OS X 10.5 seems to be
>> totally
>> messed up, has anyone tried building the free CCID driver for the
>> pcsc-
>> lite distributed with 10.5.1? It requires some hacking as the headers
>> distributed with 10.5 SDK are not complete (ifdhandler.h missing) and
>> so on,
>
> No yet. But it is on my todo list.
> You can start with the patch [1] for Tiger (see the "Mac OS X"
> section of [2]).
OK. Little status report. I tried against ccid-1.3.1 and the libusb
that comes with latest SCA (libusb 0.1.12) and it compiled nicely
after some small changes.
Trying to use it fails though:
bash-3.2# /usr/sbin/pcscd.x -a -d -f
src/PCSC/debuglog.c:240:DebugLogSetLevel() debug level=debug
src/PCSC/pcscdaemon.c:374:main() pcscd set to foreground with debug
send to stderr
src/PCSC/pcscdaemon.c:572:main() pcsc-lite 1.4.0 daemon ready.
src/PCSC/readerfactory.c:762:RFInitializeReader() Attempting startup
of OmniKey CardMan 1021 00 00 using /usr/libexec/SmartCardServices/
drivers/ifd-ccid.bundle
src/PCSC/readerfactory.c:488:RFBindFunctions() Binding driver functions
src/PCSC/readerfactory.c:624:RFBindFunctions() Loading IFD Handler 3.0
ifdhandler.c:1239:init_driver() LogLevel: 0x0003
ifdhandler.c:1249:init_driver() DriverOptions: 0x0000
ifdhandler.c:77:IFDHCreateChannelByName() lun: 0, device: OmniKey
CardMan 1021
ccid_usb.c:166:OpenUSBByName() device name does not start with "usb:":
OmniKey CardMan 1021
ifdhandler.c:95:IFDHCreateChannelByName() failed
src/PCSC/readerfactory.c:801:RFInitializeReader() Open Port 1B300000
Failed (OmniKey CardMan 1021)
src/PCSC/readerfactory.c:656:RFUnBindFunctions() Unbinding driver
functions
src/PCSC/readerfactory.c:668:RFUnloadReader() Unloading reader driver.
src/PCSC/readerfactory.c:671:RFUnloadReader() --- closing dynamic
library
src/PCSC/readerfactory.c:242:RFAddReader() RFAddReader: OmniKey
CardMan 1021 init failed: -2146435067
Is it so that the driver can be built for only one single device at a
time?
I'll investigate again tomorrow at daytime.
--
Martin Paljak
http://martin.paljak.pri.ee
+3725156495
More information about the Muscle
mailing list