[Pcsclite-muscle] Possible cause for error "CCID_Receive Activity aborted by Host"

Ludovic Rousseau ludovic.rousseau at gmail.com
Wed Nov 5 14:59:14 UTC 2014


2014-11-05 14:49 GMT+01:00 Umberto Rustichelli <umberto.rustichelli at gt50.org>:
> Hi all,

Hello,

> during a signature stree test, I recently encountered this non-replicable
> error in the logs (all the USB smart cards connected to a USB hub stopped
> working):
>
> pcscd: commands.c:1245:CCID_Receive Activity aborted by Host
>
> I'm not sure but it seems that this comes from commands.c -> ccid.c (old
> versions, sorry).
>
> in ccid.c, function CCID_Receive:
> if (cmd[STATUS_OFFSET] & CCID_COMMAND_FAILED)
>         {
>                 ccid_error(cmd[ERROR_OFFSET], __FILE__, __LINE__,
> __FUNCTION__);
>                 ....
>         }
> ...in ccid.c, function ccid_error:
> case 0xFF:
>                         text = "Activity aborted by Host";
>                         break;
>
> So, the command status (cmd[STATUS_OFFSET]) is 0xFF.
>
> I've never seen this!
> What is it/may be in terms of hardware? What could be the actual cause?

I have never seen this error before.
The reader itself returned the error.

I don't know what can cause this error. You would need a USB analyzer.
But that will be difficult if the error is non-replicable.

Bye

-- 
 Dr. Ludovic Rousseau



More information about the Pcsclite-muscle mailing list