Description of problem:
I have a card reader and inserted a cryptographic card. Nothing detected.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Insert smart card.
2. Run opensc-tool --list-readers
No smart card readers found.
1 reader found.
The same reader reads some kinds of SD cards and has bluetooth, so I expect it to work for this too.
It could be a drivers issue, but I don't know where else to post this :S
The "driver" is pcscd (and pcsc-lite-ccid). Which card reader is that? The supported in ccid are shown below:
If it is one of the supported, what do you see in dmesg when you enter the card? What do you see with pcsc_scan?
I installed pcsc-lite-ccid and rebooted (I found no pcscd package).
I'm not sure how to know the card reader type, but it seems pcsc_scan works (I removed numbers in case it matters for security):
PC/SC device scanner
V 1.4.23 (c) 2001-2011, Ludovic Rousseau <email@example.com>
Compiled with PC/SC lite version: 1.8.13
Using reader plug'n play mechanism
Scanning present readers...
0: Generic USB2.0-CRW [Smart Card Reader Interface] ****
Tue Nov 17 19:28:10 2015
Reader 0: Generic USB2.0-CRW [Smart Card Reader Interface] ****
Card state: Card inserted,
defined(@array) is deprecated at /usr/lib64/perl5/vendor_perl/Chipcard/PCSC.pm line 69.
(Maybe you should just omit the defined()?)
ATR: **** = 3B --> Direct Convention
+ T0 = 7F, Y(1): 0111, K: 15 (historical bytes)
TA(1) = 38 --> Fi=744, Di=12, 62 cycles/ETU
64516 bits/s at 4 MHz, fMax for Fi = 8 MHz => 129032 bits/s
TB(1) = 00 --> VPP is not electrically connected
TC(1) = 00 --> Extra guard time: 0
+ Historical bytes: ****
Category indicator byte: 00 (compact TLV data object)
Tag: 6, len: A (pre-issuing data)
Mandatory status indicator (3 last bytes)
LCS (life card cycle): 03 (Initialisation state)
SW: 9000 (Normal processing.)
Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
DNI electronico (Spanish electronic ID card)
Also, after installing pcsc-tools, `opensc-tool --list-readers` shows:
# Detected readers (pcsc)
Nr. Card Features Name
0 Yes Generic USB2.0-CRW [Smart Card Reader Interface] (****) 00 00
So it seems the problem was the missing package.
And dmesg shows nothing.
Shouldn't these packages be autoinstalled or something like that to allow support for smart cards out of the box?
So it seems your missing software was "pcsc-lite-ccid" which contains the "drivers" for usb cards. pcsc-lite can work without it, but we don't provide any other driver. It would then make sense to add a "Recommends: pcsc-lite-ccid" to pcsc-lite. Any objections?