
I tried to plugin the reader in my question above, the OMNIKIEY 5321, and it was not detected.Īpprently, I arrived at the following conclusion:ġ. I stopped the service after I logged in, and then run in foreground mode using the command "pcscd -a -f -d" and the SCM reader was detected successfully.ģ. The pcscd daemon was started at boot time by default. I got a new card reader (SCM Microsystems) and still it was not detected.Ģ.

If there is something I need to provide, please let me know.

So I presume I am missing something really basic perhaps. I have been googling too much but have not seen any that have my issue. But then I see that when there is time constraint it is indeed wise to better seek help from experts and people who have worked and / or encountered such an issue. I am new to Linux, and have been trying to solve this issue myself without asking for help. But why is it that PC/SC Resource Manager cannot create this context? Just to check I wrote a simple program using the udev library to read all the "usb" subsystem entries and am able to find the following info from udev about the card reader connected:
#USING CHRYSTAL DISKMARK TO CHECK USB CARD READERS DRIVER#
So the issue right now is that pcsc-lite cannot detect(?) my reader attached and for which driver has been installed? So the smart card context is empty, I presume and hence no readers are listed. I then go to /etc/ but find no files in here as well. I verify if I can see any reader entries in the /etc/nf but I find no readers listed in here. Not good.Īt this point I go and check that the reader is properly connected. SCardListReaders() returns SCARD_E_NO_READERS_AVAILABLE.

SCardListReaders(oSCardContext, NULL, (LPSTR) & mszReaders, & dwReaders) SCardEstablishContext() returns SCARD_S_SUCCESS. SCardEstablishContext(SCARD_SCOPE_SYSTEM, NULL, NULL, & SCardContext) In my code, I used the following APIs in sequence. Hence I have downloaded and installed the PCSC-lite and I have the checked that the daemon (pcscd) is running and the service status is ok. usr/lib64/pcsc/drivers/ifdokrfid_lnx_圆4-2.10.0.1.bundle/Contents/LinuxĬontents of ist clearly show the "OMNIKEY CardMan 5x21" string under "ifdFriendlyName" key. I have installed the driver and can find the following directories / files: Let me give you the development environment and the hardware used. I am trying to develop an application that would interface with a Smart Card Reader and read information from the smart card.
