Le 22/01/2016 16:05, eric2.vale...@orange.com a écrit :
On 01/22/2016 03:52 PM, Ludovic Rousseau wrote:
Le 22/01/2016 15:18, eric2.vale...@orange.com a écrit :
On 01/22/2016 03:06 PM, Ludovic Rousseau wrote:
Le 22/01/2016 13:11, eric2.vale...@orange.com a écrit :
On 01/20/2016 03:07 PM, Ludovic Rousseau wrote:

It does not look like the problem is the Broadcom reader.

Can you generate a log as documented in 
https://pcsclite.alioth.debian.org/pcsclite.html#support ?
Start the log and then connect your problematic mass-storage USB key.

Thanks


Here is the requested log file. Note that I'm not sure the trace will help:
     1) As soon as I launch it, I have continuous traces but process does not 
even appaers in the top first twenty line,

You have 1 (or 2) application that is continuously (every 200 ms) asking PC/SC 
for card status. That is a very bad PC/SC behaviour.
You should try to identify the bogus application and fix it.
I guess I have installed a binary blob packages given my a key manufacturer :-( 
SACSrv il you kinow wht it is... Will kill it and retry

You can identify a process using PC/SC using:
$ sudo fuser /usr/lib/x86_64-linux-gnu/libpcsclite.so.1
sudo fuser /usr/lib/x86_64-linux-gnu/libpcsclite.so.1
[sudo] password for ceva6380:
/usr/lib/x86_64-linux-gnu/libpcsclite.so.1.0.0: 14662m
19 r-x-ceva6380:~->ps ax | grep 14662
14662 ?        Sl    11:53 /usr/bin/iceweasel
22156 pts/5    S+     0:00 grep 14662


Quite strange!!!

Not really.
You (or an installation script) has configured a PKCS#11 token in iceveasel.
See 
https://github.com/OpenSC/OpenSC/wiki/Installing-OpenSC-PKCS%2311-Module-in-Firefox,-Step-by-Step


Maybe a problem in libusb.

What version of libusb are you using?
dpkg -l libusb*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                              Version Architecture          Description
+++-=================================-=====================-=====================-========================================================================
ii  libusb-0.1-4:amd64                2:0.1.12-28 amd64                 
userspace USB programming library
ii  libusb-1.0-0:amd64                2:1.0.20-1 amd64                 
userspace USB programming library
ii  libusb-1.0-0-dev:amd64            2:1.0.20-1 amd64                 
userspace USB programming library development files
ii  libusb-1.0-doc                    2:1.0.20-1 all                   
documentation for userspace USB programming
ii  libusb-dev                        2:0.1.12-28 amd64                 
userspace USB programming library development files
ii  libusbmuxd-dev:amd64              1.0.10-2 amd64                 USB 
multiplexor daemon for iPhone and iPod Touch devices - devel
ii  libusbmuxd-tools                  1.0.10-2 amd64                 USB 
multiplexor daemon for iPhone and iPod Touch devices - tools
ii  libusbmuxd4:amd64                 1.0.10-2 amd64                 USB 
multiplexor daemon for iPhone and iPod Touch devices - library
2 r-x-ceva6380:~->su


Run pcscd as:
$ sudo LIBUSB_DEBUG=99 /usr/sbin/pcscd -dfa

Bye

attached log  : no specific usb trace while pcscd is at 100% cpu.

Strange.
I also have the Debian package for libusb (1.0.19 from stable) and I get libusb 
logs.

Can you downgrade libusb to version 1.0.19 and test again?

bye

--
 Dr. Ludovic Rousseau

Reply via email to