Regarding pcsc reader

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Regarding pcsc reader

nsar
Hi!

I am trying to connect my virtual smart card with the reader . On viewing the detailed debug  OpenSC reader-pcsc shows card presence, connected then changed to card absent . Kindly provide some help. 

debug output:

C:\Program Files (x86)\OpenSC Project\OpenSC\tools>opensc-tool -l -vvv
# Detected readers (pcsc)
Nr.  Card  Features  Name
2014-10-19 13:26:46.569 [opensc-tool] sc.c:231:sc_detect_card_presence: called
2014-10-19 13:26:46.569 [opensc-tool] reader-pcsc.c:370:pcsc_detect_card_presenc
e: called
2014-10-19 13:26:46.569 Virtual Smart Card Architecture Virtual PCD 0 check
2014-10-19 13:26:46.569 current  state: 0x00440222
2014-10-19 13:26:46.569 previous state: 0x00440012
2014-10-19 13:26:46.569 card present, changed
2014-10-19 13:26:46.569 [opensc-tool] reader-pcsc.c:375:pcsc_detect_card_presenc
e: returning with: 3
2014-10-19 13:26:46.569 [opensc-tool] sc.c:236:sc_detect_card_presence: returnin
g with: 3
0    Yes             Virtual Smart Card Architecture Virtual PCD 0
2014-10-19 13:26:46.569 [opensc-tool] card.c:125:sc_connect_card: called
2014-10-19 13:26:46.569 [opensc-tool] reader-pcsc.c:450:pcsc_connect: called
2014-10-19 13:26:46.569 Virtual Smart Card Architecture Virtual PCD 0 check
2014-10-19 13:26:46.569 current  state: 0x00450012
2014-10-19 13:26:46.569 previous state: 0x00440222
2014-10-19 13:26:46.569 card absent, changed
2014-10-19 13:26:46.569 [opensc-tool] reader-pcsc.c:457:pcsc_connect: returning
with: -1104 (Card not present)
2014-10-19 13:26:46.585 [opensc-tool] card.c:249:sc_connect_card: returning with
: -1104 (Card not present)
     failed: Card not present
2014-10-19 13:26:46.585 [opensc-tool] ctx.c:787:sc_release_context: called
2014-10-19 13:26:46.585 [opensc-tool] reader-pcsc.c:745:pcsc_finish: called

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Opensc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: Regarding pcsc reader

Frank Morgner
I'm not sure what the problem is. What does the virtual card say when
you start it with -vvvvvvvvv?

Also, you could dig deeper and try to debug the virtual driver as
described here in section "Compile, Install and Debug":
http://www.codeproject.com/Articles/134010/An-UMDF-Driver-for-a-Virtual-Smart-Card-Reader

On Sunday, October 19 at 01:34PM, nsar nq wrote:

> Hi!
> I am trying to connect my virtual smart card with the reader . On viewing the detailed debug  OpenSC reader-pcsc shows card presence, connected then changed to card absent . Kindly provide some help.
> debug output:
> C:\Program Files (x86)\OpenSC Project\OpenSC\tools>opensc-tool -l -vvv# Detected readers (pcsc)Nr.  Card  Features  Name2014-10-19 13:26:46.569 [opensc-tool] sc.c:231:sc_detect_card_presence: called2014-10-19 13:26:46.569 [opensc-tool] reader-pcsc.c:370:pcsc_detect_card_presence: called2014-10-19 13:26:46.569 Virtual Smart Card Architecture Virtual PCD 0 check2014-10-19 13:26:46.569 current  state: 0x004402222014-10-19 13:26:46.569 previous state: 0x004400122014-10-19 13:26:46.569 card present, changed2014-10-19 13:26:46.569 [opensc-tool] reader-pcsc.c:375:pcsc_detect_card_presence: returning with: 32014-10-19 13:26:46.569 [opensc-tool] sc.c:236:sc_detect_card_presence: returning with: 30    Yes             Virtual Smart Card Architecture Virtual PCD 02014-10-19 13:26:46.569 [opensc-tool] card.c:125:sc_connect_card: called2014-10-19 13:26:46.569 [opensc-tool] reader-pcsc.c:450:pcsc_connect: called2014-10-19 13:26:46.569 Virtual Smart Card Architecture Virtual PCD 0 check2014-10-19 13:26:46.569 current  state: 0x004500122014-10-19 13:26:46.569 previous state: 0x004402222014-10-19 13:26:46.569 card absent, changed2014-10-19 13:26:46.569 [opensc-tool] reader-pcsc.c:457:pcsc_connect: returningwith: -1104 (Card not present)2014-10-19 13:26:46.585 [opensc-tool] card.c:249:sc_connect_card: returning with: -1104 (Card not present)     failed: Card not present2014-10-19 13:26:46.585 [opensc-tool] ctx.c:787:sc_release_context: called2014-10-19 13:26:46.585 [opensc-tool] reader-pcsc.c:745:pcsc_finish: called    
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> Opensc-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/opensc-devel

--
Frank Morgner

Virtual Smart Card Architecture http://vsmartcard.sourceforge.net
OpenPACE                        http://openpace.sourceforge.net
IFD Handler for libnfc Devices  http://sourceforge.net/projects/ifdnfc

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Opensc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opensc-devel

attachment0 (985 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Regarding pcsc reader

Tristan Timmermans
(Replying to the mailing list, please so as well)

Nsar,

Could you tell the info from "certutil -scinfo" ? Does that work or not? It could be a lack of proper minidriver but that might be a different problem altogether since I have little experience with pcsc drivers under windows I can't tell for sure.

Yours,

Tristan

2014-10-19 12:30 GMT+02:00 Frank Morgner <[hidden email]>:
I'm not sure what the problem is. What does the virtual card say when
you start it with -vvvvvvvvv?

Also, you could dig deeper and try to debug the virtual driver as
described here in section "Compile, Install and Debug":
http://www.codeproject.com/Articles/134010/An-UMDF-Driver-for-a-Virtual-Smart-Card-Reader

On Sunday, October 19 at 01:34PM, nsar nq wrote:
> Hi!
> I am trying to connect my virtual smart card with the reader . On viewing the detailed debug  OpenSC reader-pcsc shows card presence, connected then changed to card absent . Kindly provide some help.
> debug output:
> C:\Program Files (x86)\OpenSC Project\OpenSC\tools>opensc-tool -l -vvv# Detected readers (pcsc)Nr.  Card  Features  Name2014-10-19 13:26:46.569 [opensc-tool] sc.c:231:sc_detect_card_presence: called2014-10-19 13:26:46.569 [opensc-tool] reader-pcsc.c:370:pcsc_detect_card_presence: called2014-10-19 13:26:46.569 Virtual Smart Card Architecture Virtual PCD 0 check2014-10-19 13:26:46.569 current  state: 0x004402222014-10-19 13:26:46.569 previous state: 0x004400122014-10-19 13:26:46.569 card present, changed2014-10-19 13:26:46.569 [opensc-tool] reader-pcsc.c:375:pcsc_detect_card_presence: returning with: 32014-10-19 13:26:46.569 [opensc-tool] sc.c:236:sc_detect_card_presence: returning with: 30    Yes             Virtual Smart Card Architecture Virtual PCD 02014-10-19 13:26:46.569 [opensc-tool] card.c:125:sc_connect_card: called2014-10-19 13:26:46.569 [opensc-tool] reader-pcsc.c:450:pcsc_connect: called2014-10-19 13:26:46.569 Virtual Smart Card Architecture Virtual PCD 0 check2014-10-19 13:26:46.569 current  state: 0x004500122014-10-19 13:26:46.569 previous state: 0x004402222014-10-19 13:26:46.569 card absent, changed2014-10-19 13:26:46.569 [opensc-tool] reader-pcsc.c:457:pcsc_connect: returningwith: -1104 (Card not present)2014-10-19 13:26:46.585 [opensc-tool] card.c:249:sc_connect_card: returning with: -1104 (Card not present)     failed: Card not present2014-10-19 13:26:46.585 [opensc-tool] ctx.c:787:sc_release_context: called2014-10-19 13:26:46.585 [opensc-tool] reader-pcsc.c:745:pcsc_finish: called
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> Opensc-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/opensc-devel


--
Frank Morgner

Virtual Smart Card Architecture http://vsmartcard.sourceforge.net
OpenPACE                        http://openpace.sourceforge.net
IFD Handler for libnfc Devices  http://sourceforge.net/projects/ifdnfc

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Opensc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opensc-devel




--
Tristan Timmermans

Ubiqu Access B.V.
p: Molengraaffsingel 12, 2629JD Delft NL

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Opensc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opensc-devel