reassign 638329 pcscd 1.5.5-4 clone 638329 -1 retitle 638329 pcscd: Please tighten the dependency to `libpcsclite1` retitle -1 pcscd: readerfactory.c:233:RFAddReader() REINER SCT cyberJack pp_a (0890891781) init failed. quit
Am Donnerstag, den 18.08.2011, 19:53 +0200 schrieb Ludovic Rousseau: > Le 18/08/11 19:19, Paul Menzel a écrit : > > I am using Debian Sid/unstable and want to get a ReinerSCT CyberJack > > PinPad working. > > > > $ more /var/log/syslog > > […] > > Aug 18 18:10:47 myhostname kernel: [ 2761.572055] usb 4-2: new > > full speed USB device number 2 using uhci_hcd > > Aug 18 18:10:47 myhostname kernel: [ 2761.742077] usb 4-2: New USB > > device found, idVendor=0c4b, idProduct=0300 > > Aug 18 18:10:47 myhostname kernel: [ 2761.742087] usb 4-2: New USB > > device strings: Mfr=1, Product=2, SerialNumber=3 > > Aug 18 18:10:47 myhostname kernel: [ 2761.742094] usb 4-2: > > Product: cyberJack pinpad(a) > > Aug 18 18:10:47 myhostname kernel: [ 2761.742099] usb 4-2: > > Manufacturer: Reiner-SCT > > Aug 18 18:10:47 myhostname kernel: [ 2761.742104] usb 4-2: > > SerialNumber: 0890891781 > > Aug 18 18:10:48 myhostname mtp-probe: checking bus 4, device 2: > > "/sys/devices/pci0000:00/0000:00:10.2/usb4/4-2" > > Aug 18 18:10:48 myhostname mtp-probe: bus: 4, device: 2 was not an > > MTP device > > Aug 18 18:10:50 myhostname pcscd: > > readerfactory.c:1050:RFInitializeReader() Open Port 200000 Failed > > (usb:0c4b/0300:libhal:/org/freedesktop/Hal/devices/usb_device_c4b_300_0890891781_if0) > > Aug 18 18:10:50 myhostname pcscd: > > readerfactory.c:233:RFAddReader() REINER SCT cyberJack pp_a (0890891781) > > init failed. > > > > $ lsusb > > […] > > Bus 004 Device 002: ID 0c4b:0300 Reiner SCT Kartensysteme GmbH > > cyberJack pinpad(a) > > > > Using the latest driver from [1][2] and having problems [3] the > > developer/maintainer advised me to use `pcscd` 1.5.5. Adding the > > Squeeze/stable sources to `/etc/apt/sources.list` I downgraded `pcscd`. > > > > sudo aptitude install pcscd=1.5.5-4 > > > > But now `pcsc_scan` just aborts with the following error even if no > > reader is plugged in. > > > > $ pcsc_scan > > PC/SC device scanner > > V 1.4.17 (c) 2001-2009, Ludovic Rousseau<ludovic.rouss...@free.fr> > > Compiled with PC/SC lite version: 1.5.5 > > SCardEstablishContext: RPC transport error. > > > > Do I also have to downgrade `pcsc-tools` or other packages? > > No. But be sure to also install the libpcsclite package with the exact > same version as the pcscd package. Ok, that seems to solve that issue. $ sudo aptitude install libpcsclite1=1.5.5-4 Die folgenden Pakete werden durch eine ÄLTERE VERSION ERSETZT (Downgrade): libpcsclite1 0 Pakete aktualisiert, 0 zusätzlich installiert, 1 deaktualisiert, 0 werden entfernt und 38 nicht aktualisiert. Muss 45,6 kB an Archiven herunterladen. Nach dem Entpacken werden 12,3 kB frei werden. Hole: 1 http://ftp.de.debian.org/debian/ stable/main libpcsclite1 i386 1.5.5-4 [45,6 kB] Fetched 45,6 kB in 0 s (200 kB/s) dpkg: Warnung: libpcsclite1 wird von 1.7.4-1 zu 1.5.5-4 deaktualisiert. (Lese Datenbank ... 365245 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Ersetzen von libpcsclite1 1.7.4-1 (durch .../libpcsclite1_1.5.5-4_i386.deb) ... Ersatz für libpcsclite1 wird entpackt ... libpcsclite1 (1.5.5-4) wird eingerichtet ... $ sudo service pcscd stop $ sudo service pcscd start $ pcsc_scan PC/SC device scanner V 1.4.17 (c) 2001-2009, Ludovic Rousseau <ludovic.rouss...@free.fr> Compiled with PC/SC lite version: 1.5.5 Scanning present readers... Waiting for the first reader...found one Scanning present readers... 0: REINER SCT cyberJack pp_a (0890891781) 00 00 Thu Aug 18 20:26:40 2011 Reader 0: REINER SCT cyberJack pp_a (0890891781) 00 00 Card state: Card removed, I am wondering why `pcscd` does not depend on `libpcsclite1`. If it does not then the program itself should check if the correct libraries are used. > > With `pcscd` 1.7.4-1 I got the following message. > > > > $ pcsc_scan # started before plugging in > > PC/SC device scanner > > V 1.4.17 (c) 2001-2009, Ludovic Rousseau<ludovic.rousseau@...> > > Compiled with PC/SC lite version: 1.5.5 > > Scanning present readers... > > Waiting for the first reader...SCardGetStatusChange: Unknown > > error: 0x43414A52 > > > > Please tell me what other information I should provide and what else I can > > do. > > This is a very strange error. > Be sure to kill any running pcscd before installing a new pcscd version. To be clear, this error is from yesterday and pcscd 1.7.4-1 was installed and only then I downgraded. > kill pcscd and try again. I tried that yesterday several times, but pcscd 1.7.4-1 exits automatically so killing was not necessary. I even think that pcscd was killed right after `SCardGetStatusChange: Unknown error: 0x43414A52`. Thanks, Paul
signature.asc
Description: This is a digitally signed message part