libchicard3 /Mac OSX Leopard/SCR335 USB

Christopher Intemann <[email protected]> Mon, 4 Aug 2008 18:51:56 +0200
Newsgroups gmane.comp.lib.libchipcard.devel
Message-ID <[email protected]>
Hello list,
I'm trying to get chipcardd3 running with the genuine towitoko driver  
for the SCR335 chipdrive micro.
Using the standard configuration file, adding my cardreader results in:
ERROR: The low-level driver provided by the manufacturer
is not installed on your system.
Please visit the manufacturer's site at
      http://www.towitoko.de/
to download the driver.

As I already installed the driver, I decided to point chipcardd3 to  
its location and therefore altered the
configuration file:

driver {
   char driverType="ifdold" # <-- I tried the other values as well
   char driverName="tow_ctapi"
   char driverDataDir="/opt/local/etc/chipcard3/server/drivers/ 
tow_ctapi"
   char libraryFile="/opt/local/etc/chipcard3/server/drivers/tow_ctapi/ 
libscmccid" #<-- this is the library comming with the Towitoko driver  
kit

   vars {
     #char WriteBoundary="32" # for Towitoko 2.0.7
     char WriteBoundary="249" # for Towitoko 2.0.8 (not yet released)  
(<-- I don't know what this is for, do I have to change it?)
   }

   reader {
     char readerType="tow_usb"
     char readerName="tow1"
     int slots="1"
     char busType="USB"
     int port="0" # 0=COM1, 1=COM2 etc (do not know either)
   }
} # driver

I made some comments to explain my configuration, however, I don't  
know if its correct, actually.
Now I can start chipdrivedd3.
However, trying to set up a chipcard through the aqbanking-wizard from  
gnucash results in a crash of
the chipdrivedd3:

dhcp-203-16 107] /opt/local/etc/chipcard3/server > sudo /opt/local/ 
sbin/chipcardd3 -f -v
Password:
3:2008/08/04 17-25-15:gwen(71820):netlayer.c: 1413: Error on socket
3:2008/08/04 17-25-15:gwen(71820):ipc.c:  716: Outgoing request
48971f5b not found
    --------------------------
    Driver
    Type            : ifd
    Name            : tow_ctapi
    DataDir         : /opt/local/etc/chipcard3/server/drivers/tow_ctapi
    LogFile         : /opt/local/var/log/chipcard3/drivers/tow_ctapi/
@reader at .log
    Library         : /usr/libexec/SmartCardServices/drivers/
scmccid.bundle/Contents/MacOS/libscmccid
    Customer        : (null)
    MaxReaders      : 1
    Vars:
      Group : "vars"
          Var   : "WriteBoundary"
              Value : "249" (char)
    Id              : 48971f2c
    IPC-Id          : 48971f30
    Status          : Up (3)
    ActiveReaders   : 1
    AssignedReaders : 1
      Driver flags : config
3:2008/08/04 17-25-27:gwen(71831):netlayer.c: 1413: Error on socket
3:2008/08/04 17-25-27:gwen(71831):ipc.c:  716: Outgoing request
48971f67 not found
[17:25 - 0.230.230.45]
[dhcp-203-16 108] /opt/local/etc/chipcard3/server > sudo /opt/local/ 
sbin/chipcardd3 -f -v
3:2008/08/04 17-28-11:gwen(71849):netlayer.c: 1413: Error on socket
3:2008/08/04 17-28-11:gwen(71849):ipc.c:  716: Outgoing request
4897200b not found
[17:28 - 0.260.230.40]
[dhcp-203-16 109] /opt/local/etc/chipcard3/server >

What is actually happening here?
It seems to me as the chipdrive is found, but cannot be initialized?
How do I configure chipdrivedd3 correctly?
Many thanks in advance,
   Christopher

PS: I also found the source of the towitoko OpenSource driver  
(towitoko-2.0.7).
However, it seems to be only usefull in Linux (according to the Readme).
It compiles in Mac OSX as well, though. But does it work on OSX at all?

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Libchipcard-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libchipcard-devel
smime.p7s (application/pkcs7-signature, 2.4 KB) - not displayed