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)
=== 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
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. pcsclite. alioth. debian. org/ccid. html#support
> Please follow http://
>
> Hello Rousseau,
I followed your instructions concerning support. I enclose 3 logs: ifdLogLevel= 0x000F pcscd --foreground
1) the log from pcscd (sudo LIBCCID_
--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/lib/ pcsc/drivers ipcdir= /var/run/ pcscd /etc/reader. conf.d
/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=
configdir=
=== 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 === tions 1 ionValue 1 orType 4 eNumber 0 eSetting 0 eClass 11 Chip/SmartCard eSubClass 0 eProtocol 0
bDescriptorTyp e 5
bEndpointAddre ss 0x03 EP 3 OUT
bmAttributes 2
wMaxPacketSize 0x0040 1x 64 bytes
bDescriptorTyp e 5
bEndpointAddre ss 0x82 EP 2 IN
bmAttributes 2
wMaxPacketSize 0x0040 1x 64 bytes
bDescriptorTyp e 5
bEndpointAddre ss 0x81 EP 1 IN
bmAttributes 3
wMaxPacketSize 0x0003 1x 3 bytes
bDescriptorTyp e 33
nMaxSlotIndex 0
bVoltageSuppor t 7 5.0V 3.0V 1.8V
dwDefaultClock 4000
dwMaxiumumCloc k 4000
bNumClockSuppo rted 0
dwMaxDataRate 307200 bps
bNumDataRatesS upp. 0
dwSyncProtocol s 00000000
dwMechanical 00000000
dwMaxCCIDMsgLe n 271
bClassGetRespo nse 00
bClassEnvelope 00
bMaxCCIDBusySl ots 1
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
bNumConfigura
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 93
bNumInterfaces 1
bConfigurat
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 3
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 255
ChipCard Interface Descriptor:
bLength 54
bcdCCID 1.00
dwProtocols 3 T=0 T=1
dwDataRate 9600 bps
dwMaxIFSD 254
dwFeatures 00000030
Auto clock change
Auto baud rate change
wlcdLayout none
bPINSupport 0
Device Status: 0x0001
Self Powered