Comment 11 for bug 1311273

Revision history for this message
Tim Banchi (tim-banchi) wrote : Re: [Bug 1311273] Re: O2 Micro OZ776 not working with libccid 1.4.15-1
  • eid-viewer.log Edit (15.4 KiB, text/x-log; charset=US-ASCII; name="eid-viewer.log")
  • pcscd.log Edit (58.5 KiB, text/x-log; charset=US-ASCII; name="pcscd.log")
  • pcsc_scan.log Edit (2.7 KiB, text/x-log; charset=US-ASCII; name="pcsc_scan.log")

On Wed, May 27, 2015 at 11:15 AM, Ludovic Rousseau <
<email address hidden>> wrote:

> Tim, I need traces from the CCID driver to know what exactly is wrong.
> Please follow http://pcsclite.alioth.debian.org/ccid.html#support
>
> Hello Rousseau,

I followed your instructions concerning support. I enclose 3 logs:
1) the log from pcscd (sudo LIBCCID_ifdLogLevel=0x000F pcscd --foreground
--debug --apdu | tee pcscd.log)
2) the log from eid-viewer (which fails to read data from the smartcard)
3) the log from pcsc_scan (both of the cards not working)

Further information:

=== Versions ===
libccid version: 1.4.19-1
libpcsclite1:i386 version: 1.8.10-1ubuntu1
smartcard middleware: 1.8.10-1ubuntu1

--> sudo dpkg -l | grep pcsc
libpcsc-perl 1.4.13-1build1
libpcsclite-dev 1.8.10-1ubuntu1
pcsc-tools 1.4.22-1
pcscd 1.8.10-1ubuntu1

=== pcscd output ===
/usr/sbin/pcscd --version
pcsc-lite version 1.8.10.
Copyright (C) 1999-2002 by David Corcoran <email address hidden>.
Copyright (C) 2001-2011 by Ludovic Rousseau <email address hidden>.
Copyright (C) 2003-2004 by Damien Sauveron <email address hidden>.
Report bugs to <email address hidden>.
Enabled features: Linux i686-pc-linux-gnu serial usb libudev
usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd
configdir=/etc/reader.conf.d

=== Operating System information ===
--> lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 17.1 Rebecca
Release: 17.1
Codename: rebecca

--> uname -a
Linux gavroche 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:31:42 UTC 2014
i686 i686 i686 GNU/Linux

=== Smartcard reader information ===
O2 Micro, Inc. Oz776 SmartCard Reader
manufacturer: O2 Micro
model: Oz776
--> lsusb -v:
Bus 001 Device 010: ID 0b97:7762 O2 Micro, Inc. Oz776 SmartCard Reader
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 1.10
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x0b97 O2 Micro, Inc.
  idProduct 0x7762 Oz776 SmartCard Reader
  bcdDevice 1.10
  iManufacturer 1 O2
  iProduct 2 O2Micro CCID SC Reader
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 93
    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 3
      bInterfaceClass 11 Chip/SmartCard
      bInterfaceSubClass 0
      bInterfaceProtocol 0
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x03 EP 3 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 0x81 EP 1 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0003 1x 3 bytes
        bInterval 255
      ChipCard Interface Descriptor:
        bLength 54
        bDescriptorType 33
        bcdCCID 1.00
        nMaxSlotIndex 0
        bVoltageSupport 7 5.0V 3.0V 1.8V
        dwProtocols 3 T=0 T=1
        dwDefaultClock 4000
        dwMaxiumumClock 4000
        bNumClockSupported 0
        dwDataRate 9600 bps
        dwMaxDataRate 307200 bps
        bNumDataRatesSupp. 0
        dwMaxIFSD 254
        dwSyncProtocols 00000000
        dwMechanical 00000000
        dwFeatures 00000030
          Auto clock change
          Auto baud rate change
        dwMaxCCIDMsgLen 271
        bClassGetResponse 00
        bClassEnvelope 00
        wlcdLayout none
        bPINSupport 0
        bMaxCCIDBusySlots 1
Device Status: 0x0001
  Self Powered