[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
00000022 pcscdaemon.c:268:main() Force colored logs
00000053 utils.c:84:GetDaemonPid() Can't open /var/run/pcscd/pcscd.pid: No such file or directory
00000181 configfile.l:355:DBGetReaderList() Parsing conf file: /etc/reader.conf.d
00000020 pcscdaemon.c:569:main() pcsc-lite 1.8.13 daemon ready.
00070654 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/001/001
00000155 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001
00000089 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001
00000103 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x08FF, PID: 0x2810, path: /dev/bus/usb/002/002
00000130 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000128 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/007/001
00000082 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/007/001
00000098 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x17EF, PID: 0x480C, path: /dev/bus/usb/007/003
00000085 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x17EF, PID: 0x480C, path: /dev/bus/usb/007/003
00000129 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
00000084 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
00000091 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC521, path: /dev/bus/usb/004/007
00000086 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC521, path: /dev/bus/usb/004/007
00000080 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
00000089 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x08C3, PID: 0x0406, path: /dev/bus/usb/004/006
00000010 hotplug_libudev.c:435:HPAddDevice() Adding USB device: Precise 200 MC Upgrade
00000053 readerfactory.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
00038508 readerfactory.c:897:RFBindFunctions() Loading IFD Handler 3.0
00000045 ifdhandler.c:1953:init_driver() Driver version: 1.4.24
00000735 ifdhandler.c:1970:init_driver() LogLevel: 0x0003
00000007 ifdhandler.c:1981:init_driver() DriverOptions: 0x0000
00000165 ifdhandler.c:1994:init_driver() LogLevel from LIBCCID_ifdLogLevel: 0x000F
00000005 ifdhandler.c:110:CreateChannelByNameOrChannel() Lun: 0, device: usb:08c3/0406:libudev:0:/dev/bus/usb/004/006
00000007 ccid_usb.c:237:OpenUSBByName() Reader index: 0, Device: usb:08c3/0406:libudev:0:/dev/bus/usb/004/006
00000012 ccid_usb.c:269:OpenUSBByName() interface_number: 0
00000004 ccid_usb.c:270:OpenUSBByName() usb bus/device: 4/6
00000005 ccid_usb.c:287:OpenUSBByName() Using: /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
00000671 ccid_usb.c:305:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rousseau at free.fr)
00000006 ccid_usb.c:306:OpenUSBByName() ifdProductString: Generic CCID driver
00000005 ccid_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.
00003309 ccid_usb.c:391:OpenUSBByName() Try device: 4/6
00000012 ccid_usb.c:401:OpenUSBByName() vid/pid : 08C3/0406
00000004 ccid_usb.c:448:OpenUSBByName() Checking device: 4/6
00000004 ccid_usb.c:510:OpenUSBByName() Trying to open USB bus/device: 4/6
00061245 ccid_usb.c:612:OpenUSBByName() Found Vendor/Product: 08C3/0406 (Precise 200 MC Upgrade)
00000018 ccid_usb.c:614:OpenUSBByName() Using USB bus/device: 4/6
00000009 ccid_usb.c:666:OpenUSBByName() bNumDataRatesSupported is 0
00008324 ccid_usb.c:1230:InterruptRead() before (0)
00013406 ccid_usb.c:1276:InterruptRead() after (0) (0)
00000020 NotifySlotChange: 00 00 
00000014 -> 000000 65 00 00 00 00 00 00 00 00 00 
00003020 <- 000000 80 00 00 00 00 00 00 42 00 00 
00000016 commands.c:1220:CmdGetSlotStatus Command not supported or not allowed
00000013 -> 000000 65 00 00 00 00 00 01 00 00 00 
00001922 <- 000000 80 00 00 00 00 00 01 42 00 00 
00000017 commands.c:1220:CmdGetSlotStatus Command not supported or not allowed
00000013 -> 000000 65 00 00 00 00 00 02 00 00 00 
00001992 <- 000000 80 00 00 00 00 00 02 42 00 00 
00000014 commands.c:1220:CmdGetSlotStatus Command not supported or not allowed
00000008 ifdhandler.c:188:CreateChannelByNameOrChannel() failed
00000011 ccid_usb.c:865:CloseUSB() Closing USB device: 4/6
00000007 ccid_usb.c:875:CloseUSB() Last slot closed. Release resources
00000049 ccid_usb.c:189:close_libusb_if_needed() libusb_exit
00000301 readerfactory.c:1043:RFInitializeReader() Open Port 0x200000 Failed (usb:08c3/0406:libudev:0:/dev/bus/usb/004/006)
00000051 readerfactory.c:335:RFAddReader() Precise 200 MC Upgrade (0067108884) init failed.
00000050 readerfactory.c:558:RFRemoveReader() UnrefReader() count was: 1
00000048 readerfactory.c:1063:RFUnInitializeReader() Attempting shutdown of Precise 200 MC Upgrade (0067108884) 00 00.
00000011 readerfactory.c:934:RFUnloadReader() Unloading reader driver.
00000113 hotplug_libudev.c:501:HPAddDevice() Failed adding USB device: Precise 200 MC Upgrade
00000456 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001
00000342 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001
00000312 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