Problem with Kobil Kaan Professional

Thomas Droste <[email protected]>
Newsgroups gmane.comp.lib.libchipcard.devel
Organization Not organized at all
Message-ID <20050807180325.150f3425@duck>
I have a Kobil Kaan Professional, connected vie USB. Starting
chipcardd2, the reader is detected:

  duck:/etc/init.d# /usr/sbin/chipcardd2 --pidfile /var/run/chipcard2.pid -f --loglevel notice --logtype console
  5:2005/08/07 17-47-07:chipcardd(9373):chipcardd2.c:  722: Chipcardd v1.9.12.0beta started.
  5:2005/08/07 17-47-07:chipcardd(9373):chipcardd2.c:  724: LibUSB supported.
  5:2005/08/07 17-47-07:chipcardd(9374):chipcardd2.c:  952: Initializing daemon.
  5:2005/08/07 17-47-07:chipcardd(9374):usbttymonitor.c:  121: USB: Using proc file for kernel >=2.6 for ttyUSB support
  5:2005/08/07 17-47-07:chipcardd(9373):chipcardd2.c:  787: Nanny now supervising daemon 9374
  5:2005/08/07 17-47-07:chipcardd(9374):cardserver.c:  388: USB Autoconfiguration enabled
  5:2005/08/07 17-47-07:chipcardd(9374):cs_usb.c:  382: AUTOCONFIG: Created new reader "auto1-ko_kaan_pro_usb" (USBTTY: 0d46/2011)


The program chipcard-tool can connect to the server:

  td@duck:~$ chipcard-tool list
  Server: 42f62cff
    Readers:
    - auto1-ko_kaan_pro_usb (Kaan Professional (USB), port 0, keypad, display)
  td@duck:~$ chipcard-tool check
    Readers:
    - auto1-ko_kaan_pro_usb (Kaan Professional (USB), port 0, keypad, display, Manufacturer=DExxx;Terminal=CT399;Version=V2.06): up

But if I try to read a german Geldkarte (Nord/LB), I get:

  td@duck:~$ geldkarte2 maxload
  3:2005/08/07 17-47-27:geldkarte2(9383):card.c:  480: Error response for request "execCommand" (3)
  3:2005/08/07 17-47-27:geldkarte2(9383):card.c:  481: Request:
    Group : "SelectMF"
  ERROR: Error executing command CardOpen (3).

and in the console log:

  5:2005/08/07 17-56-03:chipcardd(9608):cardserver.c:  842: Client 42f62f11: ClientReady [(null)/nobody]
  5:2005/08/07 17-56-03:chipcardd(9608):cardserver.c:  849: Client "42f62f11" started (geldkarte2, Gwen 1.14.0.0stable, ChipCard 1.9.12.0beta)
  5:2005/08/07 17-56-03:chipcardd(9608):cs_request.c:  790: Client 42f62f11: StartWait [geldkarte2/nobody]
  5:2005/08/07 17-56-03:chipcardd(9608):cs_request.c:  819: Starting reader "auto1-ko_kaan_pro_usb" on account of client 42f62f11
  5:2005/08/07 17-56-03:chipcardd(9608):cs_driver.c: 1353: Driver "42f62f10" is up (Library loaded)
  5:2005/08/07 17-56-05:chipcardd(9608):cs_driver.c:  546: Reader "auto1-ko_kaan_pro_usb" is up (Reader up and waiting), info: Manufacturer=DExxx;Terminal=CT399;Version=V2.06
  3:2005/08/07 17-56-05:chipcardd(9608):cardmgr.c:  466: Adding card types...
  5:2005/08/07 17-56-05:chipcardd(9608):cs_cards.c:  484: Free card added with id "42f62f16" in reader "auto1-ko_kaan_pro_usb"(42f62f10)
  5:2005/08/07 17-56-05:chipcardd(9608):cs_cards.c:  258: Advertising card 42f62f16 to client 42f62f11
  5:2005/08/07 17-56-05:chipcardd(9608):cs_request.c:  992: Client 42f62f11: TakeCard [geldkarte2/nobody]
  5:2005/08/07 17-56-05:chipcardd(9608):cs_cards.c:  197: Card "42f62f16" taken by client "42f62f11"
  5:2005/08/07 17-56-05:chipcardd(9608):cs_request.c: 1458: Client 42f62f11: SelectCard (ProcessorCard) [geldkarte2/nobody]
  5:2005/08/07 17-56-05:chipcardd(9608):cardmgr.c:  443: Card type "ProcessorCard" selected
  5:2005/08/07 17-56-05:chipcardd(9608):cs_request.c: 1458: Client 42f62f11: SelectCard (geldkarte) [geldkarte2/nobody]
  5:2005/08/07 17-56-05:chipcardd(9608):cardmgr.c:  443: Card type "geldkarte" selected
  5:2005/08/07 17-56-05:chipcardd(9608):cs_request.c: 1317: Client 42f62f11: ExecCommand (SelectMF) [geldkarte2/nobody]
  5:2005/08/07 17-56-05:chipcardd(9608):cs_request.c: 1078: Client 42f62f11: ReleaseCard [geldkarte2/nobody]
  5:2005/08/07 17-56-05:chipcardd(9608):cs_cards.c:  557: Resetting card "42f62f16"
  5:2005/08/07 17-56-07:chipcardd(9608):cardserver.c:  195: Client "42f62f11" down
  5:2005/08/07 17-56-07:chipcardd(9608):cardserver.c:  277: Reader "auto1-ko_kaan_pro_usb" in use by client "42f62f11"
  5:2005/08/07 17-56-23:chipcardd(9608):cs_driver.c:  694: Reader "auto1-ko_kaan_pro_usb" is down as expected
  5:2005/08/07 17-56-23:chipcardd(9608):cs_cards.c:   64: Card 42f62f16 is down: Reader down
 5:2005/08/07 17-56-23:chipcardd(9608):cs_cards.c:  144: Unused card "42f62f16" in reader "auto1-ko_kaan_pro_usb" is invalid, removing it

I get similar results with a health insurance card and the program kvkcard2.

Does anyone have a hint, how I get this stuff working?

System: Debian unstable
        Kernel 2.6.9
        Gwenhyfar 1.14.0
        Libchipcard2 1.9.12 beta

TIA, regards
Thomas
-- 
BOFH excuse #12:

dry joints on cable plug


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
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.