On Wed, 30 Jul 2003 [EMAIL PROTECTED] wrote: > Hi All, is there anyone was succeed to use slb reflex usb with pcsc-lite and > slb_rfUSB? I've try to change Info.plist and kMyProductID to 0x200a, but it > still error (Open Port 200001 Failed). Any idea about my problem? thanks, > ./oon >
Hi, In the attachment you will find what I did in order to make it work (ignore the stuff that is not relevant for you... I haven't touched the thing but I did get your error at some point, but I do not remember why... I hope that in the attached file there is the cleu for it, but I am not sure :-( ) Bye Andras > > > > --------------------------------- > IMP at http://wap.informatika.org > _______________________________________________ > Muscle mailing list > [EMAIL PROTECTED] > http://lists.musclecard.com/mailman/listinfo/muscle > --
rpm -i pcsc-lite-1.1.1-1-redhat.i386.rpm install SLB USB drivers: cp -r slbReflexUSB.bundle /usr/local/pcsc/drivers/ cp reflex_usb /usr/local/pcsc/drivers/slbReflexUSB.bundle/Contents/Linux get ifd-egate-0.04.tar.gz from http://secure.netroedge.com/~phil/egate/ gunzip and untar it, then do make install which does the following. - compiles and - mkdir -p /usr/local/pcsc/drivers/ifd-egate.bundle/Contents/Linux - cp Info.plist /usr/local/pcsc/drivers/ifd-egate.bundle/Contents - cp libifd_egate.so /usr/local/pcsc/drivers/ifd-egate.bundle/Contents/Linux mv /etc/reader.conf /etc/reader.conf.orig get opensc-0.7.0.tar.gz from http.//www.opensc.org/files/ gunzip, untar and in its directory do ./configure make make check make install after removing the /tmp/pcsc directory root# /usr/local/sbin/pcscd -d stdout root# opensc-tool -a seems to respond correctly Download j2sdk-1_4_1_02-linux-i586-rpm.bin from Sun's web site copy it to /usr/local chmod 700 j2sdk-1_4_1_02-linux-i586-rpm.bin ./j2sdk-1_4_1_02-linux-i586-rpm.bin rpm -iv j2sdk-1_4_1_02-fcs-linux-i586.rpm unclear where did it install it... ok, it was installed in /usr/java which is not in the path Downloading j2sdk-1_4_1_02-linux-i586.bin as well and installing it in /usr/local executing /usr/java/j2sdk1.4.1_02/bin/java installOCF in /usr/local installing in /usr/OpenCard properties file saved in [java.home]/lib i.e. /usr/java/j2sdk1.4.1_02/jre/lib installing PC/SC installing the Java Plug-in for netscape # cd /usr/local/netscape/plugins/ # ln -s /usr/local/j2sdk1.4.1_02/jre/plugin/i386/ns610/libjavaplugin_oji.so . Installing OCF # /usr/local/j2sdk1.4.1_02/bin/java installOCF in /usr/OpenCard PC/SC card terminal opencard properties stored in /usr/local/j2sdk1.4.1_02/jre/lib i.e. [java.home]/lib Still java.lang.NoClassDefFoundError: Openncard/core/terminal/CardTerminalException # cp /usr/OpenCard/OCF1.2/lib/base-core /usr/local/j2sdk1.4.1_02/jre/lib/ext/ # cp /usr/OpenCard/OCF1.2/lib/base-opt /usr/local/j2sdk1.4.1_02/jre/lib/ext/ # gunzip att-newpcsc.zip # cp newpcsc/pcsc.jar /usr/local/j2sdk1.4.1_02/jre/lib/ext/ $LD_LIBRARY_PATH is appended to java.library.path Download OCFPCSC1-0.0.1.tar.gz http://www.linuxnet.com/middle.html # cp OCFPCSC1-0.0.1.tar.gz /usr/local/lib # cd /usr/local/lib # tar zxvf OCFPCSC1-0.0.1.tar.gz # cd OCFPCSC1-0.0.1 change the Makefile # make # cd .. # ln -s /usr/local/lib/OCFPCSC1-0.0.1/libOCFPCSC1.so libOCFPCSC1.so include /usr/local/lib in LD_LIBRARY_PATH and the OCFPCSC1 not found in java.library.path goes away Now we have opencard.core.service.CardServiceException: Class "com.ibm.opencard.factory.MFCCardServiceFactory" not found # cp /usr/OpenCard/OCF1.2/lib/reference-services.jar /usr/local/j2sdk1.4.1_02/jre/lib/ext/ and it goes away, now we have java.security.AccessControlException: access denied (java.security.SecurityPermission putProviderProperty.IAIK) TEMPORARY FIX I put grant { permission java.security.AllPermission; }; in /usr/local/j2sdk1.4.1_02/jre/lib/security/java.policy and the error went away now I have java.lang.IllegalStateException: zip file closed figure out how to disable caching (cache_archive and cache_option="no" almost works) start the Java Plug-in Control Panel # /usr/local/j2sdk1.4.1_02/jre/bin/ControlPanel & and disable caching ALMOST WORKS!! crashing when clicking on the checkbox java.lang.NullPointerException at javax.swing.text.html.HTMLDocument$HTMLReader$FormAction.setModel(HTMLDocument.java:2953) at javax.swing.text.html.HTMLDocument$HTMLReader$FormAction.start(HTMLDocument.java:2850)
