Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LIBUSB_ERROR_OVERFLOW with built-in Broadcom reader #32

Closed
wtraylor opened this issue Feb 19, 2018 · 1 comment
Closed

LIBUSB_ERROR_OVERFLOW with built-in Broadcom reader #32

wtraylor opened this issue Feb 19, 2018 · 1 comment

Comments

@wtraylor
Copy link

The built-in smartcard reader of my laptop (“Broadcom Corp 5880”) does not reliably work with PCSC. Unpredictably, it is sometimes not recognized by PCSC.

The error code is LIBUSB_ERROR_OVERFLOW. Below is the log from journalctl --unit=pcscd after starting sudo pcscd --foreground --debug. The output is the same whether I have my smartcard (GnuPG v2.1) inserted or not.
log.txt

Looking at the libusb API documentation, I suspect that in readerfactory.c:376:RFAddReader() the buffer length is not set correctly to a multiple of the endpoint’s packet size.

I work in Arch Linux and have the latest versions from the repository:

  • pcsclite: 1.8.23
  • ccid: 1.4.28-1
  • libusb: 1.0.21-2
@LudovicRousseau
Copy link
Owner

First I recommend to update the "reader" firmware. This may be part of a BIOS upgrade.
Many issues have been fixed by Broadcom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants