Read Card using pcscd lite
Raul Rosetto Munoz <[email protected]>
| Newsgroups | gmane.comp.lib.muscle |
|---|---|
| Message-ID | <CANmVirhGv8-A04CXSp_AkdWQNkhkiPwwkfsvh=-rPbOdr-zhyQ@mail.gmail.com> |
Hello All, I have just compiled an embedded linux with pcsc-lite in my image. I just connected my reader on the board and all the drivers recognized well! After insert my card, I could see that the reader recognized my card. I Would like to ask you if there is any console comands to test the other things. What I need to do know to start use my reader and my carts? I Belive that the private key come from the card, works like this? Please, Is there is any documentation about this? Thanks Very Much for all Help. Log until now. root@imx28evk:~# pcscd -df 00000000 pcscdaemon.c:233:main() pcscd set to foreground with debug send to stdout 00001313 configfile.l:298:DBGetReaderList() Parsing conf file: /etc/reader.conf.d 00000250 pcscdaemon.c:525:main() pcsc-lite 1.8.6 daemon ready. 00038625 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001 00003124 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001 00003094 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x058F, PID: 0x9540, path: /dev/bus/usb/002/002 00000844 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x058F, PID: 0x9540, path: /dev/bus/usb/002/002 00000188 hotplug_libudev.c:312:HPAddDevice() Adding USB device: Alcor Micro AU9540 00000593 readerfactory.c:978:RFInitializeReader() Attempting startup of Alcor Micro AU9540 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so 00015969 readerfactory.c:868:RFBindFunctions() Loading IFD Handler 3.0 00001187 ifdhandler.c:1837:init_driver() Driver version: 1.4.8 00011282 ifdhandler.c:1854:init_driver() LogLevel: 0x0003 00000250 ifdhandler.c:1865:init_driver() DriverOptions: 0x0000 00002281 ifdhandler.c:83:CreateChannelByNameOrChannel() Lun: 0, device: usb:058f/9540:libudev:0:/dev/bus/usb/002/002 00000500 ccid_usb.c:228:OpenUSBByName() Using: /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist 00009625 ccid_usb.c:246:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau ([email protected]) 00000188 ccid_usb.c:247:OpenUSBByName() ifdProductString: Generic CCID driver 00000156 ccid_usb.c:248: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. 00011000 ccid_usb.c:521:OpenUSBByName() Found Vendor/Product: 058F/9540 (Alcor Micro AU9540) 00000187 ccid_usb.c:523:OpenUSBByName() Using USB bus/device: 2/2 00003875 ccid_usb.c:1021:get_data_rates() declared: 1807 bps 00000125 ccid_usb.c:1021:get_data_rates() declared: 1989 bps 00000094 ccid_usb.c:1021:get_data_rates() declared: 2409 bps 00000125 ccid_usb.c:1021:get_data_rates() declared: 2487 bps 00000094 ccid_usb.c:1021:get_data_rates() declared: 3315 bps 00000093 ccid_usb.c:1021:get_data_rates() declared: 3613 bps 00000063 ccid_usb.c:1021:get_data_rates() declared: 3978 bps 00000094 ccid_usb.c:1021:get_data_rates() declared: 4818 bps 00000062 ccid_usb.c:1021:get_data_rates() declared: 4973 bps 00000094 ccid_usb.c:1021:get_data_rates() declared: 6631 bps 00000094 ccid_usb.c:1021:get_data_rates() declared: 7227 bps 00000093 ccid_usb.c:1021:get_data_rates() declared: 7957 bps 00000094 ccid_usb.c:1021:get_data_rates() declared: 9635 bps 00000063 ccid_usb.c:1021:get_data_rates() declared: 9946 bps 00000093 ccid_usb.c:1021:get_data_rates() declared: 13262 bps 00000094 ccid_usb.c:1021:get_data_rates() declared: 14453 bps 00000063 ccid_usb.c:1021:get_data_rates() declared: 15914 bps 00000093 ccid_usb.c:1021:get_data_rates() declared: 19271 bps 00000094 ccid_usb.c:1021:get_data_rates() declared: 19892 bps 00000094 ccid_usb.c:1021:get_data_rates() declared: 21680 bps 00000094 ccid_usb.c:1021:get_data_rates() declared: 23871 bps 00000093 ccid_usb.c:1021:get_data_rates() declared: 26523 bps 00000125 ccid_usb.c:1021:get_data_rates() declared: 28906 bps 00000094 ccid_usb.c:1021:get_data_rates() declared: 29839 bps 00000063 ccid_usb.c:1021:get_data_rates() declared: 31828 bps 00000093 ccid_usb.c:1021:get_data_rates() declared: 36133 bps 00000376 ccid_usb.c:1021:get_data_rates() declared: 38542 bps 00000125 ccid_usb.c:1021:get_data_rates() declared: 39785 bps 00000093 ccid_usb.c:1021:get_data_rates() declared: 43359 bps 00000063 ccid_usb.c:1021:get_data_rates() declared: 48177 bps 00000125 ccid_usb.c:1021:get_data_rates() declared: 49731 bps 00000094 ccid_usb.c:1021:get_data_rates() declared: 53047 bps 00000062 ccid_usb.c:1021:get_data_rates() declared: 57813 bps 00000094 ccid_usb.c:1021:get_data_rates() declared: 59677 bps 00000094 ccid_usb.c:1021:get_data_rates() declared: 63656 bps 00000093 ccid_usb.c:1021:get_data_rates() declared: 66308 bps 00332875 ccid_usb.c:1021:get_data_rates() declared: 72266 bps 00000125 ccid_usb.c:1021:get_data_rates() declared: 77083 bps 00000094 ccid_usb.c:1021:get_data_rates() declared: 79570 bps 00000094 ccid_usb.c:1021:get_data_rates() declared: 86719 bps 00000062 ccid_usb.c:1021:get_data_rates() declared: 96354 bps 00000094 ccid_usb.c:1021:get_data_rates() declared: 99462 bps 00000125 ccid_usb.c:1021:get_data_rates() declared: 106093 bps 00000063 ccid_usb.c:1021:get_data_rates() declared: 115625 bps 00000093 ccid_usb.c:1021:get_data_rates() declared: 119355 bps 00000094 ccid_usb.c:1021:get_data_rates() declared: 132616 bps 00000063 ccid_usb.c:1021:get_data_rates() declared: 144531 bps 00000093 ccid_usb.c:1021:get_data_rates() declared: 154167 bps 00000094 ccid_usb.c:1021:get_data_rates() declared: 159140 bps 00000063 ccid_usb.c:1021:get_data_rates() declared: 198925 bps 00000124 ccid_usb.c:1021:get_data_rates() declared: 212186 bps 00000063 ccid_usb.c:1021:get_data_rates() declared: 231250 bps 00000094 ccid_usb.c:1021:get_data_rates() declared: 318280 bps 00038219 ifdhandler.c:358:IFDHGetCapabilities() tag: 0xFB3, usb:058f/9540:libudev:0:/dev/bus/usb/002/002 (lun: 0) 00000187 readerfactory.c:332:RFAddReader() Using the reader polling thread 00002187 ifdhandler.c:358:IFDHGetCapabilities() tag: 0xFAE, usb:058f/9540:libudev:0:/dev/bus/usb/002/002 (lun: 0) 00000188 ifdhandler.c:446:IFDHGetCapabilities() Reader supports 1 slot(s) 00003781 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001 00002032 readerfactory.c:1306:RFWaitForReaderInit() Waiting init for reader: Alcor Micro AU9540 00 00 12024625 ifdhandler.c:1119:IFDHPowerICC() action: PowerUp, usb:058f/9540:libudev:0:/dev/bus/usb/002/002 (lun: 0) 00308937 commands.c:237:CmdPowerOn Card absent or mute 00000188 ifdhandler.c:1185:IFDHPowerICC() PowerUp failed 00000125 eventhandler.c:378:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED 00000093 eventhandler.c:387:EHStatusHandlerThread() Card inserted into Alcor Micro AU9540 00 00 00000094 eventhandler.c:403:EHStatusHandlerThread() Error powering up card. 03846438 eventhandler.c:325:EHStatusHandlerThread() Card Removed From Alcor Micro AU9540 00 00 01796031 ifdhandler.c:1119:IFDHPowerICC() action: PowerUp, usb:058f/9540:libudev:0:/dev/bus/usb/002/002 (lun: 0) 00309000 commands.c:237:CmdPowerOn Card absent or mute 00000187 ifdhandler.c:1185:IFDHPowerICC() PowerUp failed 00000125 eventhandler.c:378:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED 00000125 eventhandler.c:387:EHStatusHandlerThread() Card inserted into Alcor Micro AU9540 00 00 00000094 eventhandler.c:403:EHStatusHandlerThread() Error powering up card. 04136469 eventhandler.c:325:EHStatusHandlerThread() Card Removed From Alcor Micro AU9540 00 00 05058000 ifdhandler.c:1119:IFDHPowerICC() action: PowerUp, usb:058f/9540:libudev:0:/dev/bus/usb/002/002 (lun: 0) 00761125 eventhandler.c:372:EHStatusHandlerThread() powerState: POWER_STATE_POWERED 00000219 eventhandler.c:387:EHStatusHandlerThread() Card inserted into Alcor Micro AU9540 00 00 00000218 Card ATR: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 05003406 ifdhandler.c:1119:IFDHPowerICC() action: PowerDown, usb:058f/9540:libudev:0:/dev/bus/usb/002/002 (lun: 0) 00042032 eventhandler.c:446:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED -- *Raul Rosetto Muñoz* _______________________________________________ Muscle mailing list [email protected] http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com