I have a custom made smartCardReader which i wrote it's firmware. Device is working well on Windows, but its problematic on Ubuntu.
I installed necessary tools to test the device. Simply followed the guide here :
- CCID driver from here
- Opensc-tool
- Pcsc-lite...
- Added my vendorId, productId.. file at
/usr/local/lib/pcsc/drivers/ifd-ccid.bundle/Contents/info.plist
As a last note my client application works fine with a well known smartcard reader on Ubuntu but not with my custom made smartcard reader.
If I plug-in my smartCard reader and list smartcardreaders on terminal by opensc-tool -l
command, i can see my smartcard reader. I can read ATR with opensc-tool -a
command.
I want to view all logs about the communication made between smartcard reader and PC. So as written in here after i kill any running pcscd process i restart pcscd exactly as sudo LIBCCID_ifdLogLevel=0x000F pcscd --foreground --debug --apdu --color | tee log.txt
.
But after this command if i list smartcard readers with opensc-tool -l
command it says something like No smartcard readers found.
.
Why?
What would be the reason of this device working well on Windows but not Ubuntu?
Is there any better tool for diagnose smartcard reader problems on Ubuntu?
Thanks.
Asked by Trax
(111 rep)
Feb 2, 2021, 09:42 AM
Last activity: Feb 2, 2021, 02:32 PM
Last activity: Feb 2, 2021, 02:32 PM