pcscd only runs fine in "--debug" mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openct (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I've recently upgraded to 12.04/amd64 and now I can't use either my eToken Pro or e-gate card.
For exampe, a simple "opensc-tool -a" call fails if I do it twice in a row!?
See the log file that I attach as "report 1", made with OpenSC in debug mode.
Then I thought of running "pcscd" itself in debug mode, e.g.:
$ PCSCLITE_
Immediately my problem disappeared: I can call "opensc-tool -a" as much as I want without error. Other OpenSC-provided "pkcs1{1,5}-tool" calls worked fine as well.
See the log file attached as "report 2".
Finally, I switched "pcscd" error reporting mode to "error", just as a test. And back again was I in trouble...
Same symptom, I can't call this more than one or two times in a row before if fails :
$ PCSCLITE_
See the log file attached as "report 3".
And running "pcscd --info" produced the same behavior as with "--error"!? Only "--debug" works correctly some (strange) reason.
From "report 3": c:316:SCardConn ect() Error powering up card: -2146435050 0x80100016
Nov 8 17:44:33 optiplex960 pcscd: winscard.
The driver failed to power up the card.
I have no idea why the use of "--debug" would work better. pcsclite. alioth. debian. org/pcsclite. html#support to generate a complete pcscd trace?
Can you follow http://