Problem with libchipcard2 on Debian

Marcus Ilgner <[email protected]>
Newsgroups gmane.comp.lib.libchipcard.devel
Organization Musikverlage Hans Gerig KG
Message-ID <[email protected]>
Hello list,

I'm currently in the process of configuring my HBCI online banking setup using 
a Reiner SCT Cyberjack e-com USB reader.
The device is being recognized perfectly:
> horas:/dev# ls -l ttyUSB0
> crw-rwS---  1 root cyberjack 188, 0 2006-03-24 20:38 ttyUSB0

And I can read from it using the supplied openct-programm "cjgeldkarte":
> horas:/dev# cjgeldkarte
> Current account balance: 0000.00

chipcard-tool also finds the device:
> Mar 24 20:39:42 horas chipcardd[11080]: devicemanager.c: 2451: AUTOCONFIG: 
Created new reader "auto1-cyberjack" (0c4b/0100)
> Mar 24 20:39:42 horas chipcardd[11080]: devicemanager.c: 2461: Automatically 
assigned port 32769 to reader "auto1-cyberjack"

> horas:/dev# chipcard-tool list
> Server: 44244af5
>   Readers:
>   - auto1-cyberjack (cyberjack, port 0)

But when I try to check the device, some really strange stuff starts to 
happen:
> horas:~# chipcard-tool check
> 3:2006/03/24 21-03-50:gwen(11770):process.c:  323: Process 11776 terminated 
by signal 11
>   --------------------------
>   Driver
>   Type            : ctapi
>   Name            : cyberjack_ctapi
>   DataDir         : (null)
>   LogFile         : /var/log/chipcard2/drivers/cyberjack_ctapi/@[email protected]
>   Library         : /usr/lib/chipcard2-server/lowlevel/libctapi-cyberjack.so
>   Customer        : (null)
>   MaxReaders      : 1
>   Vars:
>     Group : "vars"
>   Id              : 44245091
>   IPC-Id          : 44245098
>   Status          : Up (3)
>   ActiveReaders   : 1
>   AssignedReaders : 1
>     Driver flags : auto
> 3:2006/03/24 21-03-50:gwen(11770):ipc.c:  976: Node 00000000 not found
> chipcardd2: devicemanager.c:1024: LCDM_DeviceManager_CheckDriver: Assertion 
`conn' failed.
> 3:2006/03/24 21-03-50:gwen(11775):netconnection.c: 1472: No socket
> 3:2006/03/24 21-03-50:gwen(11775):netconnection.c: 1590: Hmm, not a real 
error, will return "change" instead
> 3:2006/03/24 21-03-50:gwen(11775):netconnection.c: 1472: No socket
> 3:2006/03/24 21-03-50:chipcard-tool(11775):client.c:  595: Error while 
working (2)
> Error (2)

The socket file that is set in both client and server configuration files is 
available though:
> horas:~# ls /var/run/chipcard2/chipcard2.sock -l
> srw-rw-rw-  1 chipcard chipcard 0 Mar 24 
21:03 /var/run/chipcard2/chipcard2.sock

I'm running everything as root.
Does anyone have a clue what is wrong? Maybe a problem in libgwenhywfar?

Best regards
  Marcus


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.