Hello,

Am 23.03.2012 20:29, schrieb Ludovic Rousseau:

In http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664630#50 I see a
trace of the driver working correctly.
The card ATR is returned so every thing is working at the PC/SC level.

The Wheezy installation used in

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664630#50

contains the following packages:

libpcsclite1_1.8.2-1_amd64.deb
libccid_1.4.5-1_amd64.deb
pcscd_1.8.2-1_amd64.deb
libifd-cyberjack6_3.99.5final.SP03_amd64.deb

Tracing the PC/SC-operations and plugging in the card reader with its chip card indeed returns the card ATR, writing it to the console and to the log file. All seems correct. However, the green card reader LED is not enlightened. Corresponding to the manual of the manufactor REINER-SCT this means that something goes wrong. Moreover, the homebanking software Moneyplex refuses to work. Thus the log file mentionned above does not prove that all is OK.

Otherwise, a log file with bugs does not prove that homebanking is impossible. I will show you this with the following lines.

I generated a Wheezy installation using the following packages:

libpsclite1_1.5.5-4_amd64.deb
libccid_1.3.11-2_amd64.deb
pcscd_1.5.5-4_amd64.deb
libifd-cyberjack6_3.99.5final.SP03_amd64_d601a.deb

Here comes the trace belonging to the card reader:

root@wg-pc:/var/run/pcscd# LIBCCID_ifdLogLevel=0x000F pcscd --foreground --debug --apdu | tee log.txt
00000000 debuglog.c:230:DebugLogSetLevel() debug level=debug
00000096 debuglog.c:259:DebugLogSetCategory() Debug options: APDU
00000641 pcscdaemon.c:512:main() pcsc-lite 1.5.5 daemon ready.
00323951 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x04A9, PID: 0x190A 00003119 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0002 00003900 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 00003875 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0002 00003901 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x03F0, PID: 0x8704 00002363 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x03F0, PID: 0x8704 00003093 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 26539276 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x0C4B, PID: 0x0501 00000054 hotplug_libhal.c:366:HPAddDevice() Adding USB device: usb_device_c4b_501_0089477100_if0 01002979 readerfactory.c:1024:RFInitializeReader() Attempting startup of REINER SCT cyberJack RFID komfort (0089477100) 00 00 using /usr/lib/pcsc/drivers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so
CYBERJACK: Started
00002956 readerfactory.c:877:RFBindFunctions() Loading IFD Handler 3.0
00015381 readerfactory.c:1050:RFInitializeReader() Open Port 200000 Failed (usb:0c4b/0501:libhal:/org/freedesktop/Hal/devices/usb_device_c4b_501_0089477100_if0)
00000049 readerfactory.c:914:RFUnloadReader() Unloading reader driver.
00000124 readerfactory.c:233:RFAddReader() REINER SCT cyberJack RFID komfort (0089477100) init failed. 00001352 hotplug_libhal.c:461:HPAddDevice() trying libusb scheme with: usb:0c4b/0501:libusb:003:009 00000051 readerfactory.c:1024:RFInitializeReader() Attempting startup of REINER SCT cyberJack RFID komfort (0089477100) 00 00 using /usr/lib/pcsc/drivers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so
CYBERJACK: Started
00000875 readerfactory.c:877:RFBindFunctions() Loading IFD Handler 3.0
00027647 readerfactory.c:1050:RFInitializeReader() Open Port 200000 Failed (usb:0c4b/0501:libusb:003:009)
00000057 readerfactory.c:914:RFUnloadReader() Unloading reader driver.
00000129 readerfactory.c:233:RFAddReader() REINER SCT cyberJack RFID komfort (0089477100) init failed. 00000034 hotplug_libhal.c:468:HPAddDevice() Failed adding USB device: usb_device_c4b_501_0089477100_if0

Don't give credit to the truth of these lines, as the green LED is flashing permanently and the homebanking software Moneyplex works correctly!!! Maybe the USB device was not added by HAL, but obviously by another service.

I am an old man with twice the age of yours and I wrote my first program in 1967. So you can imagine that I saw many paradox things while constructing compiler parts. But now I am tired and cannot afford much further efforts to solve this problem. In my mind, your disclosure that the new scheme libudev is not supported by ifd.cpp (in SP02-1 as well as in SP03) seems to point to the right direction.

Anyway, if you want to get further informations from me, then I ask you kindly to give me detailed instructions what to do, as I am not very proficient in modern debugging technics.

Au revoir

Wolfgang Gruhn





--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to