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

PCSC_scan hangs #141

Closed
beruysaliz opened this issue Jun 27, 2022 · 2 comments
Closed

PCSC_scan hangs #141

beruysaliz opened this issue Jun 27, 2022 · 2 comments

Comments

@beruysaliz
Copy link

Versions

  • smart card reader driver name and version
  • pcsc-lite version
  • the output of the command /usr/sbin/pcscd --version
    Screenshot from 2022-06-27 12-55-47

Platform

  • Operating system or GNU/Linux distribution name and version
  • ubuntu 18.04.5
  • Smart card middleware name and version
  • Smart card reader manufacturer name and reader model name
  • Gemalto (was Gemplus) GemPC Key SmartCard Reader
  • Smart card name
  • sysmoUSIM-SJS1

Issue

  • What do you do?
  • try to scan reader.
  • What result do you expect?
  • want to see usim.
  • What result do you get instead?
    Screenshot from 2022-06-27 12-47-46

Log

Then you shall generate a complete log (do not truncate it).

  • If you need to enter the smart card PIN to reproduce the problem then
    consider changing your PIN before generating the logs as the PIN value
    will be included in the logs.
  • Kill any running pcscd process
  • (re)start pcscd exactly as described bellow:
sudo LIBCCID_ifdLogLevel=0x000F pcscd --foreground --debug --apdu --color | tee log.txt
  • Stop pcscd (using Control-C) after the problem occured and send me the
    generated log.txt file
    Screenshot from 2022-06-27 12-54-39

See also https://pcsclite.apdu.fr/#support

@LudovicRousseau
Copy link
Owner

You have rebuilt pcsc-lite yourself.
By default it uses /usr/local/lib/pcsc/ to search for reader drivers. But you have NO driver installed in this directory.

You have 2 versions of pcscd installed on your system:

  • /usr/sbin/pcscd (from the Ubuntu package)
  • /usr/local/sbin/pcscd (local built)

This is a bad idea.

A good idea is to remove your "custom" pcsc-lite and use only Ubuntu packages.
You may also upgrade to Ubuntu 22.04

@beruysaliz
Copy link
Author

Thank you I installed Linux 20.04 and now works.

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