CyberJack PinPad not working: PC/SC-Interface nicht verfuegbar.

Paul Menzel <[email protected]> Wed, 17 Aug 2011 19:12:50 +0200
Newsgroups gmane.comp.lib.libchipcard.devel
Message-ID <1313601170.3648.22.camel@mattotaupa>
--===============3417518348677044536==
Content-Type: multipart/signed; micalg="pgp-sha1";
	protocol="application/pgp-signature";
	boundary="=-43s8oFqVY8nieKLhujVN"


--=-43s8oFqVY8nieKLhujVN
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Dear CyberJack folks,


please excuse my wording, but having =E2=80=9Cwasted=E2=80=9D again several=
 hours trying
to get the reader working which had worked before is quite annoying.

I am running Debian Sid/unstable.

So I got the latest driver from ReinerSCT [1] purged the old one and
installed it. But it does not work.

        $ lsusb | grep 0c4b
        Bus 004 Device 003: ID 0c4b:0300 Reiner SCT Kartensysteme GmbH cybe=
rJack pinpad(a)
       =20
        $ pcsc_scan # started before plugging in
        PC/SC device scanner
        V 1.4.17 (c) 2001-2009, Ludovic Rousseau <[email protected]>
        Compiled with PC/SC lite version: 1.5.5
        Scanning present readers...
        Waiting for the first reader...SCardGetStatusChange: Unknown error:=
 0x43414A52
       =20
        $ more /var/log/syslog
        [=E2=80=A6]
        Aug 17 18:54:33 mattotaupa kernel: [  834.087279] usb 4-2: new full=
 speed USB device using uhci_hcd and address 3
        Aug 17 18:54:33 mattotaupa kernel: [  834.258098] usb 4-2: New USB =
device found, idVendor=3D0c4b, idProduct=3D0300
        Aug 17 18:54:33 mattotaupa kernel: [  834.258104] usb 4-2: New USB =
device strings: Mfr=3D1, Product=3D2, SerialNumber=3D3
        Aug 17 18:54:33 mattotaupa kernel: [  834.258107] usb 4-2: Product:=
 cyberJack pinpad(a)
        Aug 17 18:54:33 mattotaupa kernel: [  834.258109] usb 4-2: Manufact=
urer: Reiner-SCT
        Aug 17 18:54:33 mattotaupa kernel: [  834.258111] usb 4-2: SerialNu=
mber: 0890891781
        Aug 17 18:54:33 mattotaupa kernel: [  834.258260] usb 4-2: configur=
ation #1 chosen from 1 choice
        Aug 17 18:54:33 mattotaupa mtp-probe: checking bus 4, device 3: "/s=
ys/devices/pci0000:00/0000:00:10.2/usb4/4-2"=20
        Aug 17 18:54:33 mattotaupa mtp-probe: bus: 4, device: 3 was not an =
MTP device
       =20
        $ # installed packages
        ii  libifd-cyberjack6  3.99.5final.SP02
        un  libchipcard    <keine>        (keine Beschreibung vorhanden)
        rc  libchipcard-ct 4.2.9-2        library for accessing smartcards
        ii  libchipcard-da 5.0.2-1        configuration files for libchipca=
rd
        un  libchipcard-li <keine>        (keine Beschreibung vorhanden)
        un  libchipcard-li <keine>        (keine Beschreibung vorhanden)
        un  libchipcard-pc <keine>        (keine Beschreibung vorhanden)
        ii  libchipcard-to 5.0.2-1        tools for accessing chipcards
        ii  libchipcard6   5.0.2-1        library for accessing smartcards
        rc  libchipcardc2  4.2.9-2        library for accessing smartcards
        rc  libchipcardd0  4.2.5-1        library for accessing smartcards
        ii  libpcsc-perl   1.4.12-1+b1    Perl interface to the PC/SC smart=
 card libra
        un  libpcsclite-de <keine>        (keine Beschreibung vorhanden)
        ii  libpcsclite1   1.7.4-1        Middleware to access a smart card=
 using PC/S
        ii  pcscd          1.7.4-1        Middleware to access a smart card=
 using PC/S

So I also got some permission errors and read and remembered about udev.
For some reason the latest packages does not include any udev rules for
the card reader so I created one myself.

        $ more /etc/udev/rules.d/99-cyberjack.rules
        # If not adding the device, go away
        ACTION!=3D"add", GOTO=3D"pcscd_ccid_rules_end"
        SUBSYSTEM!=3D"usb", GOTO=3D"pcscd_ccid_rules_end"
        ENV{DEVTYPE}!=3D"usb_device", GOTO=3D"pcscd_ccid_rules_end"
       =20
        ATTRS{idVendor}=3D=3D"0c4b", ATTRS{idProduct}=3D=3D"0300", GROUP=3D=
"pcscd"
       =20
        LABEL=3D"pcscd_ccid_rules_end"
       =20
        $ ls -l /dev/bus/usb/004/* # Rule seems to work.
        crw-rw-r-- 1 root root  189, 384 17. Aug 18:41 /dev/bus/usb/004/001
        crw-rw-r-- 1 root pcscd 189, 385 17. Aug 18:47 /dev/bus/usb/004/002

        $ cyberjack check
        BEGIN: ermittle Distribution (0/5)
        END  : ermittle Distribution (1/5) [OK]
        BEGIN: ermittle Systeminformationen (1/5)
        END  : ermittle Systeminformationen (2/5) [OK]
        BEGIN: ermittle Gruppeninformation (2/5)
        END  : ermittle Gruppeninformation (3/5) [OK]
        BEGIN: ermittle laufende Dienste (3/5)
        END  : ermittle laufende Dienste (4/5) [OK]
        BEGIN: ermittle und teste angeschlossene Leser (4/5)
        SCardListReader: Cannot find a smart card reader. (8010002E)
        Error in enumReaders: -5
        END  : ermittle und teste angeschlossene Leser (5/5) [ERROR]
       =20
        Es wurden 3 Dateien im aktuellen Verzeichnis angelegt:
        - cyberjack-report.log: Enthaelt die Ergebnisse der Tests
        - cyberjack-hints.log : Enthaelt moeglicherweise Hinweise
                                zu gefundenen Problemen und deren
                                Behebung.
        - cyberjack.xml       : Enthaelt die Testergebnisse in fuer
                                den Support aufbereiteter Form.
        Bitte senden Sie bei Problemen die Datei "cyberjack.xml"
        an den Linux-Support von Reiner SCT.
       =20
        $ more cyberjack-report.log=20
        Distribution: Debian wheezy/sid=20
        System: Linux, 2.6.32-5-amd64, #1 SMP Tue Mar 8 22:49:26 UTC 2011, =
x86_64
        PC/SC Dienst gefunden.
        PC/SC Interface
          PC/SC-Interface nicht verfuegbar.

Any further ideas are much appreciated.


I just noticed I wrote everything in English. Please switch to German if
you want to.


Thanks,

Paul


[1] http://www.reiner-sct.com/index.php?option=3Dcontent&task=3Dview&id=3D2=
34
[2] http://support.reiner-sct.de/downloads/LINUX/V3.99.5_SP02/libifd-cyberj=
ack6_3.99.5final.SP02_i386_d601a.deb

--=-43s8oFqVY8nieKLhujVN
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEABECAAYFAk5L9osACgkQPX1aK2wOHVicsACcDM/Ae9G9JqufU+0RrDMl2s+3
KBgAnjwNvvAebB21kqpNPsVZfUOk2KfB
=L+1z
-----END PGP SIGNATURE-----

--=-43s8oFqVY8nieKLhujVN--



--===============3417518348677044536==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
--===============3417518348677044536==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Libchipcard-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libchipcard-devel

--===============3417518348677044536==--