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 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



Bug#616110: linux: Kernel module pcspkr implemented, but snd_pcsp required in Squeeze

2011-03-02 Thread Wolfgang Gruhn
Package: linux-2.6
Version: 2.6.32-30
Severity: normal
File: linux



-- Package-specific info:
** Version:
Linux version 2.6.32-5-amd64 (Debian 2.6.32-30) (b...@decadent.org.uk) (gcc 
version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Wed Jan 12 03:40:32 UTC 2011

** Command line:
BOOT_IMAGE=/vmlinuz-2.6.32-5-amd64 
root=UUID=99d9aa17-2e81-494b-bcb1-2f01586c9026 ro verbose

** Not tainted

** Kernel log:
[4.932932] [drm] nouveau :02:00.0: Allocating FIFO number 1
[4.935050] [drm] nouveau :02:00.0: nouveau_channel_alloc: initialised 
FIFO 1
[4.935467] [drm] nouveau :02:00.0: Detected a DAC output
[4.935510] [drm] nouveau :02:00.0: Detected a TMDS output
[4.935552] [drm] nouveau :02:00.0: Detected a DAC output
[4.935594] [drm] nouveau :02:00.0: Detected a TMDS output
[4.935637] [drm] nouveau :02:00.0: DCB encoder 1 unknown
[4.935680] [drm] nouveau :02:00.0: Detected a DVI-I connector
[4.935773] [drm] nouveau :02:00.0: Detected a DVI-I connector
[4.988336] ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 21
[4.988391] HDA Intel :00:07.0: PCI INT A - Link[AAZA] - GSI 21 
(level, low) - IRQ 21
[4.988456] hda_intel: Disable MSI for Nvidia chipset
[4.988534] HDA Intel :00:07.0: setting latency timer to 64
[5.115674] [drm] nouveau :02:00.0: allocated 1280x1024 fb: 0x4025, 
bo 88011e373e00
[5.119961] [drm] nouveau :02:00.0: 0xC0AE: parsing output script 1
[5.119974] [drm] nouveau :02:00.0: 0xC0AF: parsing output script 2
[5.119986] [drm] nouveau :02:00.0: 0xBD9A: parsing clock script 0
[5.120278] [drm] nouveau :02:00.0: 0xB6D6: parsing clock script 1
[5.120526] Console: switching to colour frame buffer device 160x64
[5.122234] fb0: nouveaufb frame buffer device
[5.122244] registered panic notifier
[5.122255] [drm] Initialized nouveau 0.0.15 20090420 for :02:00.0 on 
minor 0
[5.147033] usb 2-1: New USB device found, idVendor=0a81, idProduct=0205
[5.147048] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[5.147056] usb 2-1: Product: PS2 to USB Converter
[5.147062] usb 2-1: Manufacturer: CHESEN
[5.147135] usb 2-1: configuration #1 chosen from 1 choice
[5.197040] usbcore: registered new interface driver hiddev
[5.205268] input: CHESEN PS2 to USB Converter as 
/devices/pci:00/:00:02.0/usb2/2-1/2-1:1.0/input/input5
[5.205352] generic-usb 0003:0A81:0205.0001: input,hidraw0: USB HID v1.10 
Keyboard [CHESEN PS2 to USB Converter] on usb-:00:02.0-1/input0
[5.217330] input: CHESEN PS2 to USB Converter as 
/devices/pci:00/:00:02.0/usb2/2-1/2-1:1.1/input/input6
[5.217431] generic-usb 0003:0A81:0205.0002: input,hidraw1: USB HID v1.10 
Mouse [CHESEN PS2 to USB Converter] on usb-:00:02.0-1/input1
[5.217463] usbcore: registered new interface driver usbhid
[5.217470] usbhid: v2.6:USB HID core driver
[5.568520] usb 4-2: new full speed USB device using ohci_hcd and address 2
[5.793039] usb 4-2: New USB device found, idVendor=03f0, idProduct=8704
[5.793048] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[5.793055] usb 4-2: Product: Deskjet 5900 series
[5.793061] usb 4-2: Manufacturer: HP
[5.793065] usb 4-2: SerialNumber: CN62B1T0HM04KF
[5.793149] usb 4-2: configuration #1 chosen from 1 choice
[5.884083] input: HDA Digital PCBeep as 
/devices/pci:00/:00:07.0/input/input7
[6.208121] usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 
0x03F0 pid 0x8704
[6.208153] usbcore: registered new interface driver usblp
[   19.152022] scsi8 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
[   19.152024] Adaptec 2930CU SCSI adapter
[   19.152025] aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs
[   19.152026] 
[   89.331100] EXT3 FS on sda3, internal journal
[   89.370960] device-mapper: uevent: version 1.0.3
[   89.371433] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: 
dm-de...@redhat.com
[   89.493942] loop: module loaded
[   89.521532] usbcore: registered new interface driver snd-usb-audio
[   89.532656] usbcore: registered new interface driver usbserial
[   89.532946] USB Serial support registered for generic
[   89.533225] usbcore: registered new interface driver usbserial_generic
[   89.533575] usbserial: USB Serial Driver core
[   89.539079] USB Serial support registered for Reiner SCT Cyberjack USB card 
reader
[   89.539387] usbcore: registered new interface driver cyberjack
[   89.539663] cyberjack: v1.01 Matthias Bruestle
[   89.540115] cyberjack: REINER SCT cyberJack pinpad/e-com USB Chipcard Reader 
Driver
[   89.752702] kjournald starting.  Commit interval 5 seconds
[   89.753020] EXT3 FS on sda1, internal journal
[   89.753362] EXT3-fs: mounted filesystem with ordered data mode.
[   90.148209] fuse init (API version 7.13)
[   90.584811] NET: Registered protocol family 15
[   

Bug#611624: Upgrading grub2 removes password items

2011-01-31 Thread Wolfgang Gruhn
Package: grub2
Severity: normal



-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

When grub2 is upgraded - e.g. by apt-get upgrade - then all superuser, users 
and password items are removed from grub.cfg, so that the admin is forced to 
insert them again. At least a warning should be issued; otherwise this bug 
means a grave security problem. 



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