Hi all!

First, thanks to everyone who have been involved in the pcsclite project, I 
have used successfully for a variety of purposes for many years now. Now, I 
have a problem that has got me stumped.

I have two systems running Ubuntu 12.04 and I have an OmniKey AG CardMan 
3121, which is a USB device. On one of the systems, the device is correctly 
identified and pcsc_scan correctly reports the inserted card as a card found 
in /usr/share/pcsc/smartcard_list.txt . The other system, which is the 
system I need to have it working on (it worked prior to upgrading Ubuntu 
today) has problems I don't know what to make out of.

I'm sorry, I'm not quite able to find the smart card reader driver name and 
version, or the middleware ditto. I hope the below info will be sufficient to 
help:

The CCID version is 1.4.5-1

$ /usr/sbin/pcscd --version
pcsc-lite version 1.7.4.
Copyright (C) 1999-2002 by David Corcoran <[email protected]>.
Copyright (C) 2001-2011 by Ludovic Rousseau <[email protected]>.
Copyright (C) 2003-2004 by Damien Sauveron <[email protected]>.
Report bugs to <[email protected]>.
Enabled features: Linux x86_64-pc-linux-gnu serial usb libudev 
usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd 
configdir=/etc/reader.conf.d

The complete log generated with 
sudo LIBCCID_ifdLogLevel=0x000F pcscd --foreground --debug --apdu | tee 
log.txt I have pasted to 
http://pastebin.com/mAKGfJcx

And no, the abrupt ending is not a paste error, it actually does stop 
producing output in the middle of the word "IFDHICCPrese"

After a recent reboot, I found the following in my syslog:
http://pastebin.com/vNWTgRFt
My first idea was that something had started pcscd before the init.d script 
does it, but subsequent attempts to reproduce this behaviour has come up 
empty. The line 
Sep 30 23:08:02 tigger pcscd: ccid_usb.c:499:OpenUSBByName() Can't claim 
interface 3/2: -6
seems to persist though (I've been moving the reader to different ports too, 
3/2 is where I want it to be).

I also note that when the system comes up, /var/run/pcscd/pcscd.comm and 
/var/run/pcscd/pcscd.pid are present, but if I kill the daemon, and try to 
restart it with /etc/init.d/pcscd start, then those files are not created, 
and I get no error message. 

I suppose the problem may not be within CCID or PC/SC at all, it may with 
something in Ubuntu or the USB system, but I hope someone who understand 
what these logs are saying can give me a hand.

Best,

Kjetil
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to