List Info

Thread: ccid error when starting ifhandler




ccid error when starting ifhandler
country flaguser name
United States
2008-02-21 11:46:43
I am having the following problem starting openct.  ifdhandler dies immediately.  Below is the debug output from ifhandler, as well as the results of lsusb.  Any help will be appreciated.  Thanks.
 
 
>ifdhandler -Fdddddd ccid usb /proc/bus/usb/001/002

Debug: ifd_open: trying to open
usb:/proc/bus/usb/001/002">ccidusb:/proc/bus/usb/001/002
Error: usb_control failed: Protocol error
Debug: ifd_usb_control: usb req type=x80 req=x06 val=x0100 ind=x0000 len=-5
Error: cannot get descriptors
Error: ccid: device descriptor not found
Error: usb:/proc/bus/usb/001/002: initialization failed (driver ccid)
Error: unable to open reader ccid usb /proc/bus/usb/001/002
 
 
 lsusb -v
 
Bus 001 Device 002: ID 04e6:e001 SCM Microsystems, Inc.
Device Descriptor:
  bLength    ;           ; 18
 ; bDescriptorType   ;      1
  bcdUSB      ;         2.00
  bDeviceClass     ;       0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        16
  idVendor  ;         0x04e6 SCM Microsystems, Inc.
 ; idProduct          0xe001
  bcdDevice           ; 5.18
  iManufacturer   ;        1
  iProduct  ;           ;   2 SCRx31 USB Smart Card Reader
  iSerial    ;           ;  5 21120749G13359
  bNumConfigurations      1
  Configuration Descriptor:
    bLength    ;           ;  9
   ; bDescriptorType         2
   ; wTotalLength     ;      93
 ;   bNumInterfaces ;         1
   ; bConfigurationValue     1
   ; iConfiguration ;         3 CCID Class
    bmAttributes     ;    0xa0
      Remote Wakeup
    MaxPower  ;           ; 100mA
    Interface Descriptor:
     ; bLength    ;           ;  9
   ;   bDescriptorType         4
   ;   bInterfaceNumber        0
   ;   bAlternateSetting      ; 0
   ;   bNumEndpoints   ;        3
   ;   bInterfaceClass        11 Chip/SmartCard
      bInterfaceSubClass    ;  0
   ;   bInterfaceProtocol    ;  0
   ;   iInterface         ;     4 CCID Interface
  ;    ChipCard Interface Descriptor:
     ;   bLength    ;           ; 54
 ;       bDescriptorType        33
 ;       bcdCCID    ;          1.00
        nMaxSlotIndex   ;        0
   ;     bVoltageSupport         1  5.0V
        dwProtocols       ;      3  T=0 T=1
   ;     dwDefaultClock ;      4000
        dwMaxiumumClock     12000
      ;  bNumClockSupported    ;  0
   ;     dwDataRate         ;  9600 bps
        dwMaxDataRate   ;   307200 bps
        bNumDataRatesSupp.    ;  0
   ;     dwMaxIFSD           ;  252
        dwSyncProtocols  00000000
        dwMechanical     00000000
        dwFeatures       000100BA
          Auto configuration based on ATR
          Auto voltage selection
         ; Auto clock change
    ;      Auto baud rate change
    ;      Auto PPS made by CCID
 ;         TPDU level exchange
        dwMaxCCIDMsgLen       263
        bClassGetResponse    echo
        bClassEnvelope ;      echo
        wlcdLayout         ;  none
        bPINSupport       ;      0
   ;     bMaxCCIDBusySlots      ; 1
   ;   Endpoint Descriptor:
     ;   bLength    ;           ;  7
   ;     bDescriptorType         5
   ;     bEndpointAddress     0x01  EP 1 OUT
        bmAttributes     ;       2
   ;       Transfer Type          ;  Bulk
        ;  Synch Type          ;     None
        ;  Usage Type          ;     Data
        wMaxPacketSize ;    0x0040  1x 64 bytes
      ;  bInterval           ;    0
   ;   Endpoint Descriptor:
     ;   bLength    ;           ;  7
   ;     bDescriptorType         5
   ;     bEndpointAddress     0x82  EP 2 IN
 ;       bmAttributes     ;       2
   ;       Transfer Type          ;  Bulk
        ;  Synch Type          ;     None
        ;  Usage Type          ;     Data
        wMaxPacketSize ;    0x0040  1x 64 bytes
      ;  bInterval           ;    0
   ;   Endpoint Descriptor:
     ;   bLength    ;           ;  7
   ;     bDescriptorType         5
   ;     bEndpointAddress     0x83  EP 3 IN
 ;       bmAttributes     ;       3
   ;       Transfer Type          ;  Interrupt
         ; Synch Type          ;     None
        ;  Usage Type          ;     Data
        wMaxPacketSize ;    0x0010  1x 16 bytes
      ;  bInterval           ;   16
 
Bus 001 Device 001: ID 0000:0000
Device Descriptor:
  bLength    ;           ; 18
 ; bDescriptorType   ;      1
  bcdUSB      ;         1.10
  bDeviceClass     ;       9 Hub
  bDeviceSubClass   ;      0 Unused
  bDeviceProtocol   ;      0
  bMaxPacketSize0   ;     64
 ; idVendor  ;         0x0000
  idProduct    ;      0x0000
  bcdDevice           ; 2.06
  iManufacturer   ;        3 Linux 2.6.22.9-0.1.gcc3.4.x86.i686 uhci_hcd
  iProduct  ;           ;   2 UHCI Host Controller
  iSerial    ;           ;  1 0000:00:07.2
  bNumConfigurations      1
  Configuration Descriptor:
    bLength    ;           ;  9
   ; bDescriptorType         2
   ; wTotalLength     ;      25
 ;   bNumInterfaces ;         1
   ; bConfigurationValue     1
   ; iConfiguration ;         0
   ; bmAttributes     ;    0xe0
      Self Powered
  ;    Remote Wakeup
    MaxPower  ;           ;   0mA
    Interface Descriptor:
     ; bLength    ;           ;  9
   ;   bDescriptorType         4
   ;   bInterfaceNumber        0
   ;   bAlternateSetting      ; 0
   ;   bNumEndpoints   ;        1
   ;   bInterfaceClass         9 Hub
      bInterfaceSubClass    ;  0 Unused
    ;  bInterfaceProtocol    ;  0
   ;   iInterface         ;     0
   ;   Endpoint Descriptor:
     ;   bLength    ;           ;  7
   ;     bDescriptorType         5
   ;     bEndpointAddress     0x81  EP 1 IN
 ;       bmAttributes     ;       3
   ;       Transfer Type          ;  Interrupt
         ; Synch Type          ;     None
        ;  Usage Type          ;     Data
        wMaxPacketSize ;    0x0002  1x 2 bytes
      ;  bInterval           ;  255
Hub Descriptor:
  bLength    ;           9
  bDescriptorType   ;   41
  nNbrPorts           ;  2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
 ;   Per-port overcurrent protection
  bPwrOn2PwrGood ;       1 * 2 milli seconds
  bHubContrCurrent ;     0 milli Ampere
  DeviceRemovable   ; 0x00
 ; PortPwrCtrlMask    0x00
 ;Hub Port Status:
   Port 1: 0000.0103 power enable connect
   Port 2: 0000.0100 power

------------------------------------------
Erik Schetina
Valicore Technologies
(917) 658-6476 cell
------------------------------------------
 
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )