[pkg-gnupg-maint] Bug#814584: gnupg2: gpg2 --card-status fail on armel / Raspberry Pi - "Card error"

Petter Reinholdtsen pere at hungry.com
Sat Jun 18 07:31:07 UTC 2016


[NIIBE Yutaka]
> It worked well with PC/SC service.  You can try to run PC/SC service
> on RPi, too.

I tried after installing pcscd, and got an error here too after ensuring
I had access to the device and the pcscd service were running:

2016-06-18 09:29:42 scdaemon[1131] listening on socket `/tmp/gpg-DKcKVL/S.scdaemon'
2016-06-18 09:29:42 scdaemon[1131] handler for fd -1 started
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver: using CCID reader 0 (ID=08E6:3438:0F9E69C2:0)
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver: idVendor: 08E6  idProduct: 3438  bcdDevice: 0200
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver: ChipCard Interface Descriptor:
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   bLength                54
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   bDescriptorType        33
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   bcdCCID              1.01  (Warning: Only accurate for version 1.0)
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   nMaxSlotIndex           0
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   bVoltageSupport         7  ?
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   dwProtocols             3  T=0 T=1
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   dwDefaultClock       4800
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   dwMaxiumumClock      4800
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   bNumClockSupported      0
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   dwDataRate          12903 bps
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   dwMaxDataRate      825806 bps
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   bNumDataRatesSupp.     53
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   dwMaxIFSD             254
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   dwSyncProtocols  00000000 
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   dwMechanical     00000000 
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   dwFeatures       00010230
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:     Auto clock change
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:     Auto baud rate change
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:     NAD value other than 0x00 accepted
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:     TPDU level exchange
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   dwMaxCCIDMsgLen       271
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   bClassGetResponse      00
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   bClassEnvelope         00
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   wlcdLayout           none
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   bPINSupport             0 
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   bMaxCCIDBusySlots       1
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver: usb_claim_interface failed: -16
2016-06-18 09:29:42 scdaemon[1131] PC/SC OPEN failed: unpowered card (0x80100067)
scdaemon[1131]: chan_7 -> OK GNU Privacy Guard's Smartcard server ready
scdaemon[1131]: chan_7 <- GETINFO socket_name
scdaemon[1131]: chan_7 -> D /tmp/gpg-DKcKVL/S.scdaemon
scdaemon[1131]: chan_7 -> OK
scdaemon[1131]: chan_7 <- SERIALNO openpgp
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver: using CCID reader 0 (ID=08E6:3438:0F9E69C2:0)
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver: idVendor: 08E6  idProduct: 3438  bcdDevice: 0200
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver: ChipCard Interface Descriptor:
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   bLength                54
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   bDescriptorType        33
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   bcdCCID              1.01  (Warning: Only accurate for version 1.0)
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   nMaxSlotIndex           0
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   bVoltageSupport         7  ?
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   dwProtocols             3  T=0 T=1
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   dwDefaultClock       4800
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   dwMaxiumumClock      4800
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   bNumClockSupported      0
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   dwDataRate          12903 bps
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   dwMaxDataRate      825806 bps
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   bNumDataRatesSupp.     53
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   dwMaxIFSD             254
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   dwSyncProtocols  00000000 
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   dwMechanical     00000000 
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   dwFeatures       00010230
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:     Auto clock change
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:     Auto baud rate change
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:     NAD value other than 0x00 accepted
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:     TPDU level exchange
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   dwMaxCCIDMsgLen       271
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   bClassGetResponse      00
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   bClassEnvelope         00
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   wlcdLayout           none
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   bPINSupport             0 
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver:   bMaxCCIDBusySlots       1
2016-06-18 09:29:42 scdaemon[1131] DBG: ccid-driver: usb_claim_interface failed: -16
2016-06-18 09:29:43 scdaemon[1131] PC/SC OPEN failed: unpowered card (0x80100067)
scdaemon[1131]: chan_7 -> ERR 100663404 Card error <SCD>
scdaemon[1131]: chan_7 <- RESTART
scdaemon[1131]: chan_7 -> OK
scdaemon[1131]: chan_7 <- [eof]
2016-06-18 09:29:43 scdaemon[1131] handler for fd -1 terminated
2016-06-18 09:29:43 scdaemon[1131] scdaemon (GnuPG) 2.0.26 stopped

-- 
Happy hacking
Petter Reinholdtsen



More information about the pkg-gnupg-maint mailing list