Hi, i am one step further now in trying to run pcscd (1.2.0) on NLD (SuSE 9.1) :
linux:~ # /usr/local/pcsc/sbin/pcscd -f -dstdout pcscdaemon.c:251 main: pcscd set to foreground pcscdaemon.c:265 main: debug messages to stdout pcscdaemon.c:427 main: warning: no reader.conf found pcscdaemon.c:445 main: pcsc-lite daemon ready. << I plug in the ACR30U card reader >> winscard_msg.c:250 SHMProcessEvents: Common channel packet arrival winscard_msg.c:290 SHMProcessEvents: correctly processed client: 0 winscard.c:81 SCardEstablishContext: Establishing Context: 17021515 winscard.c:92 SCardReleaseContext: Releasing Context: 17021515 pcscdaemon.c:144 SVCServiceRun: Client 5 has disappeared. hotplug_libusb.c:344 Adding USB device: 001:002 readerfactory.c:1391 RFInitializeReader: Attempting startup of ACS ACR 30u 0 0. readerfactory.c:1133 RFBindFunctions: Loading IFD Handler 2.0 winscard_msg.c:250 SHMProcessEvents: Common channel packet arrival pcscdaemon.c:144 SVCServiceRun: Client 5 has disappeared. winscard_msg.c:290 SHMProcessEvents: correctly processed client: 0 winscard.c:81 SCardEstablishContext: Establishing Context: 16985059 ---------------------------------------------- [EMAIL PROTECTED]:/data/home/jo/smarcard/pcsc-lite-1.2.0/src> ./testpcsc MUSCLE PC/SC Lite Test Program Testing SCardEstablishContext : Command successful. Testing SCardGetStatusChange Please insert a working reader : Command successful. Testing SCardListReaders : Command successful. Reader 01: ACS ACR 30u 0 0 Enter the reader number : 1 <<<< ??? correct ? Waiting for card insertion <<< I insert card but nothing happens >>> Does everything look ok? Should it give me a confirmation at card insertion? When I run ./pcsc_demo while a card is inserted in the reader, I get the following : [EMAIL PROTECTED]:/usr/local/pcsc/bin> ./pcsc_demo PC/SC sample code V 1.0 2003, Ludovic Rousseau <[EMAIL PROTECTED]> 0: ACS ACR 30u 0 0 Protocol: 1074045988 SCardConnect: No smartcard inserted. (0x8010000C) [EMAIL PROTECTED]:/usr/local/pcsc/bin> while pcscd outputs : <SNIP> winscard_msg.c:250 SHMProcessEvents: Common channel packet arrival pcscdaemon.c:144 SVCServiceRun: Client 5 has disappeared. winscard_msg.c:290 SHMProcessEvents: correctly processed client: 0 winscard.c:81 SCardEstablishContext: Establishing Context: 17008168 winscard_msg.c:290 SHMProcessEvents: correctly processed client: 0 winscard.c:149 SCardConnect: Attempting Connect to ACS ACR 30u 0 0 winscard.c:195 SCardConnect: Card Not Inserted <<<< ?????? winscard_msg.c:290 SHMProcessEvents: correctly processed client: 0 winscard.c:92 SCardReleaseContext: Releasing Context: 17008168 winscard.c:92 SCardReleaseContext: Releasing Context: 17008168 pcscdaemon.c:144 SVCServiceRun: Client 5 has disappeared. eventhandler.c:319 EHSpawnEventHandler: Error communicating to: ACS ACR 30u 0 0 <SNAP> The card are demo id cards that came with the reader (ZETES). Thanks for any help Jo On Saturday 11 December 2004 16:33, Ludovic Rousseau wrote: > Le Friday 10 December 2004 � 22:53:13, Jo De Baer a �crit: > > Hi, > > Hello, > > > I am trying to run an ACR30U card reader work on Novell Linux Desktop > > 9. NLD 9 is in fact SuSE 9.1. Pcsc-lite is included in it, but it is > > version 1.1.1. Since old versions are not supported, I decided to > > compile the pcsc-lite version 1.1.2. > > pcsc-lite 1.1.2 is also an old version. You should use version 1.2.0 or > 1.2.9-beta6 from [1]. > > > *) I compiled with : > > /configure --enable-libusb=/usr --prefix=/usr/local/pcsc > > > > which gives an ok compilation with : > > <snip> > > enable libusb support : true > > enable USB drop directory : /usr/local/pcsc/drivers > > enable debug messages : true > > enable ATR parsing messages : false > > enable SCF reader support : false > > enable musclecard : true > > enable MuscleCard bundles dir : /usr/local/pcsc/services > > enable confdir : /etc (default) > > enable runpid : false > > enable ipcdir : /var/run (default) > > enable threadsafe client : true > > NOTE :: You must link pthread libraries with your app. > > configure: creating ./config.status > > <snap> > > > > *) running pcsc results in the following : > > linux:/ # /usr/local/pcsc/sbin/pcscd -d stdout -a > > pcscdaemon.c:265 main: debug messages to stdout > > debuglog.c:188 Debug options: APDU > > pcscdaemon.c:427 main: warning: no reader.conf found > > pcscdaemon.c:445 main: pcsc-lite daemon ready. > > hotplug_libusb.c:179 No bundle files in pcsc drivers <<<< PROBLEM ? > > directory: /usr/local/pcsc/drivers > > hotplug_libusb.c:180 Disabling USB support for pcscd <<<< PROBLEM ? > > It is a known and corrected (at least in 1.2.0) bug. You should use > --enable-usbdropdir=/usr/local/pcsc/drivers/ (note the trailing /) > if you really want to use 1.1.2 version. > > > Jo De Baer > > Novell > > Since you work for Novell/SuSE I strongly suggest you include at least > version 1.2.0 in the next Novell Linux release. > If you want to support the CCID readers (listed in [2]) you will have to > use 1.2.9-beta6. > > Bye, > > [1] https://alioth.debian.org/project/showfiles.php?group_id=30105 > [2] http://pcsclite.alioth.debian.org/ccid.html _______________________________________________ Muscle mailing list [EMAIL PROTECTED] http://lists.drizzle.com/mailman/listinfo/muscle
