Pinpad input problem for GemPC Pinpad reader

NIIBE Yutaka gniibe at fsij.org
Thu Jan 10 09:15:22 CET 2013


It seems that GemPC Pinpad reader is single threaded.

I need to configure SCDaemon with debug-disable-ticker option to
use the reader reliably (or I need to input quickly).

Here is a log when I don't configure debug-disable-ticker option.

When we were in use of pinpad, apdu_get_status got timeout (after 5
seconds, the timeout value of bulk_out).  See usb_bulk_write
failed: -110.

2013-01-10 16:23:20 scdaemon[31605] DBG: ccid-driver: PC_to_RDR_Secure:
2013-01-10 16:23:20 scdaemon[31605] DBG: ccid-driver:   dwLength ..........: 28
2013-01-10 16:23:20 scdaemon[31605] DBG: ccid-driver:   bSlot .............: 0
2013-01-10 16:23:20 scdaemon[31605] DBG: ccid-driver:   bSeq ..............: 178
2013-01-10 16:23:20 scdaemon[31605] DBG: ccid-driver:   bBMI ..............: 0x00
2013-01-10 16:23:20 scdaemon[31605] DBG: ccid-driver:   wLevelParameter ...: 0x0000
2013-01-10 16:23:20 scdaemon[31605] DBG: ccid-driver:   [0010]  00 00 82 08 00 08
2013-01-10 16:23:20 scdaemon[31605] DBG: ccid-driver:   [0016]  04 02 01 09 04 00 00 00 0D 00 20 00 83 08 FF FF
2013-01-10 16:23:20 scdaemon[31605] DBG: ccid-driver:   [0032]  FF FF FF FF FF FF
2013-01-10 16:23:21 scdaemon[31605] DBG: enter: apdu_get_status: slot=0 hang=0
2013-01-10 16:23:24 scdaemon[31605] DBG: ccid-driver: time extension requested (80,2B)
2013-01-10 16:23:24 scdaemon[31605] DBG: ccid-driver: time extension requested (80,2B)
2013-01-10 16:23:25 scdaemon[31605] DBG: ccid-driver: time extension requested (80,2B)
2013-01-10 16:23:26 scdaemon[31605] DBG: ccid-driver: usb_bulk_write failed: -110
2013-01-10 16:23:26 scdaemon[31605] DBG: leave: apdu_get_status => sw=0x1000a status=7 changecnt=5
2013-01-10 16:23:26 scdaemon[31605] DBG: chan_8 <- SERIALNO
2013-01-10 16:23:26 scdaemon[31605] DBG: chan_8 -> S SERIALNO D2760001240102000005000010AF0000 0
2013-01-10 16:23:26 scdaemon[31605] DBG: chan_8 -> OK
2013-01-10 16:23:26 scdaemon[31605] DBG: chan_8 <- LEARN --force
2013-01-10 16:23:26 scdaemon[31605] DBG: chan_8 -> S SERIALNO D2760001240102000005000010AF0000 0
2013-01-10 16:23:26 scdaemon[31605] DBG: chan_8 -> S APPTYPE OPENPGP
2013-01-10 16:23:26 scdaemon[31605] DBG: ccid-driver: time extension requested (80,2B)
2013-01-10 16:23:26 scdaemon[31605] DBG: enter: apdu_get_status: slot=0 hang=0
2013-01-10 16:23:26 scdaemon[31605] DBG: ccid-driver: time extension requested (80,2B)
2013-01-10 16:23:27 scdaemon[31605] DBG: ccid-driver: time extension requested (80,2B)
2013-01-10 16:23:27 scdaemon[31605] DBG: ccid-driver: time extension requested (80,2B)
2013-01-10 16:23:29 scdaemon[31605] DBG: ccid-driver: time extension requested (80,2B)
2013-01-10 16:23:31 scdaemon[31605] DBG: ccid-driver: time extension requested (80,0D)
2013-01-10 16:23:31 scdaemon[31605] DBG: ccid-driver: RDR_to_PC_DataBlock:
2013-01-10 16:23:31 scdaemon[31605] DBG: ccid-driver:   dwLength ..........: 6
2013-01-10 16:23:31 scdaemon[31605] DBG: ccid-driver:   bSlot .............: 0
2013-01-10 16:23:31 scdaemon[31605] DBG: ccid-driver:   bSeq ..............: 178
2013-01-10 16:23:31 scdaemon[31605] DBG: ccid-driver:   bStatus ...........: 0
2013-01-10 16:23:31 scdaemon[31605] DBG: ccid-driver:   [0010]  00 00 02 90 00 92
2013-01-10 16:23:31 scdaemon[31605] DBG: leave: apdu_get_status => sw=0x0 status=7 changecnt=6
2013-01-10 16:23:31 scdaemon[31605] updating reader 0 (0) status: 0x0007->0x0007 (5->6)

-- 





More information about the Gnupg-devel mailing list