-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Running pcsc_scan as normal user results in SCardEstablishContext: RPC transport error because of missing polkit rule in Gentoo/Funtoo. #40
Comments
~> |
If I understand correctly the problem reported in https://wiki.gentoo.org/wiki/Talk:PCSC-Lite is that pcscd is not started as the correct user (or that the configuration is not complete so that pcscd can run as a non-root user). In your case does this configuration works:
|
No this does not work, get the same error In the other screen I get:
|
It is a configuration issue in your system. |
My user is in the When I compile version 1.9.0 from source according to: https://pcsclite.apdu.fr/
results in
|
00000170 [140356365488320] dyn_unix.c:58:DYN_LoadLibrary() /usr/local/lib/pcsc/drivers/scmccid.bundle/Contents/Linux/libscmccid.so.5.0.35: libusb-0.1.so.4: cannot open shared object file: No such file or directory The driver is complaining that libusb-0.1.so.4 is missing. Maybe you should use my ccid driver instead of the proprietary SCM driver. |
How do I install your |
Maybe you should not use Gentoo if you are now able to find a package |
You should report the problem to the Gentoo ccid package if you can't rebuild it. |
Above error is from your code. Not from Gentoo. Gentoo compiles fine. https://github.com/LudovicRousseau/CCID/blob/master/INSTALL |
Then use the Gentoo version of the ccid driver. I note that the "Identiv uTrust 2700 R Smart Card Reader" is NOT in the list of readers supported by my CCID driver. So using the SCM proprietary driver may be the only option. |
why does it then work very well on Ubuntu without any problems? I do not think this is about the drivers. This is about wrong permissions. |
What works well on Ubuntu? |
Reading a smartcard with my "Identiv uTrust 2700 R Smart Card Reader".
Where do I find the log on Ubuntu? Or do you want the log from Funtoo? |
Follow https://ccid.apdu.fr/#support to generate the log on Ubuntu |
I done the following steps:
|
I understand now. With my CCID driver the reader is named "Identive CLOUD 2700 R Smart Card Reader" without the "uTrust" so I did not found it. I propose to remove the SCM driver from your system and install the CCID driver from Gentoo. If you can't install the Gentoo package app-crypt/ccid then report the problem to Gentoo. I can't help with Gentoo packages. |
Ok I will try to use a released .tar.bz2 file. I CAN install the Gentoo package app-crypt/ccid. |
So I am lost. |
If you click the link in the comment above then you see that the error comes from compiling your software. The Gentoo package installs fine. I already stated that twice above. |
Your CCID gives me the following configure error:
I never installed an SCM Driver. I only worked with the Gentoo package. And then I tried to compile from your source and got above error. |
The SCM driver is |
Ok, I removed |
Still it only works with "sudo pcsc_scan" |
Ok installing https://ccid.apdu.fr/files/ccid-1.4.32.tar.bz2 from source works fine. |
Where does |
I installed this from source: http:https://ludovic.rousseau.free.fr/softwares/pcsc-tools/pcsc-tools-1.5.7.tar.bz2 and I get the same error when I run
|
What is the meaning of this error:
|
starting
|
When I install |
Your problem is with this line https://github.com/LudovicRousseau/PCSC/blob/master/src/auth.c#L125 Your pcsc-lite has been configured with Ask Gentoo for help. Or read polkit documentation. |
Thank you for your help! For future reference for Gentoo and Funtoo: https://bugs.funtoo.org/browse/FL-7563?focusedCommentId=46328&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-46328 so other user can save some time. |
Running pcsc_scan as normal user results in
SCardEstablishContext: RPC transport error.
I am trying to get my SCM Microsystems, Inc. CLOUD 2700 R Smart Card Reader working on Funtoo.
sudo /etc/init.d/pcscd
start is working as well.pcsc_scan
SCardEstablishContext: RPC transport error.
sudo /usr/sbin/pcscd -a -f
sudo pcsc_scan
works perfectly well.this is the Funtoo Bug report: https://bugs.funtoo.org/browse/FL-7563
The text was updated successfully, but these errors were encountered: