[Pcsclite-muscle] More smart cards compile problem
Szentpétery István
szempy
Fri Apr 28 02:13:58 PDT 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
[36m00000690[0m [34mpcscdaemon.c:351:main() Force colored logs[0m
[36m00000793[0m [01;31mutils.c:82:GetDaemonPid() Can't open /var/run/pcscd/pcscd.pid: No such file or directory[0m
[36m00000652[0m configfile.l:358:DBGetReaderList() Parsing conf file: /usr/local/etc/reader.conf.d
[36m00000379[0m [34mpcscdaemon.c:655:main() pcsc-lite 1.8.20 daemon ready.[0m
[36m00014534[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
[36m00001104[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
[36m00003660[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001
[36m00000545[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001
[36m00000354[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001
[36m00000474[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x0461, PID: 0x4E6F, path: /dev/bus/usb/006/002
[36m00000437[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x0461, PID: 0x4E6F, path: /dev/bus/usb/006/002
[36m00000410[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001
[36m00000400[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x045E, PID: 0x00F6, path: /dev/bus/usb/006/003
[36m00000488[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
[36m00000578[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001
[36m30362421[0m winscard_msg_srv.c:251:ProcessEventsServer() Common channel packet arrival
[36m00000059[0m winscard_msg_srv.c:263:ProcessEventsServer() ProcessCommonChannelRequest detects: 7
[36m00000012[0m pcscdaemon.c:132:SVCServiceRunLoop() A new context thread creation is requested: 7
[36m00000132[0m winscard_svc.c:337:ContextThread() Authorized PC/SC client
[36m00000012[0m winscard_svc.c:341:ContextThread() Thread is started: dwClientID=7, threadContext @0x985c3b0
[36m00000022[0m winscard_svc.c:359:ContextThread() Received command: CMD_VERSION from client 7
[36m00000018[0m winscard_svc.c:371:ContextThread() Client is protocol version 4:3
[36m00000011[0m winscard_svc.c:391:ContextThread() CMD_VERSION rv=0x0 for client 7
[36m00000115[0m winscard_svc.c:359:ContextThread() Received command: ESTABLISH_CONTEXT from client 7
[36m00000025[0m winscard.c:215:SCardEstablishContext() Establishing Context: 0x29AB42CC
[36m00000012[0m winscard_svc.c:455:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 7
[36m00000317[0m winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
[36m00000473[0m winscard_svc.c:359:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 7
[36m00000102[0m winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
[36m00000053[0m winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
[36m00000040[0m winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
[36m00000696[0m winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
[36m00000051[0m winscard_svc.c:359:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 7
[36m00000032[0m winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
[36m00002706[0m winscard_svc.c:778:ContextThread() Client die: 7
[36m00000128[0m winscard.c:226:SCardReleaseContext() Releasing Context: 0x29AB42CC
[36m00000014[0m winscard_svc.c:1013:MSGCleanupClient() Thread is stopping: dwClientID=7, threadContext @0x985c3b0
[36m00000008[0m 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