./configure --prefix=/usr/local/depot/pcsc-lite-1.6.4 \ --disable-serial --enable-debugatr \ --enable-usbdropdir=/usr/local/pcsc/drivers \ --enable-confdir=/usr/local/etc PC/SC lite has been configured with following options: Version: 1.6.4 System binaries: /usr/local/depot/pcsc-lite-1.6.4/sbin Configuration dir: /usr/local/etc Host: i686-pc-linux-gnu Compiler: gcc Preprocessor flags: -I${top_srcdir}/src Compiler flags: -Wall -fno-common -g -O2 Preprocessor flags: -I${top_srcdir}/src Linker flags: Libraries: PTHREAD_CFLAGS: -pthread PTHREAD_LIBS: PCSC_ARCH: Linux pcscd binary /usr/local/depot/pcsc-lite-1.6.4/sbin/pcscd libhal support: yes libusb support: no USB drop directory: /usr/local/pcsc/drivers ATR parsing messages: true ipcdir: /var/run/pcscd use serial: no use usb: yes make make install cd src ./testpcsc $ ./testpcsc MUSCLE PC/SC Lite unitary test Program THIS PROGRAM IS NOT DESIGNED AS A TESTING TOOL FOR END USERS! Do NOT use it unless you really know what you do. Testing SCardEstablishContext : Command successful. Testing SCardIsValidContext : Command successful. Testing SCardIsValidContext : Invalid handle. (don't panic) Testing SCardListReaderGroups : Command successful. Group 01: SCard$DefaultReaders Testing SCardFreeMemory : Command successful. Testing SCardListReaders : Command successful. Testing SCardListReaders : Command successful. Reader 01: AKS ifdh 00 00 Waiting for card insertion : Command successful. Testing SCardConnect : Command successful. Select file: 00 A4 00 00 02 3F 00 Testing SCardTransmit : Command successful. card response: 90 00 Testing SCardControl : Feature not supported. (don't panic) Testing SCardGetAttrib : Transaction failed. (don't panic) Testing SCardFreeMemory : Command successful. Testing SCardGetAttrib : Command successful. SCARD_ATTR_ATR_STRING length: 12 SCARD_ATTR_ATR_STRING: 3B E2 00 FF C1 10 31 FE 55 C8 02 9C Testing SCardFreeMemory : Command successful. Testing SCardGetAttrib : Transaction failed. (don't panic) Testing SCardGetAttrib : Transaction failed. (don't panic) Testing SCardGetAttrib : Transaction failed. (don't panic) Testing SCardSetAttrib : Transaction failed. (don't panic) Testing SCardStatus : Command successful. Current Reader Name : AKS ifdh 00 00 Current Reader State : 0x0034 Current Reader Protocol : T=1 Current Reader ATR Size : 12 bytes Current Reader ATR Value : 3B E2 00 FF C1 10 31 FE 55 C8 02 9C Testing SCardFreeMemory : Command successful. Testing SCardFreeMemory : Command successful. Press enter: Testing SCardReconnect : Command successful. Testing SCardDisconnect : Command successful. Testing SCardFreeMemory : Command successful. Testing SCardReleaseContext : Command successful. |
./configure --prefix=/usr/local/depot/pcsc-lite-1.4.100 --mandir=/usr/local/depot/pcsc-lite-1.4.100/man --enable-confdir=/usr/local/etc --enable-usbdropdir=/usr/local/pcsc/drivers --enable-debugatr --enable-libusb --disable-libhal --enable-runpid=/var/run/pcscd.pid --enable-ipcdir=/var/run --enable-extendedapdu
./configure --prefix=/usr/local/depot/pcsc-lite-1.4.100 --mandir=/usr/local/depot/pcsc-lite-1.4.100/man --enable-confdir=/usr/local/etc --enable-usbdropdir=/usr/local/pcsc/drivers --enable-debugatr --enable-runpid=/var/run/pcscd.pid --enable-ipcdir=/var/run --enable-extendedapdu
EAD_CFLAGS: -pthread libhal support: no |
./configure --prefix=/usr/local/depot/pcsc-lite-1.4.4 --mandir=/usr/local/depot/pcsc-lite-1.4.4/man --enable-confdir=/usr/local/etc --enable-usbdropdir=/usr/local/pcsc/drivers --enable-debugatr --enable-runpid=/var/run/pcscd.pid --enable-ipcdir=/var/run --enable-extendedapdu
enable libusb support : yes |
mkdir -p /usr/local/etc/reader.conf.d
mkdir -p /usr/local/depot/pcsc-lite-1.3.2
touch /usr/local/etc/reader.conf
./configure --prefix=/usr/local/depot/pcsc-lite-1.3.2 --mandir=/usr/local/depot/pcsc-lite-1.3.2/man --enable-confdir=/usr/local/etc --enable-usbdropdir=/usr/local/pcsc/drivers --enable-debugatr --enable-runpid=/var/run/pcscd.pid --enable-ipcdir=/var/run --enable-extendedapdu
enable libusb support : yes |
make
make install
update-reader.conf
(This creates /usr/local/etc/reader.conf
from the files in /etc/reader.conf.d
.)chown
the installed files to root.etc/pcscd.init
. For an opt_depot install, some paths have to be corrected in this file.ln -s /usr/local/lib/libpcsclite.so.1.0.0 libpcsclite.so.0
in /usr/lib
to keep AKS middleware happy.pkg-config --libs libpcsclite
works.perl Makefile.PL PREFIX=/usr/local/depot/site_perl INST_MAN3DIR=/usr/local/depot/site_perl/man/man3
make
make install
pcsc_scan
pkg-config --libs libpcsclite
works.PKG_CONFIG_PATH=/usr/local/lib/pkgconfig perl Makefile.PL PREFIX=/usr/local/depot/site_perl INST_MAN3DIR=/usr/local/depot/site_perl/man/man3
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig make
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig make install
PERL5LIB=/usr/local/lib/perl5/site_perl/5.8.7/i386-linux
to run.pkg-config --libs libpcsclite
works.PKG_CONFIG_PATH=/usr/local/lib/pkgconfig DESTDIR=/usr/local/depot/pcsc-tools-1.4.17 make
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig DESTDIR=/usr/local/depot/pcsc-tools-1.4.17 make install
pkg-config --libs libpcsclite
works.Makefile
for man page install directoryDESTDIR=/usr/local/depot/pcsc-tools-1.4.13 make
DESTDIR=/usr/local/depot/pcsc-tools-1.4.13 make install
pkg-config --libs libpcsclite
works.Makefile
for man page install directoryDESTDIR=/usr/local/depot/pcsc-tools-1.4.11 make
DESTDIR=/usr/local/depot/pcsc-tools-1.4.11 make install
Sep 25 10:36:47 m-6 pcscd: pcscdaemon.c:464:main() pcsc-lite 1.3.2 daemon ready. Sep 25 10:36:47 m-6 pcscd: hotplug_libusb.c:217:HPReadBundleValues() No bundle files in pcsc drivers directory: /usr/local/pcsc/drivers Sep 25 10:36:47 m-6 pcscd: hotplug_libusb.c:218:HPReadBundleValues() Disabling USB support for pcscd |
/usr/local/pccs/drivers
.
Sep 25 11:42:30 m-6 pcscd: readerfactory.c:1093:RFInitializeReader() Attempting startup of AKS ifdh 00 00 using /usr/local/lib/aksifdh.so |
pcsc_scan
$ pcsc_scan -n PC/SC device scanner Mon Sep 25 16:08:12 2006 $ PERL5LIB=/usr/local/lib/perl5/site_perl/5.8.7/i386-linux pcsc_scan Fri Sep 29 15:45:03 2006 ATR: 3B E2 00 FF C1 10 31 FE 55 C8 02 9C TC(2) = 10 --> Work waiting time: 960 x 16 x (Fi/F) TA(3) = FE --> IFSC: 254 Possibly identified card (using /usr/local/pcsc/smartcard_list.txt): |
pkg-config --libs libpcsclite
works.PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --prefix=/usr/local/depot/ccid-1.3.13 --disable-twinserial
multi threading : yes bundle directory name : ifd-ccid.bundle USB drop directory : /usr/local/pcsc/drivers build and install serial Twin driver : false serial twin install dir : /usr/local/pcsc/drivers/serial checking for SCardEstablishContext in -lpcsclite... yes compiled for pcsc-lite : yes |