Ludovic Rousseau wrote:
2010/5/14 Viktor TARASOV <[email protected]>:
We'll wait for the comments in Ludovic's blog, but I tested feitian card
with "Gemalto PC Pinpad Reader" without the patch and with the PIN
length 12 bytes.
The Gemalto pinpad reader does only accept PIN between 4 and 8 digits.
Of course you can still send a VERIFY command will a longer PIN but
you will then not use the pinpad to enter the PIN.
Or maybe you have a more recent pinpad than mine. Can your send me the
output.txt file as described at [1]?
Here it is.
Bye
[1] http://pcsclite.alioth.debian.org/ccid.html#CCID_compliant
Regards,
Viktor.
--
Viktor Tarasov <[email protected]>
pcscdaemon.c:294:main() pcscd set to foreground with debug send to stderr
pcscdaemon.c:507:main() pcsc-lite 1.4.3 daemon ready.
hotplug_libusb.c:454:HPAddHotPluggable() Adding USB device: 005:005
readerfactory.c:1115:RFInitializeReader() Attempting startup of Gemplus GemPC Pinpad 00 00 using /usr/lib64/readers/ifd-ccid.bundle/Contents/Linux/libccid.so
readerfactory.c:982:RFBindFunctions() Loading IFD Handler 3.0
ifdhandler.c:1532:init_driver() Driver version: 1.3.11
ifdhandler.c:1545:init_driver() LogLevel: 0x0003
ifdhandler.c:1555:init_driver() LogLevel from LIBCCID_ifdLogLevel: 0x0007
ifdhandler.c:1565:init_driver() DriverOptions: 0x0000
ifdhandler.c:82:IFDHCreateChannelByName() lun: 0, device: usb:08e6/3478:libusb:005:005
ccid_usb.c:162:OpenUSBByName() Reader index: 0, Device: usb:08e6/3478:libusb:005:005
ccid_usb.c:285:OpenUSBByName() Manufacturer: Ludovic Rousseau ([email protected])
ccid_usb.c:295:OpenUSBByName() ProductString: Generic CCID driver
ccid_usb.c:301: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.
ccid_usb.c:383:OpenUSBByName() Checking device: 005/005
ccid_usb.c:437:OpenUSBByName() Trying to open USB bus/device: 005/005
ccid_usb.c:501:OpenUSBByName() Found Vendor/Product: 08E6/3478 (Gemplus GemPC Pinpad)
ccid_usb.c:503:OpenUSBByName() Using USB bus/device: 005/005
ccid_usb.c:949:ControlUSB() request: 0x03
receive: 01 2A 00 00 01 38 00 00 09 3D 00 00 34 43 00 00 61 51 00 00 01 54 00 00 8E 5B 00 00 CE 64 00 00 02 70 00 00 12 7A 00 00 02 7E 00 00 69 86 00 00 97 98 00 00 C3 A2 00 00 03 A8 00 00 1B B7 00 00 73 CB 00 00 03 D2 00 00 04 E0 00 00 24 F4 00 00 04 FC 00 00 D1 0C 01 00 05 18 01 00 2D 31 01 00 85 45 01 00 06 50 01 00 36 6E 01 00 E7 96 01 00 07 A4 01 00 07 C0 01 00 48 E8 01 00 08 F8 01 00 09 30 02 00 5A 62 02 00 0B 8B 02 00 0B A0 02 00 0E 48 03 00 0F 80 03 00 90 D0 03 00 16 40 05 00 20 A1 07 00
ccid_usb.c:929:get_data_rates() declared: 10753 bps
ccid_usb.c:929:get_data_rates() declared: 14337 bps
ccid_usb.c:929:get_data_rates() declared: 15625 bps
ccid_usb.c:929:get_data_rates() declared: 17204 bps
ccid_usb.c:929:get_data_rates() declared: 20833 bps
ccid_usb.c:929:get_data_rates() declared: 21505 bps
ccid_usb.c:929:get_data_rates() declared: 23438 bps
ccid_usb.c:929:get_data_rates() declared: 25806 bps
ccid_usb.c:929:get_data_rates() declared: 28674 bps
ccid_usb.c:929:get_data_rates() declared: 31250 bps
ccid_usb.c:929:get_data_rates() declared: 32258 bps
ccid_usb.c:929:get_data_rates() declared: 34409 bps
ccid_usb.c:929:get_data_rates() declared: 39063 bps
ccid_usb.c:929:get_data_rates() declared: 41667 bps
ccid_usb.c:929:get_data_rates() declared: 43011 bps
ccid_usb.c:929:get_data_rates() declared: 46875 bps
ccid_usb.c:929:get_data_rates() declared: 52083 bps
ccid_usb.c:929:get_data_rates() declared: 53763 bps
ccid_usb.c:929:get_data_rates() declared: 57348 bps
ccid_usb.c:929:get_data_rates() declared: 62500 bps
ccid_usb.c:929:get_data_rates() declared: 64516 bps
ccid_usb.c:929:get_data_rates() declared: 68817 bps
ccid_usb.c:929:get_data_rates() declared: 71685 bps
ccid_usb.c:929:get_data_rates() declared: 78125 bps
ccid_usb.c:929:get_data_rates() declared: 83333 bps
ccid_usb.c:929:get_data_rates() declared: 86022 bps
ccid_usb.c:929:get_data_rates() declared: 93750 bps
ccid_usb.c:929:get_data_rates() declared: 104167 bps
ccid_usb.c:929:get_data_rates() declared: 107527 bps
ccid_usb.c:929:get_data_rates() declared: 114695 bps
ccid_usb.c:929:get_data_rates() declared: 125000 bps
ccid_usb.c:929:get_data_rates() declared: 129032 bps
ccid_usb.c:929:get_data_rates() declared: 143369 bps
ccid_usb.c:929:get_data_rates() declared: 156250 bps
ccid_usb.c:929:get_data_rates() declared: 166667 bps
ccid_usb.c:929:get_data_rates() declared: 172043 bps
ccid_usb.c:929:get_data_rates() declared: 215054 bps
ccid_usb.c:929:get_data_rates() declared: 229391 bps
ccid_usb.c:929:get_data_rates() declared: 250000 bps
ccid_usb.c:929:get_data_rates() declared: 344086 bps
ccid_usb.c:929:get_data_rates() declared: 500000 bps
-> 000000 6B A5 00 00 00 00 01 00 00 00 B2 A0 00 4D 4C 45 6E 74 72 65 72 20 50 49 4E 20 20 20 20 20 20 4E 6F 75 76 65 61 75 20 50 49 4E 20 20 20 20 20 43 6F 6E 66 69 72 6D 65 72 20 50 49 4E 20 20 20 50 49 4E 20 63 6F 72 72 65 63 74 20 20 20 20 20 50 49 4E 20 49 6E 63 6F 72 72 65 63 74 20 21 20 44 65 6C 61 69 20 64 65 70 61 73 73 65 20 20 20 2A 20 65 73 73 61 69 20 72 65 73 74 61 6E 74 20 49 6E 73 65 72 65 72 20 63 61 72 74 65 20 20 20 45 72 72 65 75 72 20 63 61 72 74 65 20 20 20 20 50 49 4E 20 62 6C 6F 71 75 65 20 20 20 20 20 20
<- 000000 83 00 00 00 00 00 01 01 00 00
ccid.c:300:ccid_open_hack_post() l10n string loaded successfully
ifdhandler.c:364:IFDHGetCapabilities() tag: 0xFAE, usb:08e6/3478:libusb:005:005 (lun: 0)
ifdhandler.c:418:IFDHGetCapabilities() Reader supports 1 slot(s)
hotplug_libusb.c:401:HPEstablishUSBNotifications() Driver rnboifd.bundle does not support IFD_GENERATE_HOTPLUG
hotplug_libusb.c:410:HPEstablishUSBNotifications() Polling forced every 1 second(s)
ifdhandler.c:1043:IFDHPowerICC() action: PowerUp, usb:08e6/3478:libusb:005:005 (lun: 0)
-> 000000 62 00 00 00 00 00 05 01 00 00
<- 000000 80 17 00 00 00 00 05 00 00 00 3B 9F 95 81 31 FE 9F 00 65 46 53 05 30 06 71 DF 00 00 00 81 61 0F D9
Card ATR: 3B 9F 95 81 31 FE 9F 00 65 46 53 05 30 06 71 DF 00 00 00 81 61 0F D9
pcscdaemon.c:586:signal_trap() Preparing for suicide
hotplug_libusb.c:375:HPRescanUsbBus() Hotplug stopped
readerfactory.c:1381:RFCleanupReaders() entering cleaning function
readerfactory.c:1390:RFCleanupReaders() Stopping reader: Gemplus GemPC Pinpad 00 00
eventhandler.c:120:EHDestroyEventHandler() Stomping thread.
eventhandler.c:148:EHDestroyEventHandler() Thread stomped.
readerfactory.c:1166:RFUnInitializeReader() Attempting shutdown of Gemplus GemPC Pinpad 00 00.
ifdhandler.c:266:IFDHCloseChannel() usb:08e6/3478:libusb:005:005 (lun: 0)
-> 000000 63 00 00 00 00 00 19 00 00 00
<- 000000 81 00 00 00 00 00 19 01 00 00
ccid_usb.c:677:CloseUSB() Closing USB device: 005/005
ccid_usb.c:692:CloseUSB() Last slot closed. Release resources
readerfactory.c:1027:RFUnloadReader() Unloading reader driver.
pcscdaemon.c:532:at_exit() cleaning /var/run
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel