I tried to get an eutron simpocket to work with openct ccid driver but
failed. Ludovic, do you remember if you had to do anything special in
libccid to get it to work?
below is the openct log and usb information, maybe anyone sees the
problem faster than me.
Regards, Andreas
Sep 11 17:41:11 localhost ifdhandler[11882]: ifd_open: trying to open
ccid@/proc/bus/usb/002/044
Sep 11 17:41:11 localhost ifdhandler[11882]: ifd_usb_control: usb req
type=x80 req=x06 val=x0100 ind=x0000 len=18
Sep 11 17:41:11 localhost ifdhandler[11882]: ifd_usb_control: recv 12
01 10 01 00 00 00 08 3d 07 00 0c 14 01 01 02 00 01
Sep 11 17:41:11 localhost ifdhandler[11882]: ifd_usb_control: usb req
type=x80 req=x06 val=x0201 ind=x0000 len=8
Sep 11 17:41:11 localhost ifdhandler[11882]: ifd_usb_control: recv bd
bd bd bd bd bd bd bd
Sep 11 17:41:11 localhost ifdhandler[11882]: usb_control failed: Invalid
argument
Sep 11 17:41:11 localhost ifdhandler[11882]: ifd_usb_control: usb req
type=x80 req=x06 val=x0201 ind=x0000 len=-5
Sep 11 17:41:11 localhost ifdhandler[11882]: cannot get descriptors
Sep 11 17:41:11 localhost ifdhandler[11882]: ccid: config descriptor 1
not found
Sep 11 17:41:11 localhost ifdhandler[11882]: ccid: class descriptor not
found
Sep 11 17:41:11 localhost ifdhandler[11882]: /proc/bus/usb/002/044:
initialization failed (driver ccid)
Sep 11 17:41:11 localhost ifdhandler[11882]: unable to open reader
ccid@/proc/bus/usb/002/044
Sep 11 17:41:11 localhost ifdhandler[11889]: ifd_open: trying to open
ccid@/proc/bus/usb/002/045
Sep 11 17:41:11 localhost ifdhandler[11889]: ifd_usb_control: usb req
type=x80 req=x06 val=x0100 ind=x0000 len=18
Sep 11 17:41:11 localhost ifdhandler[11889]: ifd_usb_control: recv 12
01 10 01 00 00 00 08 3d 07 00 0c 14 01 01 02 00 01
Sep 11 17:41:11 localhost ifdhandler[11889]: ifd_usb_control: usb req
type=x80 req=x06 val=x0201 ind=x0000 len=8
Sep 11 17:41:11 localhost ifdhandler[11889]: ifd_usb_control: recv bd
bd bd bd bd bd bd bd
Sep 11 17:41:11 localhost ifdhandler[11889]: usb_control failed: Invalid
argument
Sep 11 17:41:11 localhost ifdhandler[11889]: ifd_usb_control: usb req
type=x80 req=x06 val=x0201 ind=x0000 len=-5
Sep 11 17:41:11 localhost ifdhandler[11889]: cannot get descriptors
Sep 11 17:41:11 localhost ifdhandler[11889]: ccid: config descriptor 1
not found
Sep 11 17:41:11 localhost ifdhandler[11889]: ccid: class descriptor not
found
Sep 11 17:41:11 localhost ifdhandler[11889]: /proc/bus/usb/002/045:
initialization failed (driver ccid)
Sep 11 17:41:11 localhost ifdhandler[11889]: unable to open reader
ccid@/proc/bus/usb/002/045
Bus 002 Device 045: ID 073d:0c00 Eutron S.p.a.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x073d Eutron S.p.a.
idProduct 0x0c00
bcdDevice 1.14
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 93
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
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 0
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 10752 bps
dwMaxDataRate 344068 bps
bNumDataRatesSupp. 0
dwMaxIFSD 254
dwSyncProtocols 00000000
dwMechanical 00000000
dwFeatures 00010330
Auto clock change
Auto baud rate change
CCID can set ICC in clock stop mode
NAD value other than 0x00 accpeted
TPDU level exchange
dwMaxCCIDMsgLen 271
bClassGetResponse 00
bClassEnvelope 00
wlcdLayout none
bPINSupport 0
bMaxCCIDBusySlots 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 24
Endpoint Descriptor:
bLength 7
bDescriptorType cannot read device status, Operation not
permitted (1)
cannot read device status, Operation not permitted (1)
5
bEndpointAddress 0x02 EP 2 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
Bus 002 Device 044: ID 073d:0c00 Eutron S.p.a.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x073d Eutron S.p.a.
idProduct 0x0c00
bcdDevice 1.14
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 93
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
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 0
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 10752 bps
dwMaxDataRate 344068 bps
bNumDataRatesSupp. 0
dwMaxIFSD 254
dwSyncProtocols 00000000
dwMechanical 00000000
dwFeatures 00010330
Auto clock change
Auto baud rate change
CCID can set ICC in clock stop mode
NAD value other than 0x00 accpeted
TPDU level exchange
dwMaxCCIDMsgLen 271
bClassGetResponse 00
bClassEnvelope 00
wlcdLayout none
bPINSupport 0
bMaxCCIDBusySlots 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 24
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 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
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel