Hi, 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.
I seem to be stuck. Allow me to provide all info I can give : *) reader is recognized : [EMAIL PROTECTED]:/data/home/jo> lsusb Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002 Device 003: ID 046d:c00e Logitech, Inc. Optical Mouse Bus 002 Device 001: ID 0000:0000 Bus 001 Device 003: ID 072f:0001 ACS, Ltd ACR20U SmartCard Reader Bus 001 Device 001: ID 0000:0000 [EMAIL PROTECTED]:/data/home/jo> cat /proc/bus/usb/devices .. T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=1.5 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=072f ProdID=0001 Rev= 2.00 C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 1 Cls=00(>ifc ) Sub=00 Prot=00 Driver=(none) E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=1ms *) I compiled with : /configure --enable-libusb=/usr --prefix=/usr/local/pcsc since I guess libusb is in /usr : [EMAIL PROTECTED]:/data/home/jo> rpm -ql libusb-0.1.8-31.2 /usr/bin/libusb-config /usr/include/usb.h /usr/lib/libusb-0.1.so.4 /usr/lib/libusb-0.1.so.4.4.0 /usr/lib/libusb.a /usr/lib/libusb.la /usr/lib/libusb.so 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> *) after that I have compiled and installed ACR30U_PCSC_LINUX_1_0.zip which results in linux:/usr/local/pcsc/drivers # find . . /Contents /Contents/Linux /Contents/Linux/Dummy.txt /Contents/Linux/acsAcr30 /Contents/Info.plist *) 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 ? *) running testpcsc hangs like this : [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 and gives the following debug output : 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 directory: /usr/local/pcsc/drivers hotplug_libusb.c:180 Disabling USB support for pcscd winscard_msg.c:250 SHMProcessEvents: Common channel packet arrival <<<< winscard_msg.c:290 SHMProcessEvents: correctly processed client: 0 <<<< winscard.c:81 SCardEstablishContext: Establishing Context: 17025020 <<<< winscard.c:92 SCardReleaseContext: Releasing Context: 17025020 <<<< pcscdaemon.c:144 SVCServiceRun: Client 5 has disappeared. <<<< 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: 16982883 <<<< Any ideas what is going wrong? By the way the led on the cardreader does not burn, not even when I insert a card. Maybe the les only turns green if the reader is recognized? Thanks a lot for any hints ! Jo De Baer Novell _______________________________________________ Muscle mailing list [EMAIL PROTECTED] http://lists.drizzle.com/mailman/listinfo/muscle
