Fedora Core 5 and SCR335
Andreas Martin
ama at inmedias.it
Thu May 18 14:28:35 CEST 2006
Hi all.
I have some trouble to set up my cardreader (SCM SCR335, USB) properly
under Fedora Cor 5 (with udev). The cardreader itself an the
OpenPGP-card work fine on my notebook (Debian Sarge, with hotplug), so
it is not a hardware problem.
Furthermore, i can use the cardreader with the gnupg ccid-driver as user
"root", but not as user "andi" (member of the group "scard").
In my opinion, the permissions in /proc/bus/usb/001/005 (or wherever the
cardreader comes up) are set correctly:
# ls -l /proc/bus/usb/001
-rw-rw---- 1 root scard 111 18. Mai 13:32 005
As user "andi" i get the following result:
# gpg --card-status --debug-ccid-driver
gpg: DBG: ccid-driver: using CCID reader 0 (ID=04E6:5115:X:0)
gpg: DBG: ccid-driver: idVendor: 04E6 idProduct: 5115 bcdDevice: 0416
gpg: DBG: ccid-driver: ChipCard Interface Descriptor:
gpg: DBG: ccid-driver: bLength 54
gpg: DBG: ccid-driver: bDescriptorType 33
gpg: DBG: ccid-driver: bcdCCID 1.00
gpg: DBG: ccid-driver: nMaxSlotIndex 0
gpg: DBG: ccid-driver: bVoltageSupport 1 5.0V
gpg: DBG: ccid-driver: dwProtocols 3 T=0 T=1
gpg: DBG: ccid-driver: dwDefaultClock 4000
gpg: DBG: ccid-driver: dwMaxiumumClock 12000
gpg: DBG: ccid-driver: bNumClockSupported 0
gpg: DBG: ccid-driver: dwDataRate 9600 bps
gpg: DBG: ccid-driver: dwMaxDataRate 115200 bps
gpg: DBG: ccid-driver: bNumDataRatesSupp. 0
gpg: DBG: ccid-driver: dwMaxIFSD 252
gpg: DBG: ccid-driver: dwSyncProtocols 00000000
gpg: DBG: ccid-driver: dwMechanical 00000000
gpg: DBG: ccid-driver: dwFeatures 000100BA
gpg: DBG: ccid-driver: Auto configuration based on ATR
gpg: DBG: ccid-driver: Auto voltage selection
gpg: DBG: ccid-driver: Auto clock change
gpg: DBG: ccid-driver: Auto baud rate change
gpg: DBG: ccid-driver: Auto PPS made by CCID
gpg: DBG: ccid-driver: TPDU level exchange
gpg: DBG: ccid-driver: dwMaxCCIDMsgLen 263
gpg: DBG: ccid-driver: bClassGetResponse echo
gpg: DBG: ccid-driver: bClassEnvelope echo
gpg: DBG: ccid-driver: wlcdLayout none
gpg: DBG: ccid-driver: bPINSupport 0
gpg: DBG: ccid-driver: bMaxCCIDBusySlots 1
gpg: DBG: ccid-driver: enabling workaround for buggy SCM readers
gpg: DBG: ccid-driver: usb_claim_interface failed: -1
gpg: apdu_open_reader: failed to open driver `libpcsclite.so':
libpcsclite.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder
Verzeichnis nicht gefunden
gpg: card reader not available
gpg: OpenPGP Karte ist nicht vorhanden: Allgemeiner Fehler
As user "root" i get:
# gpg --card-status --debug-ccid-driver
gpg: DBG: ccid-driver: using CCID reader 0 (ID=04E6:5115:5040506C:0)
gpg: DBG: ccid-driver: idVendor: 04E6 idProduct: 5115 bcdDevice: 0416
gpg: DBG: ccid-driver: ChipCard Interface Descriptor:
gpg: DBG: ccid-driver: bLength 54
gpg: DBG: ccid-driver: bDescriptorType 33
gpg: DBG: ccid-driver: bcdCCID 1.00
gpg: DBG: ccid-driver: nMaxSlotIndex 0
gpg: DBG: ccid-driver: bVoltageSupport 1 5.0V
gpg: DBG: ccid-driver: dwProtocols 3 T=0 T=1
gpg: DBG: ccid-driver: dwDefaultClock 4000
gpg: DBG: ccid-driver: dwMaxiumumClock 12000
gpg: DBG: ccid-driver: bNumClockSupported 0
gpg: DBG: ccid-driver: dwDataRate 9600 bps
gpg: DBG: ccid-driver: dwMaxDataRate 115200 bps
gpg: DBG: ccid-driver: bNumDataRatesSupp. 0
gpg: DBG: ccid-driver: dwMaxIFSD 252
gpg: DBG: ccid-driver: dwSyncProtocols 00000000
gpg: DBG: ccid-driver: dwMechanical 00000000
gpg: DBG: ccid-driver: dwFeatures 000100BA
gpg: DBG: ccid-driver: Auto configuration based on ATR
gpg: DBG: ccid-driver: Auto voltage selection
gpg: DBG: ccid-driver: Auto clock change
gpg: DBG: ccid-driver: Auto baud rate change
gpg: DBG: ccid-driver: Auto PPS made by CCID
gpg: DBG: ccid-driver: TPDU level exchange
gpg: DBG: ccid-driver: dwMaxCCIDMsgLen 263
gpg: DBG: ccid-driver: bClassGetResponse echo
gpg: DBG: ccid-driver: bClassEnvelope echo
gpg: DBG: ccid-driver: wlcdLayout none
gpg: DBG: ccid-driver: bPINSupport 0
gpg: DBG: ccid-driver: bMaxCCIDBusySlots 1
gpg: DBG: ccid-driver: enabling workaround for buggy SCM readers
gpg: DBG: ccid-driver: usb_bulk_read error: Die Ressource ist zur Zeit
nicht verfügbar
gpg: DBG: ccid-driver: USB: CALLING USB_CLEAR_HALT
gpg: DBG: ccid-driver: usb_bulk_read error: Die Ressource ist zur Zeit
nicht verfügbar
gpg: DBG: ccid-driver: USB: RETRYING bulk_in AGAIN
gpg: DBG: ccid-driver: usb_bulk_read error: Die Ressource ist zur Zeit
nicht verfügbar
gpg: DBG: ccid-driver: USB: RETRYING bulk_in AGAIN
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 00
data: 3B FA 13 00 FF 81 31 80 45 00 31 C1 73 C0 01 00 00
90 00 B1
gpg: DBG: ccid-driver: sending 61 07 00 00 00 00 05 01 00 00 01 10 00 41
00 FE 00
[...]
So I think it is a permission issue, but I can't figure out where.
Does anyone have any idea?
Any comments are appreciated!
Thanks
Andreas
More information about the Gnupg-users
mailing list