On 26/03/2016 14:01, Ludovic Rousseau wrote:


Le 25/03/2016 12:52, Eric Valette a écrit :
On 03/24/2016 06:56 PM, Ludovic Rousseau wrote:
LIBUSB_DEBUG=99 pcscd -dfaT | tee log.txt

Here it is.

NB: the process was actually at 106% after inerting the key before I
stooped.

Eric,
 From the pcscd trace you sent I see that an application (or maybe 2
because I see 2 clients) is continuously calling SCardGetStatusChange()
with a 200 ms timeout.

Ye I noticed it too while taling the traces. However it started before the key was inserted and did not lead to noticeable CPU consumption.

In pcsc-lite 1.8.16 (that should arrive in Debian testing on Monday 28th
March 2016) I fixed a bug related to SCardCancel() and
SCardGetStatusChange().
Maybe that would fix the problem you have.

Given what I said earlier, I'm not sure but I will test and report.


Do you know what application is using pcscd?
To list all the applications using libpcsclite you can use:
$ sudo lsof /usr/lib/x86_64-linux-gnu/libpcsclite.so.1

Have you configured wpa_supplicant (Wifi password) to use the smart card?

No. Unless a kde stuff is doing that I normally use smart card only for VPN access "manually".

-- eric

Reply via email to