Dear all,
I've spent some time trying to get my epass2003 token to work with
opensc and pcsclite. Unfortunately, I'm stuck and I hope you can help me
track down my problem.
I'm running on Debian squeeze
Linux xxx 2.6.39-bpo.2-amd64 #1 SMP Tue Jul 26 10:35:23 UTC 2011 x86_64
GNU/Linux
I'm using pcsclite and ccid drivers (compiled from source, not the
debian packages)
pcsc-lite version 1.8.3.
Copyright (C) 1999-2002 by David Corcoran corco...@linuxnet.com.
Copyright (C) 2001-2011 by Ludovic Rousseau ludovic.rouss...@free.fr.
Copyright (C) 2003-2004 by Damien Sauveron sauve...@labri.fr.
Report bugs to mus...@lists.musclecard.com.
Enabled features: Linux x86_64-unknown-linux-gnu serial usb libudev
usbdropdir=/usr/local/pcsclite/lib/pcsc/drivers ipcdir=/var/run/pcscd
configdir=/usr/local/pcsclite/etc/reader.conf.d
The token is detected by pcscd, it's powered when I plug it in. However,
it's unpowered immediately after reading the ATR. Therefore, it's not
visible with opensc-tool -l or similar.
It's recognized by lsusb -v even after it's unpowered.
I'll attach the logfile of pcscd -d -f and the output of lsusb -v
Do you have any idea why the token is unpowered? I have the same
behaviour with different tokens on different pcs (debian / fedora core 15)
The lines
2211 ccid_usb.c:1042:ControlUSB() control failed (2/3): -9 Success
0037 ccid_usb.c:973:get_data_rates() IFD does not support GET_DATA_RATES
request: -9
look suspicious but I guess that's not the main problem.
Thanks for your help,
Martin
Bus 002 Device 003: ID 096e:0807 Feitian Technologies, Inc.
Device Descriptor:
bLength18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize016
idVendor 0x096e Feitian Technologies, Inc.
idProduct 0x0807
bcdDevice1.00
iManufacturer 1
iProduct2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 86
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass11 Chip/SmartCard
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
ChipCard Interface Descriptor:
bLength54
bDescriptorType33
bcdCCID 1.10 (Warning: Only accurate for version
1.0)
nMaxSlotIndex 0
bVoltageSupport 1 5.0V
dwProtocols 2 T=1
dwDefaultClock 3580
dwMaxiumumClock 3580
bNumClockSupported 0
dwDataRate 9600 bps
dwMaxDataRate9600 bps
bNumDataRatesSupp. 0
dwMaxIFSD2048
dwSyncProtocols
dwMechanical
dwFeatures 00040840
Auto parameter negotation made by CCID
Short and extended APDU level exchange
dwMaxCCIDMsgLen 2100
bClassGetResponseecho
bClassEnvelope echo
wlcdLayout none
bPINSupport 0
bMaxCCIDBusySlots 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes2
Transfer TypeBulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes2
Transfer TypeBulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
debuglog.c:269:DebugLogSetLevel() debug level=debug
0070 debuglog.c:298:DebugLogSetCategory() Debug options: APDU
0236 configfile.l:298:DBGetReaderList() Parsing conf file:
/usr/local/pcsclite/etc/reader.conf.d
0047 pcscdaemon.c:518:main() pcsc-lite 1.8.3 daemon ready.
3681 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001
0444 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
0434 hotplug_libudev.c:260:get_driver() Looking for a driver for