2012-08-18

Setting up a cyberJack chipcard reader under Fedora 17 x86_64

  • Get the latest driver source code release from Reiner's web site, at the time of writing the file is pcsc-cyberjack-3.99.5final.SP03.tar.gz.
  • Install needed packages
  • yum install gcc gcc-c++ libusb1-devel pcsc-lite-devel
  • Unpack the driver tarball
  • Edit the source file libcyberjack/checksuite/cm_distri.cpp to add #include <unistd.h> at line 22, otherwise the compile will fail with the error message error: ‘unlink’ was not declared in this scope
  • From within the top level directory of the unpacked and modified source run
    • ./configure && make
  • Then from the same directory run as root
    • mkdir -p /usr/lib64/pcsc/drivers/libifd-cyberjack.bundle/Contents/Linux
    • install -m 644 ifd/Info.plist /usr/lib64/pcsc/drivers/libifd-cyberjack.bundle/Contents
    • ./libtool --mode=install /usr/bin/install -c ifd/libifd-cyberjack.la '/usr/lib64/pcsc/drivers/libifd-cyberjack.bundle/Contents/Linux'
    • install -s tools/cyberjack/cyberjack /usr/local/bin/
  • Now make sure that pcscd is not running as a background service on your system then start it as root: pcscd -f -d
  • If it worked the reader should flash its LEDs and there should be lots of output to the terminal, with this somewhere in the middle
  • 00000011 hotplug_libudev.c:311:HPAddDevice() Adding USB device: REINER SCT cyberJack pp_a
    00000023 readerfactory.c:936:RFInitializeReader() Attempting startup of REINER SCT cyberJack pp_a (5745748205) 00 00 using /usr/lib64/pcsc/drivers/libifd-cyberjack.bund
    CYBERJACK: Started
    00000615 readerfactory.c:826:RFBindFunctions() Loading IFD Handler 3.0
    00006834 readerfactory.c:291:RFAddReader() Using the pcscd polling thread
    

No comments:

Post a Comment