Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: ikeji on February 19, 2016, 04:34:05 AM
-
I want to use pcscd (package name: pcsc-lite.tcz)
But pcscd can't boot because there are no driver file.
The info file said:
http://www.tinycorelinux.net/6.x/x86/tcz/pcsc-lite.tcz.info
>PCSC library. Drivers are in ccid.tcz.
I can't found ccid.tcz in the repository
http://www.tinycorelinux.net/6.x/x86/tcz/
Did I missing something?
-
Hi ikeji
Based on http://www.tinycorelinux.net/6.x/x86/tcz/pcsc-lite.tcz.info it looks like pcsc-lite.tcz was copied from the
TC4.x repository.
Try using http://www.tinycorelinux.net/4.x/x86/tcz/ccid.tcz and report back whether it works or not.
-
Thanks for reply.
I tried ccid.tcz from 4.x directory.
Unfortunately it's not work on my machine.
Without the ccid.tcz, pcscd said file not found error.
With ccid.tcz, it said connection error.
How do you know the file pcsc-lite.tcz was came from 4.x repository?
Thanks,
-
Perhaps you need libusb-compat for ccid to work in tc-6.x?
It would be helpful if you could give the exact error message.
-
If you click on Downloads and then Browse TCZs, you can change the 6.x in the URL to 5.x or 4.x etc. and browse those repositories. Handy if you need to locate an extension that didn't get migrated.
-
Here is the log from "pcscd -f -d"
00252675 winscard_msg_srv.c:202:ProcessEventsServer() Common channel packet arrival
00000103 winscard_msg_srv.c:214:ProcessEventsServer() ProcessCommonChannelRequest detects: 5
00000021 pcscdaemon.c:91:SVCServiceRunLoop() A new context thread creation is requested: 5
00000164 winscard_svc.c:297:ContextThread() Thread is started: dwClientID=5, threadContext @83CEF30
00000053 winscard_svc.c:315:ContextThread() Received command: CMD_VERSION from client 5
00000035 winscard_svc.c:327:ContextThread() Client is protocol version 4:2
00000024 winscard_svc.c:347:ContextThread() CMD_VERSION rv=0x0 for client 5
00000162 winscard_svc.c:315:ContextThread() Received command: ESTABLISH_CONTEXT from client 5
00000051 winscard.c:193:SCardEstablishContext() Establishing Context: 0x103B6CE
00000025 winscard_svc.c:408:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 5
00000231 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
00000248 winscard_svc.c:315:ContextThread() Received command: RELEASE_CONTEXT from client 5
00000038 winscard.c:204:SCardReleaseContext() Releasing Context: 0x103B6CE
00000021 winscard_svc.c:423:ContextThread() RELEASE_CONTEXT rv=0x0 for client 5
00000288 winscard_svc.c:307:ContextThread() Client die: 5
00000057 winscard_svc.c:918:MSGCleanupClient() Thread is stopping: dwClientID=5, threadContext @83CEF30
00000025 winscard_svc.c:924:MSGCleanupClient() Freeing SCONTEXT @83CEF30
I trid to install libusb-compat.tcz from 5.x repository. but the result is same.
-
Hmm - I'd guess that pcsc-lite and ccid are functional, but cannot communicate with your card for some other reason - too old, bug, etc...
-
Hi ikeji
How do you know the file pcsc-lite.tcz was came from 4.x repository?
The .info files are identical.
-
copied ccid to tc-5.x 6.x and 7.x repos since it appears functional.
You could perhaps pm the maintainer and request an update, recent versions of both pcsc-lite and ccid exist.
-
Thanks all,
I'm afraid that this is my hardware's problem.
And I also have a problem in gnupg side ( http://forum.tinycorelinux.net/index.php/topic,18572.msg121684.html )
So I tried to build myself and it's works.
I compiled these binaries:
----
gnupg-2.0.29
libgpg-error-1.21
pinentry-0.9.7
pth-2.0.7
ccid-1.4.21
pcsc-lite-1.8.15
----
With these existing packages:
----
libusb
libksba
libassuan
libgcrypt
----
Thanks for all helps.