I am having smartcard reader from Ingenico, trying to make it work on Ubuntu 12.4. 64bit
I have already installed pcsc lite and libusb and reader driver which is
SCL01x Contactless Reader - driver.
The situation is when i plug the rader in my USB port, signal light is off on reader.
When i try to run pcscd i get his errors:
00000000 dyn_unix.c:37:DYN_LoadLibrary() /usr/local/lib/pcsc/drivers/SCLGENERIC.bundle/Contents/Linux/libSCLGENERIC.so.2.09: /usr/local/lib/pcsc/drivers/SCLGENERIC.bundle/Contents/Linux/libSCLGENERIC.so.2.09: wrong ELF class: ELFCLASS32
00000096 readerfactory.c:996:RFInitializeReader() RFLoadReader failed: 0xFFFFFFFF80100014
00000074 readerfactory.c:312:RFAddReader() SCL011G Contactless Reader [SCL01x Contactless Reader] (21161207200555) init failed.
00000047 hotplug_libudev.c:391:HPAddDevice() Failed adding USB device: SCL011G Contactless Reader
PC/SC device scanner
V 1.4.18 (c) 2001-2011, Ludovic Rousseau <email@example.com>
Compiled with PC/SC lite version: 1.7.4
Using reader plug'n play mechanism
Scanning present readers...
0: SCL011G Contactless Reader [SCL01x Contactless Reader] (21161207200555) 00 00
Fri Jan 17 03:27:45 2014
Reader 0: SCL011G Contactless Reader [SCL01x Contactless Reader] (21161207200555) 00 00
Trying to figure out why do i get error: SCardEstablishContext: Service not available.
after pcsc_scan command
SOLVED After finding and installing 64bit driver i just killed pcscd service. I made it like this:
sudo killall pcscd sudo pcscd -fd
After that i was able to read smart card with my reader.
Also sample code from java.samrtcardio worked nicely.