fedora 20 работает, но есть вопросы

(токен заработал но есть пару вопросов)

[user@localhost ~]$ systemctl status pcscd
pcscd.service - PC/SC Smart Card Daemon
   Loaded: loaded (/usr/lib/systemd/system/pcscd.service; static)
   Active: active (running) since Пн 2015-03-30 12:50:36 MSK; 1min 16s ago
 Main PID: 12308 (pcscd)
   CGroup: /system.slice/pcscd.service
           └─12308 /usr/sbin/pcscd --foreground --auto-exit

мар 30 12:50:36 localhost.localdomain systemd[1]: Started PC/SC Smart Card Daemon.
мар 30 12:50:37 localhost.localdomain pcscd[12308]: 00000000 utils.c:61:GetDaemonPid() Can't open /var/run/pcscd/pc...ctory
мар 30 12:50:37 localhost.localdomain pcscd[12308]: 00010395 ccid_usb.c:1142:ControlUSB() control failed (6/2): -9 ...lable
Hint: Some lines were ellipsized, use -l to show in full.

1. "Hint: Some lines were ellipsized, use -l to show in full", не понял, чтобы их использовать что надо сделать?
Вроде читал что по умолчанию они не поддерживаються дистром. Нужно руками пересобрать что-то.
2. Или это не относиться к конкретно к этому случаю

3.
"мар 30 12:50:37 localhost.localdomain pcscd[12308]: 00000000 utils.c:61:GetDaemonPid() Can't open /var/run/pcscd/pc...ctory
мар 30 12:50:37 localhost.localdomain pcscd[12308]: 00010395 ccid_usb.c:1142:ControlUSB() control failed (6/2): -9 ...lable"
что это за ошибки?

Re: fedora 20 работает, но есть вопросы

при выполнение
"/usr/sbin/pcscd -afddddd"

есть такая ошибка
"00000022 ccid_usb.c:1073:get_data_rates() IFD does not support GET_DATA_RATES request: -9"

00000000 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000037 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000011 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000010 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000010 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000492 utils.c:61:GetDaemonPid() Can't open /var/run/pcscd/pcscd.pid: No such file or directory
00000154 configfile.l:254:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
00000027 configfile.l:307:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
00000164 configfile.l:266:DBGetReaderListDir() Skipping non regular file: .
00000013 configfile.l:266:DBGetReaderListDir() Skipping non regular file: ..
00000015 pcscdaemon.c:545:main() pcsc-lite 1.8.10 daemon ready.
00002593 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000124 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000116 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x0A5C, PID: 0x2101, path: /dev/bus/usb/003/002
00000121 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x0A5C, PID: 0x2101, path: /dev/bus/usb/003/002
00000111 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x0A5C, PID: 0x2101, path: /dev/bus/usb/003/002
00000110 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x0A5C, PID: 0x2101, path: /dev/bus/usb/003/002
00000145 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
00000152 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000113 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000115 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x064E, PID: 0xA103, path: /dev/bus/usb/001/002
00000117 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x064E, PID: 0xA103, path: /dev/bus/usb/001/002
00000179 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001
00000152 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001
00000122 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001
00000125 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x0A89, PID: 0x0030, path: /dev/bus/usb/006/002
00000036 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x0A89, PID: 0x0030, path: /dev/bus/usb/006/002
00000014 hotplug_libudev.c:321:HPAddDevice() Adding USB device: Aktiv Rutoken ECP
00000032 readerfactory.c:989:RFInitializeReader() Attempting startup of Aktiv Rutoken ECP 00 00 using /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so                                                                                     
00000195 readerfactory.c:874:RFBindFunctions() Loading IFD Handler 3.0
00000038 ifdhandler.c:1843:init_driver() Driver version: 1.4.13
00000464 ifdhandler.c:1860:init_driver() LogLevel: 0x0003
00000023 ifdhandler.c:1871:init_driver() DriverOptions: 0x0000
00000088 ifdhandler.c:83:CreateChannelByNameOrChannel() Lun: 0, device: usb:0a89/0030:libudev:0:/dev/bus/usb/006/002
00000027 ccid_usb.c:281:OpenUSBByName() Using: /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
00000416 ccid_usb.c:299:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rousseau@free.fr)
00000015 ccid_usb.c:300:OpenUSBByName() ifdProductString: Generic CCID driver
00000019 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.                                                                           
00004748 ccid_usb.c:576:OpenUSBByName() Found Vendor/Product: 0A89/0030 (Activ Rutoken ECP)
00000038 ccid_usb.c:578:OpenUSBByName() Using USB bus/device: 6/2
00001338 ccid_usb.c:1142:ControlUSB() control failed (6/2): -9 Resource temporarily unavailable
00000022 ccid_usb.c:1073:get_data_rates() IFD does not support GET_DATA_RATES request: -9
00008215 ifdhandler.c:362:IFDHGetCapabilities() tag: 0xFB3, usb:0a89/0030:libudev:0:/dev/bus/usb/006/002 (lun: 0)
00000046 readerfactory.c:327:RFAddReader() Using the pcscd polling thread
00001878 ifdhandler.c:362:IFDHGetCapabilities() tag: 0xFAE, usb:0a89/0030:libudev:0:/dev/bus/usb/006/002 (lun: 0)
00000046 ifdhandler.c:450:IFDHGetCapabilities() Reader supports 1 slot(s)
00000330 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/007/001
00000261 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000162 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000182 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1C7A, PID: 0x0801, path: /dev/bus/usb/002/002
00000072 readerfactory.c:1330:RFWaitForReaderInit() Waiting init for reader: Aktiv Rutoken ECP 00 00
00002763 ifdhandler.c:1122:IFDHPowerICC() action: PowerUp, usb:0a89/0030:libudev:0:/dev/bus/usb/006/002 (lun: 0)
00002252 eventhandler.c:266:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
00000059 Card ATR: 3B 8B 01 52 75 74 6F 6B 65 6E 20 44 53 20 C1 
00405009 ifdhandler.c:1122:IFDHPowerICC() action: PowerDown, usb:0a89/0030:libudev:0:/dev/bus/usb/006/002 (lun: 0)
00002024 eventhandler.c:455:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
^C16433245 pcscdaemon.c:726:signal_trap() Received signal: 2
00000029 pcscdaemon.c:745:signal_trap() Preparing for suicide
01000202 readerfactory.c:1273:RFCleanupReaders() entering cleaning function
00000047 readerfactory.c:1282:RFCleanupReaders() Stopping reader: Aktiv Rutoken ECP 00 00
00000016 readerfactory.c:535:RFRemoveReader() UnrefReader() count was: 1
00000013 eventhandler.c:156:EHDestroyEventHandler() Stomping thread.
00000016 ifdhandler.c:362:IFDHGetCapabilities() tag: 0xFB1, usb:0a89/0030:libudev:0:/dev/bus/usb/006/002 (lun: 0)
00000013 ifdhandler.c:362:IFDHGetCapabilities() tag: 0xFB2, usb:0a89/0030:libudev:0:/dev/bus/usb/006/002 (lun: 0)
00000014 eventhandler.c:185:EHDestroyEventHandler() Waiting polling thread
00297978 eventhandler.c:478:EHStatusHandlerThread() Die
00000262 eventhandler.c:196:EHDestroyEventHandler() Thread stomped.
00000040 readerfactory.c:1040:RFUnInitializeReader() Attempting shutdown of Aktiv Rutoken ECP 00 00.
00000030 ifdhandler.c:253:IFDHCloseChannel() usb:0a89/0030:libudev:0:/dev/bus/usb/006/002 (lun: 0)
00003255 ccid_usb.c:191:close_libusb_if_needed() libusb_exit
00000345 readerfactory.c:911:RFUnloadReader() Unloading reader driver.
00000245 winscard_svc.c:130:ContextsDeinitialize() remaining threads: 0
00000021 pcscdaemon.c:670:at_exit() cleaning /var/run/pcscd

(2015-03-30 13:36:58 отредактировано ealmanah)

Re: fedora 20 работает, но есть вопросы

lsusb выводит

[user@localhost ~]$ lsusb
Bus 002 Device 002: ID 1c7a:0801 LighTuning Technology Inc. Fingerprint Reader
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 0a89:0030  
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 064e:a103 Suyin Corp. Acer/HP Integrated Webcam [CN0314]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0a5c:2101 Broadcom Corp. BCM2045 Bluetooth
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

"Bus 006 Device 002: ID 0a89:0030  " - не выводит название устройства, хотя в файле
/usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist (есть отличии от инструкции, но думаю не принципиальное, а дистрибутивное)
есть оба номера (0a89:0030) и название (<string>Aktiv Rutoken ECP</string>)

Re: fedora 20 работает, но есть вопросы

1) На это

 00000022 ccid_usb.c:1073:get_data_rates() IFD does not support GET_DATA_RATES request: -9 

не обращайте внимания, это не ошибка.

2)
lsusb никак не связан с pcsclite и использует свой список
http://www.linux-usb.org/usb.ids
В linux он обычно находится в /var/lib/usbutils
Если добавите туда наши устройства lsusb будет отображать что-то осмысленное.

3)

 ControlUSB() control failed (6/2): -9 

Это похоже на ошибку в libusb https://forum.rutoken.ru/post/7635/#p7635 Проверьте версию libusb.