Don't you need to run pcscd as root, or sudo it? That should at least fix the "permission denied" issue.
On Sat, Aug 27, 2011 at 11:08 AM, ATLANTICO LTD <[email protected]> wrote: > here is the result > RMacBook-Pro:~ PMCR$ /usr/sbin/pcscd --foreground --debug --apdu > /SourceCache/SmartCardServices/SmartCardServices-55000/src/PCSC/debuglog.c:222:DebugLogSetLevel() > debug level=debug > /SourceCache/SmartCardServices/SmartCardServices-55000/src/PCSC/debuglog.c:251:DebugLogSetCategory() > Debug options: APDU > /SourceCache/SmartCardServices/SmartCardServices-55000/src/PCSC/eventhandler.cpp:91:EHInitializeEventStructures() > Cannot create public shared file /var/run/pcscd.pub: Permission denied > /SourceCache/SmartCardServices/SmartCardServices-55000/src/PCSC/pcscdaemon.c:611:at_exit() > cleaning /var/run > /SourceCache/SmartCardServices/SmartCardServices-55000/src/PCSC/pcscdaemon.c:625:clean_temp_files() > Cannot unlink /var/run/pcscd.comm: No such file or directory > /SourceCache/SmartCardServices/SmartCardServices-55000/src/PCSC/pcscdaemon.c:631:clean_temp_files() > Cannot unlink /var/run/pcscd: No such file or directory > > > On Sat, Aug 27, 2011 at 9:07 PM, Ludovic Rousseau > <[email protected]> wrote: >> >> 2011/8/26 ATLANTICO LTD <[email protected]>: >> > i have been having with CCID/MAC/PCSC >> > >> > I have a smartcard reader with AU9540 chip, and i am working with >> > MAC 10.7.1 >> > The original version of LION did not come with the AU9540 reader, >> > but only >> > the AU9520. >> > I have changed the INFO.PHLIST to include the new AU9540. >> > >> > I can detect the reader connected through the SISTEM PROPERTIES, >> > but when >> > performing the PCSCTEST (after PCSCD), the message showing up is >> > SERVICE UNAVAILABLE. >> > I basically cant use the reader. >> > >> > Do you have any suggestion about this issue? can you help me in anyway? >> > Below some more info: >> > >> > CCID version - 1.3.11 >> > PCSC - 1.4.0 >> > Smart card reader - ALCOR MICRO AU9540 >> > MacBook-Pro:~ pmcr$ /usr/sbin/pcscd --version >> > PCSC Framework version 1.4.0. >> > Copyright (C) 1999-2002 by David Corcoran <[email protected]>. >> > Copyright (C) 2001-2005 by Ludovic Rousseau <[email protected]>. >> > Copyright (C) 2003-2004 by Damien Sauveron <[email protected]>. >> > Portions Copyright (C) 2000-2007 by Apple Inc. >> > Report bugs to <[email protected]>. >> > >> > Operating system name and version: MAC OS LION - 10.7.1 >> > Smart card middleware name and version: AU9540 >> > Reader manufacturer name and reader model name: OEM >> > Smart card name: OEM >> > >> > complete log >> > (with reader connected) >> > >> > sh-3.2# LIBCCID_ifdLogLevel=0x000F >> > sh-3.2# export LIBCCID_ifdLogLevel >> > sh-3.2# pcscd --foreground --debug --apdu >> > >> > /SourceCache/SmartCardServices/SmartCardServices-55000/src/PCSC/debuglog.c:222:DebugLogSetLevel() >> > debug level=debug >> > >> > /SourceCache/SmartCardServices/SmartCardServices-55000/src/PCSC/debuglog.c:251:DebugLogSetCategory() >> > Debug options: APDU >> > >> > /SourceCache/SmartCardServices/SmartCardServices-55000/src/PCSC/pcscdaemon.c:585:main() >> > pcsc-lite 1.4.0 daemon ready. >> > >> > /SourceCache/SmartCardServices/SmartCardServices-55000/src/PCSC/readerfactory.c:1545:ReaderCheckArchitecture() >> > Send respawn signal to pcscd (pid=3141) >> > >> > /SourceCache/SmartCardServices/SmartCardServices-55000/src/PCSC/pcscdaemon.c:678:signal_respawn() >> > Got signal to respawn in 32 bit mode >> > >> > /SourceCache/SmartCardServices/SmartCardServices-55000/src/PCSC/pcscdaemon.c:294:SVCServiceRunLoop() >> > Preparing to exit... >> > >> > /SourceCache/SmartCardServices/SmartCardServices-55000/src/PCSC/readerfactory.c:1047:RFCleanupReaders() >> > entering cleaning function >> > pcscd: posix_spawn: pcscd: No such file or directory >> >> Use a full path: >> /usr/sbin/pcscd --foreground --debug --apdu >> >> Bye >> >> -- >> Dr. Ludovic Rousseau >> >> _______________________________________________ >> Muscle mailing list >> [email protected] >> http://lists.drizzle.com/mailman/listinfo/muscle > > > _______________________________________________ > Muscle mailing list > [email protected] > http://lists.drizzle.com/mailman/listinfo/muscle > > _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
