LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-06-2011, 09:06 AM   #1
gitanshu
LQ Newbie
 
Registered: May 2009
Posts: 18

Rep: Reputation: 1
smart card get response problem


Hi All,

i am using libpcsclite library 1.6.0 version to read smart card and verify the key written in that.

my problem is that i can access the card with one application running which continuously reads the card.

but when i run another instance of same application in am getting '6985' error code which means "Usage conditions not satisfied." as per the APDU command set which is standard used for most of the smart card and mine also.

Anybody knows solution for this..please help.
Thanks,
Gitanshu
 
Old 06-19-2012, 06:22 AM   #2
truboy
Member
 
Registered: Oct 2010
Location: Switzerland
Posts: 84

Rep: Reputation: 9
Hi,

Did you set the access mode for the smart card to SCARD_SHARE_SHARED when calling SCardConnect() ( http://pcsclite.alioth.debian.org/ap...4d630696a8d6a5 , dwShareMode argument) ?

Cheers
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
usb device detection, manual insertion card(smart card) reader problem, zapkhiel Linux - Hardware 4 07-17-2009 08:50 AM
Problem with PCMCIA smart card reader galapogos Linux - Software 10 10-05-2008 02:54 PM
Smart problem adding new channel in Smart-beta google01103 SUSE / openSUSE 1 11-21-2006 07:17 AM
Smart card reader (PCI) with open pgp card cracidy Linux - Hardware 0 10-24-2005 02:34 AM
problem with smart card reader pxes351 Linux - Hardware 2 03-07-2005 01:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration