Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Sep 2004 06:05:29 GMT
From:      Zoltan Tesch <zoltan.tesch@kancellar.hu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/71417: Cryptoflex e-gate USB token (ugen0) communication problem
Message-ID:  <200409060605.i8665TJ6086263@www.freebsd.org>
Resent-Message-ID: <200409060610.i866A4ZK061483@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         71417
>Category:       ports
>Synopsis:       Cryptoflex e-gate USB token (ugen0) communication problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 06 06:10:04 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Zoltan Tesch
>Release:        5.2.1
>Organization:
kancellar.hu Ltd.
>Environment:
FreeBSD warbsd 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #4: Fri Sep  3 22:15:44 CEST 2004     root@warbsd:/usr/src/sys/i386/compile/BASE  i386
(usb debug option is enabled)
>Description:
  I would like to use this token with openct-0.6.1. It seems that card initialization, ATR query, reset and status request works fine, but when the first data packet is sent to the card, the program receives the following error (ktrace output):
   663 ifdhandler CALL  ioctl(0x7,USB_SET_TIMEOUT,0xbfbfc14c)
   663 ifdhandler RET   ioctl 0
   663 ifdhandler CALL  ioctl(0x7,USB_DO_REQUEST,0xbfbfc150)
   663 ifdhandler RET   ioctl -1 errno 5 Input/output error

It seems to me the control messages are handled well, but data messages drops the error.
Maybe this is not a kernel problem but I have no any idea how I can be sure about it.   
>How-To-Repeat:
      Just issue the pkcs15-tool -c -C command
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409060605.i8665TJ6086263>