Hi,

After an upgrade to libpcsclite 1.8.3 (and ccid 1.4.6) we have a similar issue 
as in 

http://lists.drizzle.com/pipermail/muscle/2010-November/008678.html

When I start pcscd, then plug in the Kobil Stick everything is fine. When the 
Kobil Stick is already connected and I start pcscd, pcscd hangs (and does not 
answer for example opensc-tool -l) . 

At this time two pcscd processes are shown in ps output, so it seems pcscd is 
about to fork. 

I have removed the udev rules, to make sure pcscd is not loaded by udev.

When I start pcscd -f everything works fine, regardless if the stick is pluged 
in or not.

Below is the output of pcscd -d with ifdLogLevel set to 0x000f

We are using libusb 1.0.9, which hopefully contains all the bugfix regarding 
pcsc (before we were using a git version of libusb, because of the problems 
with 1.0.8)

Any idea what might be wrong?

Thanks

Gerald

P.S. Before we used libpcsclite 1.7.4, ccid 1.4.5 and libusb from git and 
didn't had this trouble.



Sep  4 17:53:20 stu6657 pcscd: debuglog.c:269:DebugLogSetLevel() debug 
level=debug
Sep  4 17:53:20 stu6657 pcscd: configfile.l:298:DBGetReaderList() Parsing conf 
file: /etc/reader.conf.d
Sep  4 17:53:20 stu6657 pcscd: pcscdaemon.c:518:main() pcsc-lite 1.8.3 daemon 
ready.
Sep  4 17:53:20 stu6657 pcscd: hotplug_libudev.c:260:get_driver() Looking for a 
driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
Sep  4 17:53:20 stu6657 pcscd: hotplug_libudev.c:260:get_driver() Looking for a 
driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
Sep  4 17:53:20 stu6657 pcscd: hotplug_libudev.c:260:get_driver() Looking for a 
driver for VID: 0x046D, PID: 0xC050, path: /dev/bus/usb/003/002
Sep  4 17:53:20 stu6657 pcscd: hotplug_libudev.c:260:get_driver() Looking for a 
driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
Sep  4 17:53:20 stu6657 pcscd: hotplug_libudev.c:260:get_driver() Looking for a 
driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
Sep  4 17:53:20 stu6657 pcscd: hotplug_libudev.c:260:get_driver() Looking for a 
driver for VID: 0x0D46, PID: 0x3003, path: /dev/bus/usb/004/004
Sep  4 17:53:20 stu6657 pcscd: hotplug_libudev.c:260:get_driver() Looking for a 
driver for VID: 0x0D46, PID: 0x3003, path: /dev/bus/usb/004/004
Sep  4 17:53:20 stu6657 pcscd: hotplug_libudev.c:311:HPAddDevice() Adding USB 
device: KOBIL KAAN SIM III
Sep  4 17:53:20 stu6657 pcscd: readerfactory.c:936:RFInitializeReader() 
Attempting startup of KOBIL KAAN SIM III (E_093515510) 00 00 using 
/usr/lib/readers/usb/ifd-ccid.bundle/Contents/Linux
Sep  4 17:53:20 stu6657 pcscd: readerfactory.c:826:RFBindFunctions() Loading 
IFD Handler 3.0
Sep  4 17:53:20 stu6657 pcscd: ifdhandler.c:1768:init_driver() Driver version: 
1.4.6
Sep  4 17:53:20 stu6657 pcscd: ifdhandler.c:1785:init_driver() LogLevel: 0x000F
Sep  4 17:53:20 stu6657 pcscd: ifdhandler.c:1796:init_driver() DriverOptions: 
0x0000
Sep  4 17:53:20 stu6657 pcscd: ifdhandler.c:83:CreateChannelByNameOrChannel() 
Lun: 0, device: usb:0d46/3003:libudev:0:/dev/bus/usb/004/004
Sep  4 17:53:20 stu6657 pcscd: ccid_usb.c:180:OpenUSBByName() Reader index: 0, 
Device: usb:0d46/3003:libudev:0:/dev/bus/usb/004/004
Sep  4 17:53:20 stu6657 pcscd: ccid_usb.c:212:OpenUSBByName() interface_number: 0
Sep  4 17:53:20 stu6657 pcscd: ccid_usb.c:245:OpenUSBByName() 
ifdManufacturerString: Ludovic Rousseau ([email protected])
Sep  4 17:53:20 stu6657 pcscd: ccid_usb.c:246:OpenUSBByName() ifdProductString: 
Generic CCID driver
Sep  4 17:53:20 stu6657 pcscd: ccid_usb.c:247:OpenUSBByName() Copyright: This 
driver is protected by terms of the GNU Lesser General Public License version 
2.1, or (at your option) any later
Sep  4 17:53:20 stu6657 pcscd: ccid_usb.c:365:OpenUSBByName() Checking device: 
4/4
Sep  4 17:53:20 stu6657 pcscd: ccid_usb.c:420:OpenUSBByName() Trying to open 
USB bus/device: 4/4
Sep  4 17:53:20 stu6657 pcscd: ccid_usb.c:509:OpenUSBByName() Found 
Vendor/Product: 0D46/3003 (KOBIL KAAN SIM III)
Sep  4 17:53:20 stu6657 pcscd: ccid_usb.c:511:OpenUSBByName() Using USB 
bus/device: 4/4
Sep  4 17:53:20 stu6657 pcscd: ccid_usb.c:1029:ControlUSB() request: 0x03
Sep  4 17:53:20 stu6657 pcscd: receive: 00 
Sep  4 17:53:20 stu6657 pcscd: ccid_usb.c:980:get_data_rates() Wrong GET DATA 
RATES size: 1


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

Reply via email to