WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: pcsc-lite.tcz depends to ccid.tcz but not exist  (Read 3042 times)

Offline ikeji

  • Newbie
  • *
  • Posts: 12
pcsc-lite.tcz depends to ccid.tcz but not exist
« 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?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: pcsc-lite.tcz depends to ccid.tcz but not exist
« Reply #1 on: February 19, 2016, 11:23:56 AM »
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.

Offline ikeji

  • Newbie
  • *
  • Posts: 12
Re: pcsc-lite.tcz depends to ccid.tcz but not exist
« Reply #2 on: February 20, 2016, 01:30:37 AM »
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,

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: pcsc-lite.tcz depends to ccid.tcz but not exist
« Reply #3 on: February 20, 2016, 01:39:00 AM »
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.

Offline thane

  • Hero Member
  • *****
  • Posts: 697
Re: pcsc-lite.tcz depends to ccid.tcz but not exist
« Reply #4 on: February 20, 2016, 01:46:08 AM »
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.

Offline ikeji

  • Newbie
  • *
  • Posts: 12
Re: pcsc-lite.tcz depends to ccid.tcz but not exist
« Reply #5 on: February 20, 2016, 02:00:48 AM »
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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: pcsc-lite.tcz depends to ccid.tcz but not exist
« Reply #6 on: February 20, 2016, 02:19:52 AM »
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...

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: pcsc-lite.tcz depends to ccid.tcz but not exist
« Reply #7 on: February 20, 2016, 02:21:20 AM »
Hi ikeji
Quote
How do you know the file pcsc-lite.tcz was came from 4.x repository?
The  .info  files are identical.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: pcsc-lite.tcz depends to ccid.tcz but not exist
« Reply #8 on: February 20, 2016, 03:06:55 AM »
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.
« Last Edit: February 20, 2016, 03:10:20 AM by Juanito »

Offline ikeji

  • Newbie
  • *
  • Posts: 12
Re: pcsc-lite.tcz depends to ccid.tcz but not exist
« Reply #9 on: February 20, 2016, 04:48:22 AM »
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.