On 28/11/05, Gary Pearman <[EMAIL PROTECTED]> wrote: > The first time I run my program, I get a card busy error, the second > time it is run, it works but returns garbage instead of the application > name. > > Here's some debug output, although I'm not sure it will help.
Debug output always help. In any case it cannot hurt :-) > garyp:/home/garyp # pcscd -f stdout > pcscdaemon.c:238:main pcscd set to foreground with debug send to stderr > pcscdaemon.c:440:main pcsc-lite 1.2.9-beta6 daemon ready. You are using a very old pcsc-lite. You should try version 1.2.9-beta9 [1] > hotplug_libusb.c:371:HPAddHotPluggable Adding USB device: 004:004 > readerfactory.c:1055:RFInitializeReader Attempting startup of ACS ACR38U > 00 00. > readerfactory.c:897:RFBindFunctions Loading IFD Handler 2.0 You are using the ACS driver? You may try to use my CCID driver [2]. I am not sure the ACR38U is supported since I only list the ACR38 (without U). It looks like it is _not_ supported. > winscard.c:221:SCardConnect Active Protocol: unknown 4 It looks like you are using garbage as the dwPreferredProtocols parameter in SCardConnect(). Have a look at [3] Bye, [1] https://alioth.debian.org/project/showfiles.php?group_id=30105 [2] http://pcsclite.alioth.debian.org/ccid.html [3] http://pcsclite.alioth.debian.org/pcsc-lite/node11.html -- Dr. Ludovic Rousseau For private mail use [EMAIL PROTECTED] and not "big brother" Google _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
