Bug 1033788 - Safenet SC650 smart cards are not detected
Summary: Safenet SC650 smart cards are not detected
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pcsc-lite-ccid
Version: 7.0
Hardware: Unspecified
OS: Linux
medium
unspecified
Target Milestone: rc
: ---
Assignee: Bob Relyea
QA Contact: Asha Akkiangady
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-22 22:32 UTC by Asha Akkiangady
Modified: 2017-01-07 18:22 UTC (History)
5 users (show)

Fixed In Version: pcsc-lite-ccid-1.4.10-3.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 13:03:28 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Asha Akkiangady 2013-11-22 22:32:58 UTC
Description of problem:
Safenet SC650 smart cards are not detected.

Version-Release number of selected component (if applicable):
pcsc-lite-1.8.8-2.el7.x86_64

How reproducible:


Steps to Reproduce:
1. Open ESC application on RHEL 7
2. Plug Safenet SC 650 card on a Omnikey3121 reader


Actual results:
Smart card not detected.

/var/log/messages has this:
Nov 22 16:49:24 dhcp129-98 pcscd: 81444707 commands.c:237:CmdPowerOn Card absent or mute
Nov 22 16:49:24 dhcp129-98 pcscd: 00000015 ifdhandler.c:1188:IFDHPowerICC() PowerUp failed
Nov 22 16:49:24 dhcp129-98 pcscd: 00000015 eventhandler.c:403:EHStatusHandlerThread() Error powering up card.
Nov 22 16:49:26 dhcp129-98 pcscd: 01199014 commands.c:237:CmdPowerOn Card absent or mute
Nov 22 16:49:26 dhcp129-98 pcscd: 00000009 ifdhandler.c:1188:IFDHPowerICC() PowerUp failed
Nov 22 16:49:26 dhcp129-98 pcscd: 00000005 winscard.c:317:SCardConnect() Error powering up card: 2148532246 0x80100016
Nov 22 16:49:26 dhcp129-98 pcscd: 00000003 winscard.c:322:SCardConnect() Card Not Powered
Nov 22 16:49:26 dhcp129-98 pcscd: 00799003 commands.c:237:CmdPowerOn Card absent or mute
Nov 22 16:49:26 dhcp129-98 pcscd: 00000016 ifdhandler.c:1188:IFDHPowerICC() PowerUp failed
Nov 22 16:49:26 dhcp129-98 pcscd: 00000006 winscard.c:317:SCardConnect() Error powering up card: 2148532246 0x80100016
Nov 22 16:49:26 dhcp129-98 pcscd: 00000005 winscard.c:322:SCardConnect() Card Not Powered
Nov 22 16:49:27 dhcp129-98 pcscd: 00798981 commands.c:237:CmdPowerOn Card absent or mute
Nov 22 16:49:27 dhcp129-98 pcscd: 00000015 ifdhandler.c:1188:IFDHPowerICC() PowerUp failed
Nov 22 16:49:27 dhcp129-98 pcscd: 00000005 winscard.c:317:SCardConnect() Error powering up card: 2148532246 0x80100016
Nov 22 16:49:27 dhcp129-98 pcscd: 00000004 winscard.c:322:SCardConnect() Card Not Powered

Expected results:

Safenet SC 650 card should be detected.

Additional info:

Comment 2 Jack Magne 2013-11-22 22:38:14 UTC
Issue seems to be the missing magic param in the Info.plist for pcsc-lite-ccid:


vi /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist


Make the following change:

 <key>ifdDriverOptions</key>
        <string>0x0020</string>


Out of the box the value is 0x0000

After doing this, the sc650 started getting recognized.

Comment 3 Bob Relyea 2013-11-26 18:52:58 UTC
<key>ifdDriverOptions</key>
        <string>0x0020</string>


This seems to indicate that the variable voltage code isn't in  upstream. I have a patch in RHEL 6 and RHEL 7 that alliviates the need for this change.

Comment 4 Bob Relyea 2013-11-26 23:23:12 UTC
Asha, can I get the qa ack back. I had to change the component to pcsc-lite-ccid. The package names changed between RHEL 6 and RHEL 7 (I know, confusing, but this is how upstream wanted them, so fedora changes them).

bob

Comment 5 Bob Relyea 2013-12-02 21:20:02 UTC
How do I get pm ack now? Once I have that I can create the errata for the patch.

Comment 7 Roshni 2014-02-07 17:35:49 UTC
Verified on pcsc-lite-ccid-1.4.10-5.el7.x86_64

Comment 8 Ludek Smid 2014-06-13 13:03:28 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.

Comment 10 Ludovic Rousseau 2017-01-07 18:22:16 UTC
The fix is now included in CCID 1.4.26
https://ludovicrousseau.blogspot.fr/2017/01/new-version-of-libccid-1426.html


Note You need to log in before you can comment on or make changes to this bug.