Bug#664630: PC/SC-software and card reader REINER-SCT Cyberjack RFID komfort

2014-04-05 Thread Reinhard Tartler
Control: retitle -1 moneyplex application does not work with the pcscd 1.8
Control: reassign -1 pcscd

On Wed, Mar 28, 2012 at 01:07:45PM +0200, Frank Neuber wrote:
 Hi,
 and sorry for my late answer. I had some Dolomiti Superski in the last
 days ;-)
 
 I installed a fresh Wheezy in a Virtual Box with the SP02 driver from
 the debian repository.
 I can see the ATR like you ...
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664630#50
 
 So the cardreader is working.
 
 The problem is that the current moneyplex application does not work with
 the pcscd 1.8. But there is a beta version of moneyplex available. You
 can ask the moneyplex suppport to be a beta tester like me :-) This beta
 version is available in 64 and 32 bit (the old version was only 32 bit)
 and is working well with pcscd 1.8.  

I'm doing some cleanup on the open bugs of the pcsc-cyberjack
package. Based on the information above, it seems to me that this
problem is rather in pcscd, so I'm reassigning this bug appropriately.

However, given that it was filed in 2012, and no futher updates have
been made, I wonder if this is still a problem and some recent update of
pcsc-lite fixed it.

I'm no longer using smartcards for online-banking, so I cannot test
anymore. Sorry 'bout that.

Reinhard


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#664630: PC/SC-software and card reader REINER-SCT Cyberjack RFID komfort

2012-03-28 Thread Frank Neuber
Hi,
and sorry for my late answer. I had some Dolomiti Superski in the last
days ;-)

I installed a fresh Wheezy in a Virtual Box with the SP02 driver from
the debian repository.
I can see the ATR like you ...
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664630#50

So the cardreader is working.

The problem is that the current moneyplex application does not work with
the pcscd 1.8. But there is a beta version of moneyplex available. You
can ask the moneyplex suppport to be a beta tester like me :-) This beta
version is available in 64 and 32 bit (the old version was only 32 bit)
and is working well with pcscd 1.8.  

The new scheme libudev is supported since 05 Apr 2011 in
cjeca32/Platform_unix.cpp line 41.
The rsct_platform_create_com function is called during open the reader
object.
Also the virtual package pcsc-ifd-handler is provided by the debian
package (at the moment only in debian unstable)

In the future I plan to remove the SPXX suffix in the debian repository
which is more or less my development repository.
This suffix is important for naming the drivers on the reiner sct
website to visualize the patchlevel. You know, debian is not the only
one linux distribution (but the number one :-)) 
   
If you have more questions feel free to contact me. German is also
possible (unfortunately not French, sorry Ludovic)

Kind regards,
 Frank





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#664630: PC/SC-software and card reader REINER-SCT Cyberjack RFID komfort

2012-03-24 Thread Wolfgang Gruhn


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

 debuglog.c:230:DebugLogSetLevel() debug level=debug
0096 debuglog.c:259:DebugLogSetCategory() Debug options: APDU
0641 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
3119 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 
0x1D6B, PID: 0x0002
3900 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 
0x1D6B, PID: 0x0001
3875 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 
0x1D6B, PID: 0x0002
3901 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 
0x03F0, PID: 0x8704
2363 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 
0x03F0, PID: 0x8704
3093 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
0054 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
2956 readerfactory.c:877:RFBindFunctions() Loading IFD Handler 3.0
00015381 readerfactory.c:1050:RFInitializeReader() Open Port 20 
Failed 
(usb:0c4b/0501:libhal:/org/freedesktop/Hal/devices/usb_device_c4b_501_0089477100_if0)

0049 readerfactory.c:914:RFUnloadReader() Unloading reader driver.
0124 readerfactory.c:233:RFAddReader() REINER SCT cyberJack RFID 
komfort (0089477100) init failed.
1352 hotplug_libhal.c:461:HPAddDevice() trying libusb scheme with: 
usb:0c4b/0501:libusb:003:009
0051 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
0875 readerfactory.c:877:RFBindFunctions() Loading IFD Handler 3.0
00027647 readerfactory.c:1050:RFInitializeReader() Open Port 20 
Failed (usb:0c4b/0501:libusb:003:009)

0057 readerfactory.c:914:RFUnloadReader() Unloading reader driver.
0129 readerfactory.c:233:RFAddReader() REINER SCT cyberJack RFID 
komfort (0089477100) init failed.
0034 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 debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#664630: PC/SC-software and card reader REINER-SCT Cyberjack RFID komfort

2012-03-24 Thread Ludovic Rousseau

Le 24/03/12 08:28, Wolfgang Gruhn a écrit :


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.


And you forgot to attach the corresponding FULL log I asked :-(


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
 debuglog.c:230:DebugLogSetLevel() debug level=debug
0096 debuglog.c:259:DebugLogSetCategory() Debug options: APDU
0641 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
3119 hotplug_libhal.c:318:get_driver() Looking a driver for VID:
0x1D6B, PID: 0x0002
3900 hotplug_libhal.c:318:get_driver() Looking a driver for VID:
0x1D6B, PID: 0x0001
3875 hotplug_libhal.c:318:get_driver() Looking a driver for VID:
0x1D6B, PID: 0x0002
3901 hotplug_libhal.c:318:get_driver() Looking a driver for VID:
0x03F0, PID: 0x8704
2363 hotplug_libhal.c:318:get_driver() Looking a driver for VID:
0x03F0, PID: 0x8704
3093 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
0054 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
2956 readerfactory.c:877:RFBindFunctions() Loading IFD Handler 3.0
00015381 readerfactory.c:1050:RFInitializeReader() Open Port 20
Failed
(usb:0c4b/0501:libhal:/org/freedesktop/Hal/devices/usb_device_c4b_501_0089477100_if0)

0049 readerfactory.c:914:RFUnloadReader() Unloading reader driver.
0124 readerfactory.c:233:RFAddReader() REINER SCT cyberJack RFID
komfort (0089477100) init failed.
1352 hotplug_libhal.c:461:HPAddDevice() trying libusb scheme with:
usb:0c4b/0501:libusb:003:009
0051 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
0875 readerfactory.c:877:RFBindFunctions() Loading IFD Handler 3.0
00027647 readerfactory.c:1050:RFInitializeReader() Open Port 20
Failed (usb:0c4b/0501:libusb:003:009)
0057 readerfactory.c:914:RFUnloadReader() Unloading reader driver.
0129 readerfactory.c:233:RFAddReader() REINER SCT cyberJack RFID
komfort (0089477100) init failed.
0034 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.


So the Moneyplex application DO work even if the reader is not correctly 
detected by pcscd. Exact?


What happens if you REMOVE the pcscd package, reboot and use the 
Moneyplex application?



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.


Do you have the source 

Bug#664630: PC/SC-software and card reader REINER-SCT Cyberjack RFID komfort

2012-03-24 Thread Wolfgang Gruhn


Am 24.03.2012 09:23, schrieb Ludovic Rousseau:


So the Moneyplex application DO work even if the reader is not correctly
detected by pcscd. Exact?


Sorry, I don't know. Anyway, your trace reports errors, but the green 
LED is flashing permanently and Moneyplex DOES work.



Do you have the source code of the Moneyplex application?


No. Moneyplex is not Open Source Code, but produced by the commercial 
enterprise Matrica.



What happens if you REMOVE the pcscd package, reboot and use the
Moneyplex application?


root@wg-pc:~# dpkg -r pcscd
dpkg: Abhaengigkeitsprobleme verhindern Entfernen von pcscd:
 libifd-cyberjack6 haengt ab von pcscd.
dpkg: Fehler beim Bearbeiten von pcscd (--remove):
 Abhaengigkeitsprobleme - wird nicht entfernt
Fehler traten auf beim Bearbeiten von:
 pcscd
root@wg-pc:~#

Translation:

dpkg: dependency problems prevent removing of pcscd:
 libifd-cyberjack6 depends from pcscd
dpkg: error when operating with pcscd (--remove):
 dependency problems - not removing
Errors occurred when working with:
 pcscd

--

Forget Moneyplex, it needs libifd-cyberjack6 and cannot work without it, 
as this driver must be selected in the options of Moneyplex. And pcscd 
cannot be removed as long as libifd-cyberjack6 is present. Obviously the 
problem is to be searched in the USB-connection of the card reader 
itself. When this connection is established correctly, Moneyplex will 
work, too.


I'm now waiting to the reaction of the libifd-cyberjack6-maintainer, Mr 
Frank Neuber, to the reassigned Debian-bug-message and my direct e-mail 
to him.


Bye and thanks for your support!

Wolfgang Gruhn




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org