Re: Omnikey Cardman 4000

Henryk Plötz <[email protected]> Sun, 29 Apr 2007 15:54:05 +0200
Newsgroups gmane.comp.lib.libchipcard.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Moin,

Am Thu, 26 Apr 2007 19:57:33 +0200 schrieb Christian Schuermann:

> Any more ideas?

Yes, this isn't as simple as Martin thought it was, I tried it before
resorting to cardman 5121 and the ccid driver (see my thread on
"libchipcard, PC/SC ifdhandlers and 64bit systems" below). The problem
in this stage is that you not only need the binary (it was ifd for me,
don't know why you are using ctapi), but also all the needed libraries
in 32 bit. See ldd ./ctapi to see what it is missing and then install
32bit-versions of these too. Maybe it is even possible to statically
compile the driver.

However, I'm still not convinced that this approach should work at all.
@Martin: Can the protocol that is used between chipcardd and the driver
be used between 32/64-bit-processes? E.g. does it use any data types
whose size and alignment changes between architectures?


I'm afraid the most viable solution currently is to set up a chroot
environment with a stripped down 32bit userland in it and then do all
your libchipcard work in that chroot.

I tried a compromise approach where I only ran the chipcardd in that
chroot and wanted to do gnucash HBCI on my normal system, but
apparently there are still more bugs on the other layers: I only ever
got HBCI 9050 errors. Having libchipcard, aqbanking and qbankmanager
inside the chroot runs fine, though.

Sorry for being so unhelpful, but I currently do not have enough time
to properly debug these problems. Might look at it at some later time
(if nobody beats me to it).

- -- 
Henryk Plötz
Grüße aus Berlin
~ Help Microsoft fight software piracy: Give Linux to a friend today ~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6-ecc01.6 (GNU/Linux)

iD8DBQFGNKN9vI90l8kWns8RAsRxAKCXsUi2IsQHl8KIsy1GFV0Oz475KgCfeFyJ
0GkPY5he4we063BzDpimpJc=
=mdPO
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/