• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Towitoko Kartenleser installieren

mralchemy

Newbie
Hallo,

ichbin gerade dabei meinen Kartenleser für die HBCI-Karte unter Suse Linux 10.3 einzurichten. Es will einfach nicht klappen. Hoffentlich wisst Ihr eine Lösung.

Ich poste mal schritt für schritt was ich gemacht habe.

1. Treiber für Towitoko runtergeladen (es ist ein Chipdrive mirco 110 Serielle Schnittstelle)
Gefunden habe ich den Treiber hier: http://www.geocities.com/cprados/
Die Datei: http://www.geocities.com/cprados/files/towitoko-2.0.7.tar.gz

2. Archiv entpackt

3.In der Console als root folgendes eingegeben:
./configure --enable-win32-com

Folgendes wurde dann ausgegeben:
Code:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ld used by GCC... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking for docbook-to-man... no
checking whether ln -s works... yes
checking for main in -lpthread... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for library containing nanosleep... none required
checking for poll... yes
checking for nanosleep... yes
checking for syslog... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/driver/Makefile
config.status: creating src/ct-api/Makefile
config.status: creating src/ifd-handler/Makefile
config.status: creating src/test/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

4. in der Console als root eingegeben: make
Ausgabe:
Code:
make  all-recursive
make[1]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7'
Making all in src
make[2]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src'
Making all in ct-api
make[3]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/ct-api'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/ct-api'
Making all in ifd-handler
make[3]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/ifd-handler'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/ifd-handler'
Making all in driver
make[3]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/driver'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/driver'
Making all in test
make[3]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/test'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/test'
make[3]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src'
make[3]: Für das Ziel »all-am« ist nichts zu tun.
make[3]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src'
make[2]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src'
Making all in doc
make[2]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/doc'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/doc'
make[2]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7'
make[2]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7'
make[1]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7'

5. In der Console als root eingegeben: make install
folgendes wurde ausgegeben:
Code:
Making install in src
make[1]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src'
Making install in ct-api
make[2]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/ct-api'
make[3]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/ct-api'
make[3]: Für das Ziel »install-exec-am« ist nichts zu tun.
/bin/sh ../../mkinstalldirs /usr/local/towitoko/include
 /usr/bin/install -c -m 644 ctapi.h /usr/local/towitoko/include/ctapi.h
 /usr/bin/install -c -m 644 ctbcs.h /usr/local/towitoko/include/ctbcs.h
make[3]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/ct-api'
make[2]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/ct-api'
Making install in ifd-handler
make[2]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/ifd-handler'
make[3]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/ifd-handler'
make[3]: Für das Ziel »install-exec-am« ist nichts zu tun.
make[3]: Für das Ziel »install-data-am« ist nichts zu tun.
make[3]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/ifd-handler'
make[2]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/ifd-handler'
Making install in driver
make[2]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/driver'
make[3]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/driver'
/bin/sh ../../mkinstalldirs /usr/local/towitoko/lib
 /bin/sh ../../libtool --mode=install /usr/bin/install -c  libtowitoko.la /usr/local/towitoko/lib/libtowitoko.la
/usr/bin/install -c .libs/libtowitoko.so.2.0.0 /usr/local/towitoko/lib/libtowitoko.so.2.0.0
(cd /usr/local/towitoko/lib && rm -f libtowitoko.so.2 && ln -s libtowitoko.so.2.0.0 libtowitoko.so.2)
(cd /usr/local/towitoko/lib && rm -f libtowitoko.so && ln -s libtowitoko.so.2.0.0 libtowitoko.so)
/usr/bin/install -c .libs/libtowitoko.lai /usr/local/towitoko/lib/libtowitoko.la
PATH="$PATH:/sbin" ldconfig -n /usr/local/towitoko/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/towitoko/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make  install-exec-hook
make[4]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/driver'
make[4]: Für das Ziel »install-exec-hook« ist nichts zu tun.
make[4]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/driver'
make[3]: Für das Ziel »install-data-am« ist nichts zu tun.
make[3]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/driver'
make[2]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/driver'
Making install in test
make[2]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/test'
make[3]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/test'
/bin/sh ../../mkinstalldirs /usr/local/towitoko/bin
  /bin/sh ../../libtool --mode=install /usr/bin/install -c tester /usr/local/towitoko/bin/tester
/usr/bin/install -c .libs/tester /usr/local/towitoko/bin/tester
make[3]: Für das Ziel »install-data-am« ist nichts zu tun.
make[3]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/test'
make[2]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src/test'
make[2]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src'
make[3]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src'
make[3]: Für das Ziel »install-exec-am« ist nichts zu tun.
make[3]: Für das Ziel »install-data-am« ist nichts zu tun.
make[3]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src'
make[2]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src'
make[1]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/src'
Making install in doc
make[1]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/doc'
make[2]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/doc'
make[2]: Für das Ziel »install-exec-am« ist nichts zu tun.
/bin/sh ../mkinstalldirs /usr/local/towitoko/man/man3
 /usr/bin/install -c -m 644 ./ctapi.3 /usr/local/towitoko/man/man3/ctapi.3
 /usr/bin/install -c -m 644 ./ctbcs.3 /usr/local/towitoko/man/man3/ctbcs.3
make  install-data-hook
make[3]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/doc'
(cd /usr/local/towitoko/man/man3 && \
        test -f CT_init.3  || ln -s ctapi.3 CT_init.3 && \
        test -f CT_data.3  || ln -s ctapi.3 CT_data.3 && \
        test -f CT_close.3 || ln -s ctapi.3 CT_close.3)
make[3]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/doc'
make[2]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/doc'
make[1]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7/doc'
make[1]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7'
make[2]: Entering directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7'
make[2]: Für das Ziel »install-exec-am« ist nichts zu tun.
make[2]: Für das Ziel »install-data-am« ist nichts zu tun.
make[2]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7'
make[1]: Leaving directory `/home/tobias/Downloads/Towitoko-Chipdrive/towitoko-2.0.7'

Wenn ich nun in /usr/local/towitoko/bin das Testprogramm aufrufe "tester" passiert garnix. Kein Dialog und auch keine Meldung. Ich seh nur im Prozessexplorer dass "tester" ca. 50% CPU - Zeit belegt.

Ich will den Kartenleser mit Moneyplex benutzen. Dort kommt nur die Meldung, dass der Kartenleser nicht angesprochen werden kann.

Ich hoffe ich habe es nicht zu ausführlich geschrieben, aber ich hoffe, dass bei der Problemlösung behilflich ist.

Gruss
Tobias
 

/dev/null

Moderator
Teammitglied
Hi Tobias,

moneyplex + Towitoko ... .

Ich habe jetzt leider nichts zum Nachlesen hier, also nur aus dem Gedächtnis.
Es gibt zwei grundsätzliche Modi (?), mit denen Kartenleser angesprochen werden. Zum einen ctapi und zum anderen pc-sc.
moneyplex unterstützt allerdings nur ctapi. Und der "Kartenzwerg" läuft nur mit pc-sc. Um dieses Problem zu lösen, gibt es einen ctapi-pcsc-Wrapper (Name?).
Ich wollte neben meiner PC-Installation mit dem KOBIL KAAN Advanced und der Vollversion von moneyplex 2007 noch eine Installation mit Towitoko und der Kostnix-Version von moneyplex auf dem Notebook machen - und habe bei dem o.g. Problem entnervt aufgegben.

Zuerst musst du immer pc-sc installieren und starten. In /var/log/messges muss der Anschluss und das Entfernen des Towitoko schon zu sehen sein. Die Treiberinstallation verlief bei mir problemlos, die Quelle des Treibers kann ich jetzt nicht mehr nennen. Jetzt kannst du auch in .../messages das "betreiberte" Gerät und sogar das Stecken und Ziehen der Karte erkennen. Ja - und dann gings bei mir nicht mehr weiter. (Error EBKAC ...).

Den Hinweis auf www.onlinebanking-forum.de kann ich mir sicherlich sparen ... . (Tolles Forum!)

MfG Peter
 
OP
M

mralchemy

Newbie
Ich hab jetzt noch den Treiber von Suse aus den Quellen installiert. Jetzt hab ich unter /usr/lib/readers auch noch nen Towitoko-Treiber rumliegen.

Weiss aber nicht was ich damit machen soll. Moneyplex kann mit dem auch nicht mehr anfangen.
 

/dev/null

Moderator
Teammitglied
Hast du nun schon mal im onlinebanking-Forum nachgesehen?
Auch auf der Seite von Matrica gibt es dazu einige Erläuterungen.
Was zeigen die Ausgaben von /var/log/messages?

Wenn du möchtest, dass dir jemand hilft, solltest du schon die Hinweise beachten.

MfG Peter
 

stolley

Hacker
hi!

mir geht es mit suse 10.3 genauso. allerdings muss ich sagen, dass bei mir der towitoko-treiber bei suse 10.2 tadellos funktioniert hatte (auch chipdrive micro über serielle schnittstelle). und das, obwohl ich den treiber auch bloss von meiner vorigen 10.1 installation kopiert hatte.

dieser lag unter /usr/local/towitoko/libtowitoki.so

also grundsätzlich sollte es funktionieren!

habe jetzt allerdings auch noch kein glück, das gerät ist nicht unter moneyplex ansprechbar. habe auch versucht, den pcsc-treiber zu installieren. aber den erkennt moneyplex offensichtlich nicht? moneyplex will ja einen ctapi-treiber??

wäre euch für tipps echt dankbar!!
 
Oben