[PATCH] migration to libusb-1.0

Andre Heinecke aheinecke at intevation.de
Fri Feb 26 12:55:45 CET 2016


On Friday 26 February 2016 09:22:04 NIIBE Yutaka wrote:
> If you see any problem with d0d9708 + 3d952a2, please let me know.
> I also keep using master to see if there will issues.

Today I was using master (75861b6) and at first everything worked normally.
Then it stopped working. I'm not sure what I did at the time the error is in 
the log. I might have started a Windows VM in VirtualBox. But shutting it down 
did not help with the error. And starting it again after the error was 
resolved also did not cause it again.

The error in the log is:

2016-02-26 11:40:52 scdaemon[3727] DBG: ccid-driver: usb_bulk_write error: 
2016-02-26 11:40:52 scdaemon[3727] updating reader 0 (-1) status: 0x0007-
>0x0000 (1->1)
2016-02-26 11:40:52 scdaemon[3727] sending signal 12 to client 3410

I have not removed the smartcard or the reader at that point. There might be 
something wrong with my cable though. I see a disconnect with immediate 
reconnect in dmesg log.

Sometime later I wanted to use the card for auth and the error is then:

2016-02-26 12:37:50 scdaemon[3727] DBG: ccid-driver: usb_claim_interface 
failed: -6
2016-02-26 12:37:50 scdaemon[3727] DBG: chan_5 -> ERR 100663404 Card error 
2016-02-26 12:37:51 scdaemon[3727] DBG: chan_5 <- SERIALNO

I'm sending you the full log of todays scdaemon session off list.
This time just restarting gpg-agent (and so scdaemon) fixed the problem which 
it did not the first time I've had this problem.


Andre Heinecke |  ++49-541-335083-262  | http://www.intevation.de/
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 648 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20160226/fa442762/attachment-0001.sig>

More information about the Gnupg-devel mailing list