[Pcsclite-muscle] More smart cards compile problem

Szentpétery István szempy at gmail.com
Fri Apr 28 09:13:58 UTC 2017


Hello
First of all i am not that good in linux, but i need to compile the pcsc
lite to be able to handle at least 128 smart cards, and i have made the
proper changes according to this:
https://github.com/LudovicRousseau/PCSC/issues/8
And made a batch file to make the proper changes and to compile the
libraries, but i get this response from the pcsc_scan after running the
file:

PC/SC device scanner
V 1.4.27 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau at free.fr>
Compiled with PC/SC lite version: 1.8.20
Using reader plug'n play mechanism
Scanning present readers...
Waiting for the first reader...found one
Scanning present readers...
0: "
1: "
2: "
3: "
4: "
5: "
6: "
7: "
8: "
9: "
10: "
11: "
12: "
13: "
14: "
15: "
SCardGetStatusChange: Invalid parameter given.

I am using ubuntu 16.04 LTS 32 bit version, there are no smart card
attached to the computer, but the output from the pcsc_scan is the same if
there are smart card readers attached to the computer.

pcscd -version
pcsc-lite version 1.8.20.
Copyright (C) 1999-2002 by David Corcoran <corcoran at musclecard.com>.
Copyright (C) 2001-2015 by Ludovic Rousseau <ludovic.rousseau at free.fr>.
Copyright (C) 2003-2004 by Damien Sauveron <sauveron at labri.fr>.
Report bugs to <pcsclite-muscle at lists.alioth.debian.org>.
Enabled features: Linux i686-pc-linux-gnu serial usb libudev
usbdropdir=/usr/local/lib/pcsc/drivers ipcdir=/var/run/pcscd
configdir=/usr/local/etc/reader.conf.d

I have attached the log file from this:
sudo LIBCCID_ifdLogLevel=0x000F pcscd --foreground --debug --apdu --color |
tee log.txt
after running a pcsc_scan
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20170428/2202f343/attachment.html>
-------------- next part --------------
00000000 debuglog.c:289:DebugLogSetLevel() debug level=debug
00000898 debuglog.c:310:DebugLogSetCategory() Debug options: APDU
00000690 pcscdaemon.c:351:main() Force colored logs
00000793 utils.c:82:GetDaemonPid() Can't open /var/run/pcscd/pcscd.pid: No such file or directory
00000652 configfile.l:358:DBGetReaderList() Parsing conf file: /usr/local/etc/reader.conf.d
00000379 pcscdaemon.c:655:main() pcsc-lite 1.8.20 daemon ready.
00014534 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00001104 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
00003660 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001
00000545 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001
00000354 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001
00000474 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x0461, PID: 0x4E6F, path: /dev/bus/usb/006/002
00000437 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x0461, PID: 0x4E6F, path: /dev/bus/usb/006/002
00000410 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001
00000400 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x045E, PID: 0x00F6, path: /dev/bus/usb/006/003
00000488 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000578 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001
30362421 winscard_msg_srv.c:251:ProcessEventsServer() Common channel packet arrival
00000059 winscard_msg_srv.c:263:ProcessEventsServer() ProcessCommonChannelRequest detects: 7
00000012 pcscdaemon.c:132:SVCServiceRunLoop() A new context thread creation is requested: 7
00000132 winscard_svc.c:337:ContextThread() Authorized PC/SC client
00000012 winscard_svc.c:341:ContextThread() Thread is started: dwClientID=7, threadContext @0x985c3b0
00000022 winscard_svc.c:359:ContextThread() Received command: CMD_VERSION from client 7
00000018 winscard_svc.c:371:ContextThread() Client is protocol version 4:3
00000011 winscard_svc.c:391:ContextThread() CMD_VERSION rv=0x0 for client 7
00000115 winscard_svc.c:359:ContextThread() Received command: ESTABLISH_CONTEXT from client 7
00000025 winscard.c:215:SCardEstablishContext() Establishing Context: 0x29AB42CC
00000012 winscard_svc.c:455:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 7
00000317 winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00000473 winscard_svc.c:359:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 7
00000102 winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00000053 winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00000040 winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00000696 winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00000051 winscard_svc.c:359:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 7
00000032 winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00002706 winscard_svc.c:778:ContextThread() Client die: 7
00000128 winscard.c:226:SCardReleaseContext() Releasing Context: 0x29AB42CC
00000014 winscard_svc.c:1013:MSGCleanupClient() Thread is stopping: dwClientID=7, threadContext @0x985c3b0
00000008 winscard_svc.c:1019:MSGCleanupClient() Freeing SCONTEXT @0x985c3b0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: install-pcscd.sh
Type: application/x-sh
Size: 934 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20170428/2202f343/attachment.sh>


More information about the Pcsclite-muscle mailing list