Re: USB problem with ACR1222L reader

Ludovic Rousseau <[email protected]>
Newsgroups gmane.comp.lib.muscle
Message-ID <CAGstE8CfJv8pSRSzUMcSTx9qF=47b_65pgq9VNN+fa1F68SHhQ@mail.gmail.com>
2014-03-04 9:32 GMT+01:00 Patrick Rotsaert <[email protected]>:
> Hi,

Hello,

> an application that works on a virtual machine (vmware), does not work on "real" hardware. O/S, software and libraries are exactly the same.

In general the problem is the inverse. OK on a real hardware and
problem in a virtual machine.

> Error happens consistently at the same time.
> After card insertion event, detected with SCardGetStatusChange(), a SCardControl() call to put a message on the reader's display returns the error SCARD_E_NOT_TRANSACTED
> On the daemon side, following errors are produced many times: ccid_usb.c:1099:ReadUSB() Duplicate frame detected.
> Since all software is the same on both virtual and real hardware, I'm suspecting that the problem lies on USB level, but I have no idea how to fix this.
>
> I have attached 2 logs:
> pcscd-ubuntu1204-barehw.log : the log with the errors
> pcscd-ubuntu1204-vmware.log : for reference, the log without the errors.
>
> Note: the log output is without the LIBCCID_ifdLogLevel=0x000F, because the reader is not even found with that setting.

That is very strange. A bug in the ACS driver?

> CCID driver version:
> dpkg -l | grep ccid
> ii  libacsccid1                        1.0.5-1~precise1                  PC/SC driver for ACS USB CCID smart card readers
> ii  libccid                            1.4.5-1                           PC/SC driver for USB CCID smart card readers

In both cases you are using ifd-acsccid.bundle driver.
You should report the bug to the driver maintainer, i.e. ACS.

Bye

-- 
 Dr. Ludovic Rousseau
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.