I'm trying to get a smart card reader (SCR3310) to work under Ubuntu 12.10. I have used this same card reader with Linux Mint and Previous versions of Ubuntu. I have installed pcsc-tools
,pcscd
libccid
, libnss3-tools
, and coolkey
. The driver for the card reader is included in libccid.
When I run pcsc_scan
the terminal returns the error, SCardEstablishContext: Service not available.
If I understand this correctly, the error is indicating that it can't contact the pcscd
daemon/service.
When I check service pcscd status
it returns * pcscd is not running
. If I try sudo service pcscd start
, I get no error but the service doesn't start. I also tried the force-reload
option, it returns * Restarting PCSC Lite resource manager pcscd [failed]
For what it's worth, the card reader and supporting software currently work under my Mint partition. So far I haven't seen where I'm missing anything under the Ubuntu install that is present under Mint. Also, I have tried un-installing/re-installing pcscd.
Is it likely that there is another service that pcscd depends on that may not be present?
Operating System: Ubuntu 12.10 32-bit
System: Dell Latitude E6500
Card Reader: SCR 3310
Best Answer
Finally got back to tinkering with the card reader again today. The good news is I got it working. The bad news is, I'm not sure which step fixed it...
Coolkey
CacKey
(available at SourceForge.mil). Tested but still couldn't restart pcscdlibusb
. I didn't havelibusb
in my/lib
directory on Ubuntu but I did on Mint. So I sym-linked to the/lib/libusb
on my Mint partition. (Yes, I realize that would not be an option for everyone, but it's what I did.) Still couldn't getpcscd
to restart.pcscd
. I was then able to contact the reader withpcsc_scan
. Keep in mind I had already un-installed/re-installedpcscd
before./usr/lib/libcackey.so
. Worked as expectedI'm going to continue to tinker and see if I can Isolate the step that worked. (Have a second laptop running 12.10 with the same problem.)