[Pcsclite-muscle] Smartcard reader Precise Biometrics 200 MC
Jan Prunk
janprunk at gmail.com
Thu Sep 29 14:07:53 UTC 2016
Hello Dr. Rousseau,
Here is my full debug done with my best effort for "Precise Biometrics 200
MC". If there is anything else I could test, please suggest.
1. CCID driver version
I removed 1.4.23 from Debian and compiled 1.4.24 from source as suggested.
I think it is the one being in use now.
2. pcsc-lite version
pcsc-tools 1.4.23-1 , pcscd 1.8.13-1 (Debian jessie)
3. smart card reader name
Precise Biometrics 200 MC
4. the output of the command "/usr/sbin/pcscd --version"
pcsc-lite version 1.8.13.
Copyright (C) 1999-2002 by David Corcoran <corcoran at musclecard.com>.
Copyright (C) 2001-2011 by Ludovic Rousseau <ludovic.rousseau at free.fr>.
Copyright (C) 2003-2004 by Damien Sauveron <sauveron at labri.fr>.
Report bugs to <muscle at lists.musclecard.com>.
Enabled features: Linux x86_64-pc-linux-gnu serial usb libudev
usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd
configdir=/etc/reader.conf.d
5. Operating system or GNU/Linux distribution name and version
Debian jessie 8.6
6. Smart card middleware name and version
libpcsc-perl 1.4.13-1+b2 , libpcsclite-dev 1.8.13-1 , libpcsclite1:amd64
1.8.13-1
7. Reader manufacturer name and reader model name
Precise Biometrics 200 MC
8. Smart card name
I have the FSFE OpenPGP smartcard, however I haven't tested it with the
reader, since I am unable to detect the reader at this point.
9. sudo LIBCCID_ifdLogLevel=0x000F pcscd --foreground --debug --apdu
--color | tee log333.txt
File log333.txt attached and also available at
http://paste.debian.net/plainh/8b7b2084
10. Readers compliance to CCID specification
File output8.txt attached and also available at
http://paste.debian.net/plainh/7a83cdb1
Kind regards,
Jan Prunk
--
Jan Prunk http://prunk.si
PGP Pubkey http://prunk.si/0x9FD7F151.txt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20160929/c34a3199/attachment.html>
-------------- next part --------------
00000000 debuglog.c:292:DebugLogSetLevel() debug level=debug
00000040 debuglog.c:321:DebugLogSetCategory() Debug options: APDU
[36m00000022[0m [34mpcscdaemon.c:268:main() Force colored logs[0m
[36m00000053[0m [01;31mutils.c:84:GetDaemonPid() Can't open /var/run/pcscd/pcscd.pid: No such file or directory[0m
[36m00000181[0m configfile.l:355:DBGetReaderList() Parsing conf file: /etc/reader.conf.d
[36m00000020[0m [34mpcscdaemon.c:569:main() pcsc-lite 1.8.13 daemon ready.[0m
[36m00070654[0m hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/001/001
[36m00000155[0m hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001
[36m00000089[0m hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001
[36m00000103[0m hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x08FF, PID: 0x2810, path: /dev/bus/usb/002/002
[36m00000130[0m hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
[36m00000128[0m hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/007/001
[36m00000082[0m hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/007/001
[36m00000098[0m hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x17EF, PID: 0x480C, path: /dev/bus/usb/007/003
[36m00000085[0m hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x17EF, PID: 0x480C, path: /dev/bus/usb/007/003
[36m00000129[0m hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
[36m00000084[0m hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
[36m00000091[0m hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC521, path: /dev/bus/usb/004/007
[36m00000086[0m hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC521, path: /dev/bus/usb/004/007
[36m00000080[0m hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
[36m00000089[0m hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x08C3, PID: 0x0406, path: /dev/bus/usb/004/006
[36m00000010[0m [34mhotplug_libudev.c:435:HPAddDevice() Adding USB device: Precise 200 MC Upgrade[0m
[36m00000053[0m [34mreaderfactory.c:1012:RFInitializeReader() Attempting startup of Precise 200 MC Upgrade (0067108884) 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so[0m
[36m00038508[0m [34mreaderfactory.c:897:RFBindFunctions() Loading IFD Handler 3.0[0m
[36m00000045[0m [34mifdhandler.c:1953:init_driver() Driver version: 1.4.24[0m
[36m00000735[0m [34mifdhandler.c:1970:init_driver() LogLevel: 0x0003[0m
[36m00000007[0m [34mifdhandler.c:1981:init_driver() DriverOptions: 0x0000[0m
[36m00000165[0m [34mifdhandler.c:1994:init_driver() LogLevel from LIBCCID_ifdLogLevel: 0x000F[0m
[36m00000005[0m [34mifdhandler.c:110:CreateChannelByNameOrChannel() Lun: 0, device: usb:08c3/0406:libudev:0:/dev/bus/usb/004/006[0m
[36m00000007[0m ccid_usb.c:237:OpenUSBByName() Reader index: 0, Device: usb:08c3/0406:libudev:0:/dev/bus/usb/004/006
[36m00000012[0m ccid_usb.c:269:OpenUSBByName() interface_number: 0
[36m00000004[0m ccid_usb.c:270:OpenUSBByName() usb bus/device: 4/6
[36m00000005[0m [34mccid_usb.c:287:OpenUSBByName() Using: /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist[0m
[36m00000671[0m [34mccid_usb.c:305:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rousseau at free.fr)[0m
[36m00000006[0m [34mccid_usb.c:306:OpenUSBByName() ifdProductString: Generic CCID driver[0m
[36m00000005[0m [34mccid_usb.c:307:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version.[0m
[36m00003309[0m ccid_usb.c:391:OpenUSBByName() Try device: 4/6
[36m00000012[0m ccid_usb.c:401:OpenUSBByName() vid/pid : 08C3/0406
[36m00000004[0m ccid_usb.c:448:OpenUSBByName() Checking device: 4/6
[36m00000004[0m ccid_usb.c:510:OpenUSBByName() Trying to open USB bus/device: 4/6
[36m00061245[0m [34mccid_usb.c:612:OpenUSBByName() Found Vendor/Product: 08C3/0406 (Precise 200 MC Upgrade)[0m
[36m00000018[0m [34mccid_usb.c:614:OpenUSBByName() Using USB bus/device: 4/6[0m
[36m00000009[0m [34mccid_usb.c:666:OpenUSBByName() bNumDataRatesSupported is 0[0m
[36m00008324[0m ccid_usb.c:1230:InterruptRead() before (0)
[36m00013406[0m ccid_usb.c:1276:InterruptRead() after (0) (0)
[36m00000020[0m NotifySlotChange: 00 00
[36m00000014[0m -> 000000 65 00 00 00 00 00 00 00 00 00
[36m00003020[0m <- 000000 80 00 00 00 00 00 00 42 00 00
[36m00000016[0m [35mcommands.c:1220:CmdGetSlotStatus Command not supported or not allowed[0m
[36m00000013[0m -> 000000 65 00 00 00 00 00 01 00 00 00
[36m00001922[0m <- 000000 80 00 00 00 00 00 01 42 00 00
[36m00000017[0m [35mcommands.c:1220:CmdGetSlotStatus Command not supported or not allowed[0m
[36m00000013[0m -> 000000 65 00 00 00 00 00 02 00 00 00
[36m00001992[0m <- 000000 80 00 00 00 00 00 02 42 00 00
[36m00000014[0m [35mcommands.c:1220:CmdGetSlotStatus Command not supported or not allowed[0m
[36m00000008[0m [01;31mifdhandler.c:188:CreateChannelByNameOrChannel() failed[0m
[36m00000011[0m ccid_usb.c:865:CloseUSB() Closing USB device: 4/6
[36m00000007[0m ccid_usb.c:875:CloseUSB() Last slot closed. Release resources
[36m00000049[0m [34mccid_usb.c:189:close_libusb_if_needed() libusb_exit[0m
[36m00000301[0m [01;31mreaderfactory.c:1043:RFInitializeReader() Open Port 0x200000 Failed (usb:08c3/0406:libudev:0:/dev/bus/usb/004/006)[0m
[36m00000051[0m [35mreaderfactory.c:335:RFAddReader() Precise 200 MC Upgrade (0067108884) init failed.[0m
[36m00000050[0m readerfactory.c:558:RFRemoveReader() UnrefReader() count was: 1
[36m00000048[0m [34mreaderfactory.c:1063:RFUnInitializeReader() Attempting shutdown of Precise 200 MC Upgrade (0067108884) 00 00.[0m
[36m00000011[0m [34mreaderfactory.c:934:RFUnloadReader() Unloading reader driver.[0m
[36m00000113[0m [35mhotplug_libudev.c:501:HPAddDevice() Failed adding USB device: Precise 200 MC Upgrade[0m
[36m00000456[0m hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001
[36m00000342[0m hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001
[36m00000312[0m hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/008/001
-------------- next part --------------
idVendor: 0x08C3
iManufacturer: Precise Biometrics
idProduct: 0x0406
iProduct: Precise 200 MC Upgrade
bcdDevice: 2E.3D (firmware release?)
bLength: 9
bDescriptorType: 4
bInterfaceNumber: 0
bAlternateSetting: 0
bNumEndpoints: 3
bulk-IN, bulk-OUT and Interrupt-IN
bInterfaceClass: 0x0B [Chip Card Interface Device Class (CCID)]
bInterfaceSubClass: 0
bInterfaceProtocol: 0
bulk transfer, optional interrupt-IN (CCID)
Can't get iInterface string
CCID Class Descriptor
bLength: 0x36
bDescriptorType: 0x21
bcdCCID: 1.00
bMaxSlotIndex: 0x00
bVoltageSupport: 0x03
5.0V
3.0V
dwProtocols: 0x0000 0x0003
T=0
T=1
dwDefaultClock: 4.000 MHz
dwMaximumClock: 7.500 MHz
bNumClockSupported: 0 (will use whatever is returned)
IFD does not support GET CLOCK FREQUENCIES request: Resource temporarily unavailable
dwDataRate: 10753 bps
dwMaxDataRate: 241936 bps
bNumDataRatesSupported: 0 (will use whatever is returned)
IFD does not support GET_DATA_RATES request: Resource temporarily unavailable
dwMaxIFSD: 254
dwSynchProtocols: 0x00000000
dwMechanical: 0x00000000
No special characteristics
dwFeatures: 0x000200BA
....02 Automatic parameter configuration based on ATR data
....08 Automatic ICC voltage selection
....10 Automatic ICC clock frequency change according to parameters
....20 Automatic baud rate change according to frequency and Fi, Di params
....80 Automatic PPS made by the CCID
02.... Short APDU level exchange
dwMaxCCIDMessageLength: 524288 bytes
bClassGetResponse: 0x00
bClassEnvelope: 0x00
wLcdLayout: 0x0000
bPINSupport: 0x00
bMaxCCIDBusySlots: 1
More information about the Pcsclite-muscle
mailing list