Hi,

I just tried a patch of libusb (https://libusb.org/ticket/133#comment:7).
With that patch, my USB3 works with Crypto Stick, but only when pcscd is
run in debug mode (at least LIBCCID_ifdLogLevel=0x000F pcscd
--foreground --debug).
Libusb then also in debug mode.

Can you explain why?

On 05/26/2012 03:47 PM, Ludovic Rousseau wrote:
>
> Very nice logs.
>
> In the USB 3.0 case we have:
> - the command is sent to the reader/card
> - the reader/card send a first block of response
> - a request to send the next block is sent to the reader/card with a
> timeout of 13824ms
> - the timeout expires and libusb returns an timeout error
> - some hypothesis
>  1. the token did not receive the command
>  2. the token did not sent the answer
>  3. the answer got lost somewhere
>
> In the USB 2.0 case we have the same sequence but without a timeout.
> The reader/card send the second block 21,706ms after the command.
>
> Every thing looks normal at the CCID and libusb level.
>
> You should now activate and capture logs at the kernel level using usbmon [1].
> But I can't help at this level. You really have to ask for help on the
> libusb mailing list. I am also on the libusb list (but not a USB
> expert).
>
> Also you can try using the very latest Linux kernel. Maybe your bug is
> already known and fixed.
>
> Bye
>
> [1] http://www.kernel.org/doc/Documentation/usb/usbmon.txt
>

-- 
Regards,
Quân

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to