CCID set up a test environment in the Linux environment

1. Install CCID step :( As used herein, platform-6.2 CentOS)
A) installed liubudev-devel rpm package, libudev-devel must be installed, otherwise in the allocation of pcsc-lite, and error messages. Liubude-devel rpm mountable package.
-ivh libudev-devel-RPM 147-2.40.el6.i686.rpm
B) compiler installation libusb.
-zxvf the libusb-1.0.9.tar the tar
CD the libusb-1.0.9
./configure --prefix = / usr --exec-prefix = / usr
the make
the make the install
C) build and install pcsc-lite.
PCSC-Lite--zxvf the tar 1.8.3.tar
CD PCSC-Lite-1.8.3
./configure --prefix = / usr --exec-prefix = / usr
the make
the make the install
D) compiler installation ccid.
CCID-1.4.6.tar -zxvf the tar
CD-CCID 1.4.6
./configure --prefix = / usr --exec-prefix = / usr
the make
the make the install
E) after the installation is complete compilation, use the provided Info.plist replace the following file Info.plist file path.
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
f) start PCSC-LITE service.
pcscd -a -f -d

  1. Run the test program
    ./test
    CCID set up a test environment in the Linux environment
    If the service is not started, and the device is not turned successful solutions from happening tests are: the device is removed and re-mounted.
    Note: The picture shows the service is not started.
    CCID set up a test environment in the Linux environment
    Note: The picture shows the device does not open successfully.
    CCID set up a test environment in the Linux environment

Guess you like

Origin blog.51cto.com/13520299/2419188