ports/71417: Cryptoflex e-gate USB token (ugen0) communication problem

Zoltan Tesch zoltan.tesch at kancellar.hu
Mon Sep 6 06:10:05 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list