Comments (5)
https://pcsclite.apdu.fr/#support
I need, at least, a pcscd trace log.
from pcsc-tools.
Sure! Here is the trace of :
- reset command,
- then one of the apdus causing the problem:
A0 A4 00 00 02 3F 00
00000008 winscard.c:431:SCardConnect() Active Protocol: T=0
00000009 winscard.c:456:SCardConnect() hCard Identity: 4d390b76
00000007 winscard.c:518:SCardConnect() UnrefReader() count was: 2
00000009 winscard_svc.c:510:ContextThread() CONNECT rv=0x0 for client 14
09410248 winscard_svc.c:362:ContextThread() Received command: RECONNECT from client 14
00000032 winscard.c:532:SCardReconnect() Attempting reconnect to token.
00000009 readerfactory.c:848:RFReaderInfoById() RefReader() count was: 1
00000011 ifdhandler.c:2658:IFDHICCPresence() usb:072f/90cc:libudev:0:/dev/bus/usb/002/011 (lun: 0)
00000011 -> 000000 65 00 00 00 00 00 0C 00 00 00
00000605 <- 000000 81 00 00 00 00 00 0C 00 00 00
00000026 ifdhandler.c:2868:IFDHICCPresence() Card present
00000010 ifdhandler.c:1391:IFDHPowerICC() action: Reset, usb:072f/90cc:libudev:0:/dev/bus/usb/002/011 (lun: 0)
00000010 -> 000000 62 00 00 00 00 00 0D 01 00 00
00150444 <- 000000 80 06 00 00 00 00 0D 00 00 00 3B 04 A2 13 10 91
00000036 winscard.c:612:SCardReconnect() Reset complete.
00000008 Card ATR: 3B 04 A2 13 10 91
00000007 prothandler.c:108:PHSetProtocol() Attempting PTS to T=0
00000007 ifdhandler.c:846:IFDHSetProtocolParameters() protocol T=0, usb:072f/90cc:libudev:0:/dev/bus/usb/002/011 (lun: 0)
00000007 ifdhandler.c:933:IFDHSetProtocolParameters() Specific mode
00000009 ifdhandler.c:1271:IFDHSetProtocolParameters() Communication timeout: 232133 ms
00000006 commands.c:2353:SetParameters() length: 5 bytes
00000011 -> 000000 61 05 00 00 00 00 0E 00 00 00 11 00 00 0A 00
00000553 <- 000000 82 00 00 00 00 00 0E 40 00 00
00000023 commands.c:2379:SetParameters Command not supported or not allowed
00000008 winscard.c:731:SCardReconnect() Active Protocol: T=0
00000006 winscard.c:821:SCardReconnect() UnrefReader() count was: 2
00000007 winscard_svc.c:529:ContextThread() RECONNECT rv=0x0 for client 14
00000150 winscard_svc.c:362:ContextThread() Received command: CMD_GET_READERS_STATE from client 14
00000148 winscard_svc.c:362:ContextThread() Received command: STATUS from client 14
00000035 readerfactory.c:848:RFReaderInfoById() RefReader() count was: 1
00000007 winscard.c:1300:SCardStatus() UnrefReader() count was: 2
00000009 winscard_svc.c:629:ContextThread() STATUS rv=0x0 for client 14
00000099 winscard_svc.c:362:ContextThread() Received command: CMD_GET_READERS_STATE from client 14
00000073 winscard_svc.c:362:ContextThread() Received command: STATUS from client 14
00000022 readerfactory.c:848:RFReaderInfoById() RefReader() count was: 1
00000005 winscard.c:1300:SCardStatus() UnrefReader() count was: 2
00000006 winscard_svc.c:629:ContextThread() STATUS rv=0x0 for client 14
07487762 winscard_svc.c:362:ContextThread() Received command: TRANSMIT from client 14
00000048 readerfactory.c:848:RFReaderInfoById() RefReader() count was: 1
00000011 winscard.c:1595:SCardTransmit() Send Protocol: T=0
00000013 APDU: A0 A4 00 00 02 3F 00
00000011 ifdhandler.c:1622:IFDHTransmitToICC() usb:072f/90cc:libudev:0:/dev/bus/usb/002/011 (lun: 0)
00000009 commands.c:1854:CmdXfrBlockTPDU_T0() T=0: 7 bytes
00000020 -> 000000 6F 07 00 00 00 00 0F 00 00 00 A0 A4 00 00 02 3F 00
01072103 <- 000000 80 00 00 00 00 00 0F 40 FE 00
00000035 commands.c:1604:CCID_Receive Card absent or mute
00000008 SW:
00000006 ifdwrapper.c:543:IFDTransmit() Card not transacted: 612
00000006 winscard.c:1620:SCardTransmit() Card not transacted: 0x80100016
00000005 winscard.c:1640:SCardTransmit() UnrefReader() count was: 2
00000008 winscard_svc.c:682:ContextThread() TRANSMIT rv=0x80100016 for client 14
00000243 winscard_svc.c:362:ContextThread() Received command: DISCONNECT from client 14
00000041 readerfactory.c:848:RFReaderInfoById() RefReader() count was: 1
00000011 winscard.c:878:SCardDisconnect() Active Contexts: 1
00000008 winscard.c:879:SCardDisconnect() dwDisposition: 0
00000009 winscard.c:1014:SCardDisconnect() powerState: POWER_STATE_GRACE_PERIOD
00000011 ifdhandler.c:511:IFDHGetCapabilities() tag: 0xFB2, usb:072f/90cc:libudev:0:/dev/bus/usb/002/011 (lun: 0)
00000008 winscard.c:1027:SCardDisconnect() Stopping polling thread
00000007 ifdhandler.c:476:IFDHStopPolling() usb:072f/90cc:libudev:0:/dev/bus/usb/002/011 (lun: 0)
00000065 winscard.c:1040:SCardDisconnect() UnrefReader() count was: 2
00000018 winscard_svc.c:547:ContextThread() DISCONNECT rv=0x0 for client 14
from pcsc-tools.
The reader reported "Card absent or mute".
It looks like you are using a memory card https://smartcard-atr.apdu.fr/parse?ATR=3B+04+A2+13+10+91, and not a smart card. I am not surprised it does not work.
from pcsc-tools.
Thank you for your response! The thing keeping me thinking about it is that the link you sent indicated the cards might be PM2P Chipkarte SLE 4442, Code FFFFFF exactly as the supplier indicated. Any other thought or hint?
from pcsc-tools.
Try to find documentation about using MEMORY cards with your reader.
Maybe your reader can use it.
from pcsc-tools.
Related Issues (20)
- pcsc_scan not detecting the cards unless I unplug and replug the reader HOT 6
- How to submit misrecognized card HOT 3
- Reader AK910 HKey not detected HOT 2
- Need to add new DOD CAC card HOT 2
- can not compile under windows HOT 2
- how to compile the pcsc_scan.exe with UNICODE on Windows platform HOT 5
- Non-relevant application to strings of red color code HOT 4
- Observations HOT 1
- File LICENCE not in tar.bz2 archive HOT 1
- configure fails
- compile from git fails HOT 5
- Please add more maps to the database HOT 1
- SCardEstablishContext: Service was stopped. HOT 2
- SCardGetStatusChange for PNP notification return SCARD_E_TIMEOUT HOT 10
- try setup in raspberry pi HOT 13
- Update to smartcard_list.txt for ATR 3BB2110010800016 HOT 3
- pcsc scan : waiting for the first reader HOT 1
- ACR122u is visible only after disconnection and reconnection HOT 8
- Using new pcscd 2.2.3 HOT 2
- Issues that need fixing with meson config HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pcsc-tools.