[Pcsclite-muscle] debian 8 pcscd

linux service guy at linux-service.be
Tue Jul 28 06:36:34 UTC 2015


Op maandag 27 juli 2015 23:26:32 schreef Ludovic Rousseau:
> Hello,
> 
> 2015-07-22 12:18 GMT+02:00 linux service <guy at linux-service.be>:
> > The cardreader is stopped after debian 7 to debian 8 upgrade:
> 
> You are using a locally compiled version of pcsc-lite.
> You are NOT using a version from Debian.
> 
> > root at fai:~# pcscd --version
> >
> > pcsc-lite version 1.8.13.
> >
> > Copyright (C) 1999-2002 by David Corcoran <corcoran at musclecard.com>.
> >
> > Copyright (C) 2001-2011 by Ludovic Rousseau <ludovic.rousseau at free.fr>.
> >
> > Copyright (C) 2003-2004 by Damien Sauveron <sauveron at labri.fr>.
> >
> > Report bugs to <muscle at lists.musclecard.com>.
> >
> > Enabled features: Linux x86_64-unknown-linux-gnu serial usb
> > usbdropdir=/usr/local/lib/pcsc/drivers ipcdir=/var/run/pcscd
> > configdir=/usr/local/etc/reader.conf.d
> >
> >
> >
> > root at fai:~# dpkg -l | grep libccid
> >
> > ii libccid 1.4.19-1 amd64 PC/SC driver for USB CCID smart card readers
> >
> >
> >
> > cat /var/log/syslog | grep pcscd
> >
> > Jul 22 08:25:46 fai pcscd: pcscdaemon.c:708:at_exit() write() failed: Bad
> > file descriptor
> >
> > Jul 22 08:26:22 fai pcscd: ccid_usb.c:786:ReadUSB() read failed (1/2): -7
> > LIBUSB_ERROR_TIMEOUT
> >
> > Jul 22 08:26:27 fai pcscd: ccid_usb.c:747:WriteUSB() write failed (1/2): -7
> > LIBUSB_ERROR_TIMEOUT
> >
> > Jul 22 08:26:32 fai pcscd: ccid_usb.c:747:WriteUSB() write failed (1/2): -7
> > LIBUSB_ERROR_TIMEOUT
> >
> > Jul 22 08:26:32 fai pcscd: ifdhandler.c:171:CreateChannelByNameOrChannel()
> > failed
> >
> > Jul 22 08:26:32 fai pcscd: readerfactory.c:1043:RFInitializeReader() Open
> > Port 0x200000 Failed (usb:1a44/0001:libudev:0:/dev/bus/usb/001/002)
> >
> > Jul 22 08:26:32 fai pcscd: readerfactory.c:335:RFAddReader() VASCO DP905v1.1
> > init failed.
> >
> > Jul 22 08:26:32 fai pcscd: hotplug_libudev.c:501:HPAddDevice() Failed adding
> > USB device: VASCO DP905v1.1
> >
> >
> >
> >
> >
> > Jul 22 11:57:27 fai pcscd: pcscdaemon.c:134:SVCServiceRunLoop() A new
> > context thread creation is requested: 5
> >
> > Jul 22 11:57:27 fai pcscd: winscard_svc.c:331:ContextThread() Authorized
> > PC/SC client
> >
> > Jul 22 11:57:27 fai pcscd: winscard_svc.c:335:ContextThread() Thread is
> > started: dwClientID=5, threadContext @0x1f04db0
> >
> > Jul 22 11:57:27 fai pcscd: winscard_svc.c:353:ContextThread() Received
> > command: CMD_VERSION from client 5
> >
> > Jul 22 11:57:27 fai pcscd: winscard_svc.c:365:ContextThread() Client is
> > protocol version 4:3
> >
> > Jul 22 11:57:27 fai pcscd: winscard_svc.c:385:ContextThread() CMD_VERSION
> > rv=0x0 for client 5
> >
> > Jul 22 11:57:27 fai pcscd: winscard_svc.c:353:ContextThread() Received
> > command: ESTABLISH_CONTEXT from client 5
> >
> > Jul 22 11:57:27 fai pcscd: winscard.c:216:SCardEstablishContext()
> > Establishing Context: 0x45BE58B2
> >
> > Jul 22 11:57:27 fai pcscd: winscard_svc.c:446:ContextThread()
> > ESTABLISH_CONTEXT rv=0x0 for client 5
> >
> > Jul 22 11:57:27 fai pcscd: winscard_svc.c:353:ContextThread() Received
> > command: CMD_GET_READERS_STATE from client 5
> >
> > Jul 22 11:57:27 fai pcscd: winscard_svc.c:345:ContextThread() Client die: 5
> >
> > Jul 22 11:57:27 fai pcscd: winscard.c:227:SCardReleaseContext() Releasing
> > Context: 0x45BE58B2
> >
> > Jul 22 11:57:27 fai pcscd: winscard_svc.c:978:MSGCleanupClient() Thread is
> > stopping: dwClientID=5, threadContext @0x1f04db0
> >
> > Jul 22 11:57:27 fai pcscd: winscard_svc.c:984:MSGCleanupClient() Freeing
> > SCONTEXT @0x1f04db0
> >
> > Jul 22 11:57:27 fai pcscd: pcscdaemon.c:750:signal_trap() Received signal:
> > 15
> >
> > Jul 22 11:57:27 fai pcscd: pcscdaemon.c:756:signal_trap() Direct suicide
> >
> > Jul 22 11:57:27 fai pcscd: pcscdaemon.c:694:at_exit() cleaning
> > /var/run/pcscd
> >
> > Jul 22 11:57:27 fai pcscd: pcscdaemon.c:708:at_exit() write() failed: Bad
> > file descriptor
> 
> Please follow https://pcsclite.alioth.debian.org/ccid.html#support
> 
> Bye
> 
> 

Yes, but was trial and error.
I did a fresh debian 8 install and all is working well.

The errors came from a debian 7 to 8 upgrade

guy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20150728/f50c02d6/attachment-0001.html>


More information about the Pcsclite-muscle mailing list