<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум Рутокен &mdash; Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.]]></title>
		<link>https://forum.rutoken.ru/topic/2441/</link>
		<atom:link href="https://forum.rutoken.ru/feed/rss/topic/2441/" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.».]]></description>
		<lastBuildDate>Mon, 01 Jul 2019 10:39:17 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.]]></title>
			<link>https://forum.rutoken.ru/post/13025/#p13025</link>
			<description><![CDATA[<p><strong>geolog</strong>, добрый день, скажите пожалуйста, какая у вас модель токена и дистрибутив/версия-разрядность Linux?</p>]]></description>
			<author><![CDATA[null@example.com (Алексей Лазарев)]]></author>
			<pubDate>Mon, 01 Jul 2019 10:39:17 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/13025/#p13025</guid>
		</item>
		<item>
			<title><![CDATA[Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.]]></title>
			<link>https://forum.rutoken.ru/post/13019/#p13019</link>
			<description><![CDATA[<p>Столкнулся с тайкой же проблемой, ставил все дравера, везде вроде протыкал.<br />При вствке/извлечении в правом окне где запущена команда sudo /usr/sbin/pcscd -afddddd отображается что вставлено/извлечено устройство соответственно<br /><span class="postimg"><a class="fancybox fancybox.image" rel="group" href="https://i.imgur.com/ivJwv5a.png"><img class="fb_img" src="https://i.imgur.com/ivJwv5a.png" alt="" /></a></span></p>]]></description>
			<author><![CDATA[null@example.com (geolog)]]></author>
			<pubDate>Fri, 28 Jun 2019 11:28:14 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/13019/#p13019</guid>
		</item>
		<item>
			<title><![CDATA[Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.]]></title>
			<link>https://forum.rutoken.ru/post/12662/#p12662</link>
			<description><![CDATA[<p>Рекомендую ознакомиться, возможно кому-то будет полезным <a href="https://crimeadigital.ru/blog/kliient-banka-s-tokienom-rutoken-ecp-2-0-pod-ubuntu/">https://crimeadigital.ru/blog/kliient-b … od-ubuntu/</a></p>]]></description>
			<author><![CDATA[null@example.com (Igor_M)]]></author>
			<pubDate>Thu, 07 Feb 2019 08:40:45 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/12662/#p12662</guid>
		</item>
		<item>
			<title><![CDATA[Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.]]></title>
			<link>https://forum.rutoken.ru/post/12246/#p12246</link>
			<description><![CDATA[<p>Добрый день, <strong>emediator</strong>.</p><p>Ответил Вам на почту.</p>]]></description>
			<author><![CDATA[null@example.com (Владимир Салыкин)]]></author>
			<pubDate>Wed, 31 Oct 2018 13:15:16 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/12246/#p12246</guid>
		</item>
		<item>
			<title><![CDATA[Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.]]></title>
			<link>https://forum.rutoken.ru/post/12243/#p12243</link>
			<description><![CDATA[<p>Добрый день, Андрей!</p><p>У меня аналогичная проблема. ОС Linux Debian 9.5&nbsp; Все пакеты установил с помощью Synaptic. КриптоАРМ ГОСт КпристоПроCSP5/&nbsp; Снимки экрана <a href="https://photos.app.goo.gl/B9m44XrEU93naktv7">https://photos.app.goo.gl/B9m44XrEU93naktv7</a></p><br /><p>Тесты: <br />marat@Director:~$ pcsc_scan<br />PC/SC device scanner<br />V 1.4.27 (c) 2001-2011, Ludovic Rousseau &lt;ludovic.rousseau@free.fr&gt;<br />Compiled with PC/SC lite version: 1.8.17<br />Using reader plug&#039;n play mechanism<br />Scanning present readers...<br />Waiting for the first reader...&nbsp; </p> <br /><p>marat@Director:~$ lsusb<br />Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br />Bus 001 Device 003: ID 04f2:b469 Chicony Electronics Co., Ltd <br />Bus 001 Device 006: ID 046d:c52b Logitech, Inc. Unifying Receiver<br />Bus 001 Device 010: ID 0a89:0030&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// ЭТО РУТОКЕН, когда его вынимаю, строка исчезает<br />Bus 001 Device 004: ID 04ca:300b Lite-On Technology Corp. Atheros AR3012 Bluetooth<br />Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub<br />Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />marat@Director:~$ </p><br /><p>Остановил&nbsp; pcscd</p><p>запустил в отладке: </p><p>root@Director:/home/marat#&nbsp; /usr/sbin/pcscd -afddddd <br />00000000 debuglog.c:289:DebugLogSetLevel() debug level=debug<br />00000309 debuglog.c:289:DebugLogSetLevel() debug level=debug<br />00000035 debuglog.c:289:DebugLogSetLevel() debug level=debug<br />00000030 debuglog.c:289:DebugLogSetLevel() debug level=debug<br />00000043 debuglog.c:289:DebugLogSetLevel() debug level=debug<br />00000191 pcscdaemon.c:475:main() file /var/run/pcscd/pcscd.comm already exists.<br />00000047 pcscdaemon.c:477:main() Another pcscd (pid: 6146) seems to be running.<br />root@Director:/home/marat# </p><br /><p>● pcscd.service - PC/SC Smart Card Daemon<br />&nbsp; &nbsp;Loaded: loaded (/lib/systemd/system/pcscd.service; indirect; vendor preset: enabled)<br />&nbsp; &nbsp;Active: failed (Result: exit-code) since Wed 2018-10-31 12:11:08 +07; 2min 48s ago<br />&nbsp; Process: 5201 ExecStart=/usr/sbin/pcscd --foreground --auto-exit (code=exited, status=1/FAILURE)<br /> Main PID: 5201 (code=exited, status=1/FAILURE)</p><p>окт 31 12:07:21 Director systemd[1]: Started PC/SC Smart Card Daemon.<br />окт 31 12:07:21 Director pcscd[5201]: 00000000 hotplug_libudev.c:184:HPReadBundleValu…plist<br />окт 31 12:11:08 Director systemd[1]: Stopping PC/SC Smart Card Daemon...<br />окт 31 12:11:08 Director systemd[1]: pcscd.service: Main process exited, code=exited,…ILURE<br />окт 31 12:11:08 Director systemd[1]: Stopped PC/SC Smart Card Daemon.<br />окт 31 12:11:08 Director systemd[1]: pcscd.service: Unit entered failed state.<br />окт 31 12:11:08 Director systemd[1]: pcscd.service: Failed with result &#039;exit-code&#039;.<br />Hint: Some lines were ellipsized, use -l to show in full.<br />root@Director:/home/marat# </p><p>root@Director:/home/marat# dpkg -s openct<br />dpkg-query: пакет «openct» не установлен, информация о нём недоступна<br />Для проверки файлов архивов используйте команду dpkg --info (dpkg-deb --info),<br />для вывода списка файлов в них — команду dpkg--contents (dpkg-deb --contents).<br />root@Director:/home/marat# </p><p>В Synaptic openct нет и в помине</p>]]></description>
			<author><![CDATA[null@example.com (emediator)]]></author>
			<pubDate>Wed, 31 Oct 2018 05:17:48 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/12243/#p12243</guid>
		</item>
		<item>
			<title><![CDATA[Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.]]></title>
			<link>https://forum.rutoken.ru/post/11911/#p11911</link>
			<description><![CDATA[<p>Здравствуйте, Nigg</p><div class="quotebox"><blockquote><p>с подключенным токеном:</p><p>$ lsusb<br />Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br />Bus 001 Device 004: ID 23a0:0008&nbsp; <br />Bus 001 Device 003: ID 2a7a:0c18&nbsp; <br />Bus 001 Device 002: ID 275d:0ba6&nbsp; <br />Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />$</p><br /><p>то есть, токен определяется как:<br />Bus 001 Device 004: ID 23a0:0008</p></blockquote></div><p>Судя по VendorID и ProductID, у Вас не Рутокен, а похоже токен от компании Bifit.<br />Рутокен имеет VendorID - <strong>0a89</strong></p>]]></description>
			<author><![CDATA[null@example.com (Анатолий Убушаев)]]></author>
			<pubDate>Fri, 13 Jul 2018 10:51:51 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/11911/#p11911</guid>
		</item>
		<item>
			<title><![CDATA[Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.]]></title>
			<link>https://forum.rutoken.ru/post/11904/#p11904</link>
			<description><![CDATA[<p>Здравствуйте.</p><p>ubuntu 16.04 64x , среда Mate<br />Установил все драйверы,<br />трижды всё сделал по инструкции - все равно Pcsc_scan не видит устройство.<br />Прошу помочь.</p><p>Логи и всё что делал - прилагаю:</p><p>Для проверки корректности подключения считывателя для смарт-карт к компьютеру введите команду:</p><p>без токена:</p><p>$ lsusb<br />Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br />Bus 001 Device 003: ID 2a7a:0c18&nbsp; <br />Bus 001 Device 002: ID 275d:0ba6&nbsp; <br />Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />$</p><p>с подключенным токеном:</p><p>$ lsusb<br />Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br />Bus 001 Device 004: ID 23a0:0008&nbsp; <br />Bus 001 Device 003: ID 2a7a:0c18&nbsp; <br />Bus 001 Device 002: ID 275d:0ba6&nbsp; <br />Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />$ </p><br /><p>то есть, токен определяется как:<br />Bus 001 Device 004: ID 23a0:0008&nbsp; </p><br /><p>dpkg -s libccid libpcsclite1 pcscd pcsc-tools opensc<br />Package: libccid<br />Status: install ok installed<br />Priority: extra<br />Section: libs<br />Installed-Size: 286<br />Maintainer: Ubuntu Developers &lt;ubuntu-devel-discuss@lists.ubuntu.com&gt;<br />Architecture: amd64<br />Source: ccid<br />Version: 1.4.22-1ubuntu0.1<br />Provides: pcsc-ifd-handler<br />Depends: libc6 (&gt;= 2.15), libusb-1.0-0 (&gt;= 2:1.0.9~)<br />Suggests: pcmciautils<br />Conffiles:<br /> /etc/libccid_Info.plist 4c4f8416b560fa05e0c6dfd49465eac2<br /> /etc/reader.conf.d/libccidtwin aab30596b0ea704db20c721adaca7654<br />Description: PC/SC driver for USB CCID smart card readers<br /> This library provides a PC/SC IFD handler implementation for the USB smart<br /> card drivers compliant to the CCID protocol.<br /> .<br /> This package is needed to communicate with the CCID smartcard readers through<br /> the PC/SC Lite resource manager (pcscd).<br /> .<br /> For an exhaustive list of supported reader see<br /> <a href="http://pcsclite.alioth.debian.org/section.html">http://pcsclite.alioth.debian.org/section.html</a><br /> .<br /> This driver also supports the GemPC Twin connected to a serial port and<br /> the GemPC Card (PCMCIA, through the suggested pcmciautils package) and<br /> Gemplus GemPC Express (Express54 card).<br />Original-Maintainer: Ludovic Rousseau &lt;rousseau@debian.org&gt;<br />Homepage: <a href="http://pcsclite.alioth.debian.org/ccid.html">http://pcsclite.alioth.debian.org/ccid.html</a></p><p>Package: libpcsclite1<br />Status: install ok installed<br />Priority: optional<br />Section: libs<br />Installed-Size: 71<br />Maintainer: Ubuntu Developers &lt;ubuntu-devel-discuss@lists.ubuntu.com&gt;<br />Architecture: amd64<br />Multi-Arch: same<br />Source: pcsc-lite<br />Version: 1.8.14-1ubuntu1.16.04.1<br />Depends: libc6 (&gt;= 2.15)<br />Suggests: pcscd (= 1.8.14-1ubuntu1.16.04.1)<br />Breaks: libpcsclite-dev (&lt;&lt; 1.8.14-1ubuntu1.16.04.1), pcscd (&lt;&lt; 1.8.14-1ubuntu1.16.04.1)<br />Description: Middleware to access a smart card using PC/SC (library)<br /> The purpose of PC/SC Lite is to provide a Windows(R) SCard interface<br /> in a very small form factor for communicating to smartcards and<br /> readers.<br /> .<br /> The PC/SC Lite library is used to connect to the PC/SC daemon from<br /> a client application and provide access to the desired reader.<br />Homepage: <a href="http://pcsclite.alioth.debian.org/">http://pcsclite.alioth.debian.org/</a><br />Original-Maintainer: Ludovic Rousseau &lt;rousseau@debian.org&gt;</p><p>Package: pcscd<br />Status: install ok installed<br />Priority: optional<br />Section: misc<br />Installed-Size: 172<br />Maintainer: Ubuntu Developers &lt;ubuntu-devel-discuss@lists.ubuntu.com&gt;<br />Architecture: amd64<br />Source: pcsc-lite<br />Version: 1.8.14-1ubuntu1.16.04.1<br />Depends: libccid (&gt;= 1.4.1~) | pcsc-ifd-handler, libc6 (&gt;= 2.15), libudev1 (&gt;= 183), init-system-helpers (&gt;= 1.18~), lsb-base (&gt;= 3.0-6), libpcsclite1 (= 1.8.14-1ubuntu1.16.04.1)<br />Suggests: systemd<br />Conffiles:<br /> /etc/init.d/pcscd 9e2fea301957835841f6051e8c6e3ac2<br />Description: Middleware to access a smart card using PC/SC (daemon side)<br /> The purpose of PC/SC Lite is to provide a Windows(R) SCard interface<br /> in a very small form factor for communicating to smart cards and<br /> smart cards readers.<br /> .<br /> The PC/SC daemon is used to dynamically allocate/deallocate reader<br /> drivers at runtime and manage connections to the readers.<br />Homepage: <a href="http://pcsclite.alioth.debian.org/">http://pcsclite.alioth.debian.org/</a><br />Original-Maintainer: Ludovic Rousseau &lt;rousseau@debian.org&gt;</p><p>Package: pcsc-tools<br />Status: install ok installed<br />Priority: extra<br />Section: utils<br />Installed-Size: 317<br />Maintainer: Ubuntu Developers &lt;ubuntu-devel-discuss@lists.ubuntu.com&gt;<br />Architecture: amd64<br />Version: 1.4.25-1<br />Depends: libc6 (&gt;= 2.4), libpcsclite1 (&gt;= 1.3.0), libpcsc-perl, libgtk2-perl<br />Description: Some tools to use with smart cards and PC/SC<br /> This archive contains some tools useful for a PC/SC user. The tools<br /> provided are:<br /> .<br /> pcsc_scan(1) scans available smart card readers and print detected<br /> events: card insertion with ATR, card removal;<br /> .<br /> ATR_analysis(1) analyses a smart card ATR (Answer To Reset)<br /> .<br /> scriptor(1) Perl script to send commands to a smart card using a<br /> batch file or stdin;<br /> .<br /> gscriptor(1) the same idea as scriptor.pl(1) but with Perl-Gtk GUI.<br />Original-Maintainer: Ludovic Rousseau &lt;rousseau@debian.org&gt;<br />Homepage: <a href="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/">http://ludovic.rousseau.free.fr/softwares/pcsc-tools/</a></p><p>Package: opensc<br />Status: install ok installed<br />Priority: extra<br />Section: utils<br />Installed-Size: 926<br />Maintainer: Ubuntu Developers &lt;ubuntu-devel-discuss@lists.ubuntu.com&gt;<br />Architecture: amd64<br />Multi-Arch: foreign<br />Version: 0.15.0-1ubuntu1<br />Depends: opensc-pkcs11 (= 0.15.0-1ubuntu1), pcscd, libc6 (&gt;= 2.14), libreadline6 (&gt;= 6.0), libssl1.0.0 (&gt;= 1.0.0)<br />Conflicts: mozilla-opensc<br />Conffiles:<br /> /etc/opensc/opensc.conf 1d60eae4fc68a48060aac8e5346c2b1e<br />Description: Smart card utilities with support for PKCS#15 compatible cards<br /> OpenSC provides a set of libraries and utilities to access smart<br /> cards.&nbsp; It mainly focuses on cards that support cryptographic<br /> operations. It facilitates their use in security applications such as<br /> mail encryption, authentication, and digital signature. OpenSC<br /> implements the PKCS#11 API. Applications supporting this API, such as<br /> Iceweasel and Icedove, can use it. OpenSC implements the PKCS#15<br /> standard and aims to be compatible with all software that does so as<br /> well.<br /> .<br /> Before purchasing any cards, please read carefully documentation in<br /> /usr/share/doc/opensc/html/wiki/index.html - only some cards are<br /> supported. Not only does card type matters, but also card version,<br /> card OS version and preloaded applet. Only a subset of possible<br /> operations may be supported for your card. Card initialization may<br /> require third party proprietary software.<br /> .<br /> This package contains tools for intearacting with smart cards.<br />Homepage: <a href="https://github.com/OpenSC/OpenSC/wiki">https://github.com/OpenSC/OpenSC/wiki</a><br />Original-Maintainer: Debian OpenSC Maintainers &lt;pkg-opensc-maint@lists.alioth.debian.org&gt;<br />$ </p><br /><p>Для установки пакетов и библиотек :<br />В deb-based системах введите команду:</p><p>$ sudo apt-get install libccid pcscd libpcsclite1 pcsc-tools opensc<br />[sudo] пароль для pc: <br />Чтение списков пакетов… Готово<br />Построение дерева зависимостей&nbsp; &nbsp; &nbsp; &nbsp;<br />Чтение информации о состоянии… Готово<br />Уже установлен пакет opensc самой новой версии (0.15.0-1ubuntu1).<br />Уже установлен пакет pcsc-tools самой новой версии (1.4.25-1).<br />Уже установлен пакет libpcsclite1 самой новой версии (1.8.14-1ubuntu1.16.04.1).<br />Уже установлен пакет libccid самой новой версии (1.4.22-1ubuntu0.1).<br />Уже установлен пакет pcscd самой новой версии (1.8.14-1ubuntu1.16.04.1).<br />Следующие пакеты устанавливались автоматически и больше не требуются:<br />&nbsp; bbswitch-dkms libllvm4.0 linux-headers-4.10.0-28<br />&nbsp; linux-headers-4.10.0-28-generic linux-headers-4.13.0-31<br />&nbsp; linux-headers-4.13.0-31-generic linux-headers-4.13.0-32<br />&nbsp; linux-headers-4.13.0-32-generic linux-headers-4.13.0-36<br />&nbsp; linux-headers-4.13.0-36-generic linux-headers-4.13.0-37<br />&nbsp; linux-headers-4.13.0-37-generic linux-headers-4.13.0-38<br />&nbsp; linux-headers-4.13.0-38-generic linux-headers-4.13.0-39<br />&nbsp; linux-headers-4.13.0-39-generic linux-headers-4.13.0-41<br />&nbsp; linux-headers-4.13.0-41-generic linux-headers-4.13.0-43<br />&nbsp; linux-headers-4.13.0-43-generic linux-image-4.10.0-28-generic<br />&nbsp; linux-image-4.13.0-31-generic linux-image-4.13.0-32-generic<br />&nbsp; linux-image-4.13.0-36-generic linux-image-4.13.0-37-generic<br />&nbsp; linux-image-4.13.0-38-generic linux-image-4.13.0-39-generic<br />&nbsp; linux-image-4.13.0-41-generic linux-image-4.13.0-43-generic<br />&nbsp; linux-image-extra-4.10.0-28-generic linux-image-extra-4.13.0-31-generic<br />&nbsp; linux-image-extra-4.13.0-32-generic linux-image-extra-4.13.0-36-generic<br />&nbsp; linux-image-extra-4.13.0-37-generic linux-image-extra-4.13.0-38-generic<br />&nbsp; linux-image-extra-4.13.0-39-generic linux-image-extra-4.13.0-41-generic<br />&nbsp; linux-image-extra-4.13.0-43-generic nvidia-prime<br />Для их удаления используйте «sudo apt autoremove».<br />обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 56 пакетов не обновлено.<br />$ </p><p>Для проверки работы Рутокен ЭЦП:<br />1. Подключите устройство к компьютеру.<br />2. Введите команду:<br />$ pcsc_scan<br />PC/SC device scanner<br />V 1.4.25 (c) 2001-2011, Ludovic Rousseau &lt;ludovic.rousseau@free.fr&gt;<br />Compiled with PC/SC lite version: 1.8.14<br />Using reader plug&#039;n play mechanism<br />Scanning present readers...<br />Waiting for the first reader...</p><p>тут программа зависает</p><p>Значит Рутокен ЭЦП не работает. Для решения данной проблемы перейдите в раздел Определение<br />проблемы в работе Рутокен ЭЦП в системе .<br />5. Нажмите комбинацию клавиш [Ctrl]+[C] .</p><p>Остановите работу утилиты:<br />$ sudo service pcscd stop</p><p>Запустите pcscd вручную в отладочном режиме:<br />$ sudo /usr/sbin/pcscd -afddddd<br />00000000 debuglog.c:291:DebugLogSetLevel() debug level=debug<br />00000034 debuglog.c:291:DebugLogSetLevel() debug level=debug<br />00000002 debuglog.c:291:DebugLogSetLevel() debug level=debug<br />00000002 debuglog.c:291:DebugLogSetLevel() debug level=debug<br />00000001 debuglog.c:291:DebugLogSetLevel() debug level=debug<br />00000012 utils.c:84:GetDaemonPid() Can&#039;t open /var/run/pcscd/pcscd.pid: No such file or directory<br />00000019 configfile.l:283:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d<br />00000012 configfile.l:317:DBGetReaderListDir() Skipping non regular file: .<br />00000002 configfile.l:317:DBGetReaderListDir() Skipping non regular file: ..<br />00000003 configfile.l:355:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin<br />00000022 pcscdaemon.c:569:main() pcsc-lite 1.8.14 daemon ready.<br />00001571 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001<br />00000066 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001<br />00000066 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x275D, PID: 0x0BA6, path: /dev/bus/usb/001/002<br />00000061 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001<br />00000064 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x2A7A, PID: 0x0C18, path: /dev/bus/usb/001/003<br />00000063 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x2A7A, PID: 0x0C18, path: /dev/bus/usb/001/003<br />00000058 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001<br />00000063 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x23A0, PID: 0x0008, path: /dev/bus/usb/001/004<br />00000111 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0003, path: /dev/bus/usb/002/001</p><p>на этом программа зависает, однако видна красная строка с ошибкой:<br />00000012 utils.c:84:GetDaemonPid() Can&#039;t open /var/run/pcscd/pcscd.pid: No such file or directory</p><br /><br /><p>становите работу утилиты:<br />$ sudo service pcscd stop<br />Если у вас нет доступа к команде sudo, то используйте команду su.<br />2. Запустите pcscd вручную в отладочном режиме и осуществите поиск строки &quot;Rutoken&quot;:<br />$ sudo /usr/sbin/pcscd -afddddd | grep Rutoken</p><p>отобразилась пустая строка, программа зависла</p><p>Откройте в библиотеке libccid конфигурационный файл Info.plist и проверьте наличие в нем записей об<br />устройстве.<br />Для открытия конфигурационного файла Info.plist введите команду:<br />$ sudo nano /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist</p><br /><p>&lt;key&gt;ifdVendorID&lt;/key&gt;<br />&nbsp; &nbsp; &lt;array&gt;<br />есть несколько строк<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;string&gt;0x0A89&lt;/string&gt;</p><p>&nbsp; &nbsp; &lt;key&gt;ifdProductID&lt;/key&gt;<br />&nbsp; &nbsp; &lt;array&gt;<br />есть строка<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;string&gt;0x0030&lt;/string&gt;</p><p>&nbsp; &nbsp; &lt;key&gt;ifdFriendlyName&lt;/key&gt;<br />&nbsp; &nbsp; &lt;array&gt;<br />есть строка<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;string&gt;Aktiv Rutoken ECP&lt;/string&gt;</p><br /><p>при повторном запуске ранее имевшаяся ошибка не показывается</p><p>$ sudo /usr/sbin/pcscd -afddddd<br />[sudo] пароль для pc: <br />00000000 debuglog.c:291:DebugLogSetLevel() debug level=debug<br />00000058 debuglog.c:291:DebugLogSetLevel() debug level=debug<br />00000003 debuglog.c:291:DebugLogSetLevel() debug level=debug<br />00000003 debuglog.c:291:DebugLogSetLevel() debug level=debug<br />00000003 debuglog.c:291:DebugLogSetLevel() debug level=debug<br />00000042 configfile.l:283:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d<br />00000018 configfile.l:317:DBGetReaderListDir() Skipping non regular file: .<br />00000005 configfile.l:317:DBGetReaderListDir() Skipping non regular file: ..<br />00000005 configfile.l:355:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin<br />00000037 pcscdaemon.c:569:main() pcsc-lite 1.8.14 daemon ready.<br />00002760 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001<br />00000117 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001<br />00000129 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x275D, PID: 0x0BA6, path: /dev/bus/usb/001/002<br />00000110 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001<br />00000113 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x2A7A, PID: 0x0C18, path: /dev/bus/usb/001/003<br />00000110 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x2A7A, PID: 0x0C18, path: /dev/bus/usb/001/003<br />00000126 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001<br />00000113 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x23A0, PID: 0x0008, path: /dev/bus/usb/001/004<br />00000155 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0003, path: /dev/bus/usb/002/001<br />06045325 winscard_msg_srv.c:253:ProcessEventsServer() Common channel packet arrival<br />00000049 winscard_msg_srv.c:265:ProcessEventsServer() ProcessCommonChannelRequest detects: 5<br />00000017 pcscdaemon.c:134:SVCServiceRunLoop() A new context thread creation is requested: 5<br />00000126 winscard_svc.c:331:ContextThread() Authorized PC/SC client<br />00000019 winscard_svc.c:335:ContextThread() Thread is started: dwClientID=5, threadContext @0xa99180<br />00000026 winscard_svc.c:353:ContextThread() Received command: CMD_VERSION from client 5<br />00000019 winscard_svc.c:365:ContextThread() Client is protocol version 4:3<br />00000015 winscard_svc.c:385:ContextThread() CMD_VERSION rv=0x0 for client 5<br />00000111 winscard_svc.c:353:ContextThread() Received command: ESTABLISH_CONTEXT from client 5<br />00000030 winscard.c:215:SCardEstablishContext() Establishing Context: 0x64CE9A27<br />00000013 winscard_svc.c:446:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 5<br />00000077 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 5<br />00000085 winscard_svc.c:353:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 5<br />00000087 winscard_svc.c:353:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 5<br />00000028 winscard_svc.c:427:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 5<br />00000059 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 5<br />00000100 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 5<br />00000063 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 5<br />00000074 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 5<br />00000059 winscard_svc.c:353:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 5<br />^C<br />54171911 pcscdaemon.c:750:signal_trap() Received signal: 2<br />00000033 pcscdaemon.c:769:signal_trap() Preparing for suicide<br />00000623 hotplug_libudev.c:685:HPStopHotPluggables() Hotplug stopped<br />01000144 readerfactory.c:1296:RFCleanupReaders() entering cleaning function<br />00000040 winscard_svc.c:154:ContextsDeinitialize() remaining threads: 1<br />00000010 pcscdaemon.c:694:at_exit() cleaning /var/run/pcscd<br />$</p><p>однако команда также висит для:<br />$ pcsc_scan<br />PC/SC device scanner<br />V 1.4.25 (c) 2001-2011, Ludovic Rousseau &lt;ludovic.rousseau@free.fr&gt;<br />Compiled with PC/SC lite version: 1.8.14<br />Using reader plug&#039;n play mechanism<br />Scanning present readers...<br />Waiting for the first reader...SCardGetStatusChange: RPC transport error.<br />$ ^C</p><p>PS<br />драйвер ifd-rutokens_1.0.4_amd64.deb - установлен.</p><br /><br /><p><a href="http://forum.rutoken.ruhttps://forum.rutoken.ru/topic/2441/">http://forum.rutoken.ruhttps://forum.ru … opic/2441/</a><br />Анатолий Убушаев 2017-03-15 12:34:13<br />&nbsp; &nbsp; Техническая поддержка<br />&nbsp; &nbsp; Неактивен<br />А если попробовать так:</p><p>sudo /etc/init.d/pcscd stop<br />[ ok ] Stopping pcscd (via systemctl): pcscd.service.<br />$ sudo /etc/init.d/pcscd status<br />● pcscd.service - PC/SC Smart Card Daemon<br />&nbsp; &nbsp;Loaded: loaded (/lib/systemd/system/pcscd.service; indirect; vendor preset: enabled)<br />&nbsp; &nbsp;Active: inactive (dead) since Пт 2018-07-13 12:00:29 +05; 25min ago<br />&nbsp; Process: 2321 ExecStart=/usr/sbin/pcscd --foreground --auto-exit (code=exited, status=0/SUCCESS)<br /> Main PID: 2321 (code=exited, status=0/SUCCESS)</p><p>июл 13 11:58:34 pc systemd[1]: Started PC/SC Smart Card Daemon.<br />июл 13 12:00:29 pc systemd[1]: Stopping PC/SC Smart Card Daemon...<br />июл 13 12:00:29 pc systemd[1]: Stopped PC/SC Smart Card Daemon.<br />июл 13 12:00:29 pc systemd[1]: Stopped PC/SC Smart Card Daemon.<br />июл 13 12:03:32 pc systemd[1]: Stopped PC/SC Smart Card Daemon.<br />июл 13 12:25:38 pc systemd[1]: Stopped PC/SC Smart Card Daemon.<br />$ sudo service pcscd status<br />● pcscd.service - PC/SC Smart Card Daemon<br />&nbsp; &nbsp;Loaded: loaded (/lib/systemd/system/pcscd.service; indirect; vendor preset: enabled)<br />&nbsp; &nbsp;Active: inactive (dead) since Пт 2018-07-13 12:00:29 +05; 25min ago<br />&nbsp; Process: 2321 ExecStart=/usr/sbin/pcscd --foreground --auto-exit (code=exited, status=0/SUCCESS)<br /> Main PID: 2321 (code=exited, status=0/SUCCESS)</p><p>июл 13 11:58:34 pc systemd[1]: Started PC/SC Smart Card Daemon.<br />июл 13 12:00:29 pc systemd[1]: Stopping PC/SC Smart Card Daemon...<br />июл 13 12:00:29 pc systemd[1]: Stopped PC/SC Smart Card Daemon.<br />июл 13 12:00:29 pc systemd[1]: Stopped PC/SC Smart Card Daemon.<br />июл 13 12:03:32 pc systemd[1]: Stopped PC/SC Smart Card Daemon.<br />июл 13 12:25:38 pc systemd[1]: Stopped PC/SC Smart Card Daemon.<br />$ </p><br /><br /><p>Пробуйте:<br />sudo pcscd -afddddd<br />Какой теперь вывод?</p><p>$ sudo pcscd -afddddd<br />00000000 debuglog.c:291:DebugLogSetLevel() debug level=debug<br />00000185 debuglog.c:291:DebugLogSetLevel() debug level=debug<br />00000017 debuglog.c:291:DebugLogSetLevel() debug level=debug<br />00000013 debuglog.c:291:DebugLogSetLevel() debug level=debug<br />00000012 debuglog.c:291:DebugLogSetLevel() debug level=debug<br />00000126 configfile.l:283:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d<br />00000039 configfile.l:317:DBGetReaderListDir() Skipping non regular file: .<br />00000014 configfile.l:317:DBGetReaderListDir() Skipping non regular file: ..<br />00000014 configfile.l:355:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin<br />00000104 pcscdaemon.c:569:main() pcsc-lite 1.8.14 daemon ready.<br />00008322 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001<br />00000199 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001<br />00000280 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x275D, PID: 0x0BA6, path: /dev/bus/usb/001/002<br />00000182 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001<br />00000255 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x2A7A, PID: 0x0C18, path: /dev/bus/usb/001/003<br />00000307 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x2A7A, PID: 0x0C18, path: /dev/bus/usb/001/003<br />00000175 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001<br />00000179 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x23A0, PID: 0x0008, path: /dev/bus/usb/001/004<br />00000280 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0003, path: /dev/bus/usb/002/001</p><br /><p>sudo pcsc_scan<br />что выводит?</p><p>$ pcsc_scan<br />PC/SC device scanner<br />V 1.4.25 (c) 2001-2011, Ludovic Rousseau &lt;ludovic.rousseau@free.fr&gt;<br />Compiled with PC/SC lite version: 1.8.14<br />Using reader plug&#039;n play mechanism<br />Scanning present readers...<br />Waiting for the first reader...</p><br /><p>&quot;Waiting for the first reader...&quot;<br />Это означает, что программа ждёт, подключения Рутокен к компьютеру.</p><p>Давайте разбираться поэтапно:<br />1. Подключен ли Рутокен? <br />2. Что выводит команда lsusb? Пришлите вывод.<br />3. Дистрибутив Linux Mint какой версии?<br />4. Пакет libccid какой версии?</p><p>информация:<br />1. Да, подключен.<br />2. Что выводит команда lsusb? Пришлите вывод.</p><p>$ lsusb<br />Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br />Bus 001 Device 004: ID 23a0:0008&nbsp; <br />Bus 001 Device 003: ID 2a7a:0c18&nbsp; <br />Bus 001 Device 002: ID 275d:0ba6&nbsp; <br />Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />$ </p><p>3. Дистрибутив Linux Mint какой версии?<br />Установлена ubuntu 16.04 64x , среда Mate</p><p>4. Пакет libccid какой версии?<br />$ dpkg -s libccid<br />Version: 1.4.22-1ubuntu0.1</p><br /><p>Всё сделано, но токен не работает ...<br />Прошу помощи в настройке токена.<br />Спасибо.</p>]]></description>
			<author><![CDATA[null@example.com (Nigg)]]></author>
			<pubDate>Fri, 13 Jul 2018 07:46:53 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/11904/#p11904</guid>
		</item>
		<item>
			<title><![CDATA[Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.]]></title>
			<link>https://forum.rutoken.ru/post/11343/#p11343</link>
			<description><![CDATA[<p>Добрый день, <strong>maxmen</strong>.</p><p>Судя по pcscd, Вы используете Rutoken S. Для корректной работы такого проброса, Вам необходимо установить драйвер для Рутокен S, как на linux, так и на Windows 7.</p>]]></description>
			<author><![CDATA[null@example.com (Владимир Салыкин)]]></author>
			<pubDate>Thu, 30 Nov 2017 10:19:43 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/11343/#p11343</guid>
		</item>
		<item>
			<title><![CDATA[Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.]]></title>
			<link>https://forum.rutoken.ru/post/11342/#p11342</link>
			<description><![CDATA[<p>никак не могу пробросить рутокен через remmina на win7, на удаленной машине не видит ключ.<br />Делал все по мануалу по ссылке выше? cbcntvf гигтег<br />Linux&nbsp; 4.10.0-40-generic #44-Ubuntu SMP Thu Nov 9 14:49:09 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux<br />Distributor ID:&nbsp; &nbsp; Ubuntu<br />Description:&nbsp; &nbsp; Ubuntu 17.04<br />Release:&nbsp; &nbsp; 17.04<br />Codename:&nbsp; &nbsp; zesty</p><p>Уже установлен пакет libpcsclite1 самой новой версии (1.8.14-1ubuntu2).<br />Уже установлен пакет libccid самой новой версии (1.4.26-1).<br />Уже установлен пакет pcscd самой новой версии (1.8.14-1ubuntu2).</p><p># pcsc_scan<br />PC/SC device scanner<br />V 1.4.27 (c) 2001-2011, Ludovic Rousseau &lt;ludovic.rousseau@free.fr&gt;<br />Compiled with PC/SC lite version: 1.8.14<br />Using reader plug&#039;n play mechanism<br />Scanning present readers...<br />Waiting for the first reader...</p><p>При этом рутокен включен в усб<br /># lsusb<br />Bus 001 Device 005: ID 0a89:0020</p><p>pcscd -afddddd<br />00000000 debuglog.c:291:DebugLogSetLevel() debug level=debug<br />00000219 debuglog.c:291:DebugLogSetLevel() debug level=debug<br />00000014 debuglog.c:291:DebugLogSetLevel() debug level=debug<br />00000014 debuglog.c:291:DebugLogSetLevel() debug level=debug<br />00000014 debuglog.c:291:DebugLogSetLevel() debug level=debug<br />00000079 configfile.l:283:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d<br />00000038 configfile.l:317:DBGetReaderListDir() Skipping non regular file: ..<br />00000011 configfile.l:317:DBGetReaderListDir() Skipping non regular file: .<br />00000012 configfile.l:355:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin<br />00000082 pcscdaemon.c:569:main() pcsc-lite 1.8.14 daemon ready.<br />00006422 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001<br />00000209 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001<br />00000207 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC534, path: /dev/bus/usb/002/007<br />00000196 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC534, path: /dev/bus/usb/002/007<br />00000184 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001<br />00000200 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x05AC, PID: 0x12A8, path: /dev/bus/usb/002/008<br />00000208 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x05AC, PID: 0x12A8, path: /dev/bus/usb/002/008<br />00000098 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x05AC, PID: 0x12A8, path: /dev/bus/usb/002/008<br />00000092 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001<br />00000097 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x04F2, PID: 0xB40A, path: /dev/bus/usb/002/004<br />00000117 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x04F2, PID: 0xB40A, path: /dev/bus/usb/002/004<br />00000139 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0003, path: /dev/bus/usb/003/001<br />00000137 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001<br />00000091 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001<br />00000098 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x8087, PID: 0x8000, path: /dev/bus/usb/001/002<br />00000104 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x0A89, PID: 0x0020, path: /dev/bus/usb/001/005<br />00000097 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x8087, PID: 0x8000, path: /dev/bus/usb/001/002</p><p>При подключении к удаленной машине в логах:<br /></p><div class="codebox"><pre><code>pcscd -afddddd
00000000 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000122 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000007 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000005 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000005 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000092 configfile.l:283:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
00000039 configfile.l:317:DBGetReaderListDir() Skipping non regular file: ..
00000006 configfile.l:317:DBGetReaderListDir() Skipping non regular file: .
00000011 configfile.l:355:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
00000079 pcscdaemon.c:569:main() pcsc-lite 1.8.14 daemon ready.
00006275 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000184 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000179 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC534, path: /dev/bus/usb/002/007
00000190 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC534, path: /dev/bus/usb/002/007
00000172 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000172 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x05AC, PID: 0x12A8, path: /dev/bus/usb/002/008
00000169 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x05AC, PID: 0x12A8, path: /dev/bus/usb/002/008
00000170 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x05AC, PID: 0x12A8, path: /dev/bus/usb/002/008
00000159 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000221 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x04F2, PID: 0xB40A, path: /dev/bus/usb/002/004
00000177 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x04F2, PID: 0xB40A, path: /dev/bus/usb/002/004
00000248 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0003, path: /dev/bus/usb/003/001
00000250 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000163 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000209 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x8087, PID: 0x8000, path: /dev/bus/usb/001/002
00000202 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x0A89, PID: 0x0020, path: /dev/bus/usb/001/005
00000171 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x8087, PID: 0x8000, path: /dev/bus/usb/001/002
05330507 winscard_msg_srv.c:253:ProcessEventsServer() Common channel packet arrival
00000052 winscard_msg_srv.c:265:ProcessEventsServer() ProcessCommonChannelRequest detects: 5
00000015 pcscdaemon.c:134:SVCServiceRunLoop() A new context thread creation is requested: 5
00000111 winscard_svc.c:331:ContextThread() Authorized PC/SC client
00000014 winscard_svc.c:335:ContextThread() Thread is started: dwClientID=5, threadContext @0x55a6ab220240
00000027 winscard_svc.c:353:ContextThread() Received command: CMD_VERSION from client 5
00000015 winscard_svc.c:365:ContextThread() Client is protocol version 4:3
00000057 winscard_svc.c:385:ContextThread() CMD_VERSION rv=0x0 for client 5
00000090 winscard_svc.c:353:ContextThread() Received command: ESTABLISH_CONTEXT from client 5
00000021 winscard.c:215:SCardEstablishContext() Establishing Context: 0x4B0A0F86
00000009 winscard_svc.c:446:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 5
00001281 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
00008555 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
00499641 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
00001094 winscard_svc.c:353:ContextThread() Received command: RELEASE_CONTEXT from client 5
00000099 winscard.c:226:SCardReleaseContext() Releasing Context: 0x4B0A0F86
00000014 winscard_svc.c:461:ContextThread() RELEASE_CONTEXT rv=0x0 for client 5
00000125 winscard_svc.c:345:ContextThread() Client die: 5</code></pre></div><p>При запуске на удаленной машине панели управления рутокен видно следующее:<br /></p><div class="codebox"><pre><code>00002030 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00001944 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00002075 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00002202 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00001940 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00001864 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00001715 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00001590 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00011661 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00002471 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00002063 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00002131 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00002072 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00001060 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 6
00000750 winscard_svc.c:353:ContextThread() Received command: RELEASE_CONTEXT from client 6
00000022 winscard.c:226:SCardReleaseContext() Releasing Context: 0x1D570C2A
00000010 winscard_svc.c:461:ContextThread() RELEASE_CONTEXT rv=0x0 for client 6
00000055 winscard_svc.c:345:ContextThread() Client die: 6
00000024 winscard_svc.c:1000:MSGCleanupClient() Thread is stopping: dwClientID=6, threadContext @0x55a6ab220100
00000007 winscard_svc.c:1006:MSGCleanupClient() Freeing SCONTEXT @0x55a6ab220100
00000379 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00000554 winscard_msg_srv.c:253:ProcessEventsServer() Common channel packet arrival
00000019 winscard_msg_srv.c:265:ProcessEventsServer() ProcessCommonChannelRequest detects: 6
00000007 pcscdaemon.c:134:SVCServiceRunLoop() A new context thread creation is requested: 6
00000041 winscard_svc.c:331:ContextThread() Authorized PC/SC client
00000007 winscard_svc.c:335:ContextThread() Thread is started: dwClientID=6, threadContext @0x55a6ab220100
00000011 winscard_svc.c:353:ContextThread() Received command: CMD_VERSION from client 6
00000008 winscard_svc.c:365:ContextThread() Client is protocol version 4:3
00000004 winscard_svc.c:385:ContextThread() CMD_VERSION rv=0x0 for client 6
00000038 winscard_svc.c:353:ContextThread() Received command: ESTABLISH_CONTEXT from client 6
00000010 winscard.c:215:SCardEstablishContext() Establishing Context: 0x6B5EFC2A
00000006 winscard_svc.c:446:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 6
00000754 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 6
00000394 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00000429 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 6
00001457 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 7</code></pre></div><p>И очень быстро крутятся логи :-)</p><p>При физическом подключении-отключении (выдергивании из usb) рутокена в консоли видно следующее:<br /></p><div class="codebox"><pre><code>55153421 hotplug_libudev.c:617:HPEstablishUSBNotifications() USB Device removed
04917558 hotplug_libudev.c:623:HPEstablishUSBNotifications() USB Device add
00000267 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x0A89, PID: 0x0020, path: /dev/bus/usb/001/006</code></pre></div><p>Если в другой консоли запустить pcsc_scan, то в логах вижу:</p><div class="codebox"><pre><code>94114113 winscard_msg_srv.c:253:ProcessEventsServer() Common channel packet arrival
00000017 winscard_msg_srv.c:265:ProcessEventsServer() ProcessCommonChannelRequest detects: 5
00000005 pcscdaemon.c:134:SVCServiceRunLoop() A new context thread creation is requested: 5
00000037 winscard_svc.c:331:ContextThread() Authorized PC/SC client
00000004 winscard_svc.c:335:ContextThread() Thread is started: dwClientID=5, threadContext @0x558136425240
00000008 winscard_svc.c:353:ContextThread() Received command: CMD_VERSION from client 5
00000006 winscard_svc.c:365:ContextThread() Client is protocol version 4:3
00000004 winscard_svc.c:385:ContextThread() CMD_VERSION rv=0x0 for client 5
00000033 winscard_svc.c:353:ContextThread() Received command: ESTABLISH_CONTEXT from client 5
00000007 winscard.c:215:SCardEstablishContext() Establishing Context: 0x7F1AF68B
00000002 winscard_svc.c:446:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 5
00000021 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
00000027 winscard_svc.c:353:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 5
00000024 winscard_svc.c:353:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 5
00000006 winscard_svc.c:427:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 5
00000019 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
00000030 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
00000017 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
00000019 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
00000016 winscard_svc.c:353:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 5
06602936 winscard_svc.c:345:ContextThread() Client die: 5
00000071 winscard.c:226:SCardReleaseContext() Releasing Context: 0x7F1AF68B
00000035 winscard_svc.c:1000:MSGCleanupClient() Thread is stopping: dwClientID=5, threadContext @0x558136425240
00000012 winscard_svc.c:1006:MSGCleanupClient() Freeing SCONTEXT @0x558136425240
09556253 winscard_msg_srv.c:253:ProcessEventsServer() Common channel packet arrival
00000023 winscard_msg_srv.c:265:ProcessEventsServer() ProcessCommonChannelRequest detects: 5
00000006 pcscdaemon.c:134:SVCServiceRunLoop() A new context thread creation is requested: 5
00000052 winscard_svc.c:331:ContextThread() Authorized PC/SC client
00000010 winscard_svc.c:335:ContextThread() Thread is started: dwClientID=5, threadContext @0x558136425240</code></pre></div><p>Грешил на openct, но у меня он вообще не установлен:<br /># service openct status<br />Unit openct.service could not be found.</p><p>Как исправить?</p>]]></description>
			<author><![CDATA[null@example.com (maxmen)]]></author>
			<pubDate>Wed, 29 Nov 2017 09:07:21 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/11342/#p11342</guid>
		</item>
		<item>
			<title><![CDATA[Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.]]></title>
			<link>https://forum.rutoken.ru/post/10611/#p10611</link>
			<description><![CDATA[<div class="quotebox"><cite>Анатолий Убушаев пишет:</cite><blockquote><p>Спасибо за предоставленную информацию. Теперь всё стало понятно.<br /></p><div class="quotebox"><cite>bushin.andrey пишет:</cite><blockquote><p><strong>Bus 005 Device 015: ID 096e:0005 Feitian Technologies, Inc. </strong> - вот он</p></blockquote></div><p>Вся проблема в том, что это не Рутокен.<br />Похоже, что это устройство MSKey компании MultiSoft.</p></blockquote></div><p>Хм, настраивается по вашей инструкции с сайта банка.<br />На ubuntu 16.04 работал <br />на Mint не хочет ((</p>]]></description>
			<author><![CDATA[null@example.com (bushin.andrey)]]></author>
			<pubDate>Thu, 16 Mar 2017 09:36:08 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/10611/#p10611</guid>
		</item>
		<item>
			<title><![CDATA[Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.]]></title>
			<link>https://forum.rutoken.ru/post/10609/#p10609</link>
			<description><![CDATA[<p>Спасибо за предоставленную информацию. Теперь всё стало понятно.<br /></p><div class="quotebox"><cite>bushin.andrey пишет:</cite><blockquote><p><strong>Bus 005 Device 015: ID 096e:0005 Feitian Technologies, Inc. </strong> - вот он</p></blockquote></div><p>Вся проблема в том, что это не Рутокен.<br />Похоже, что это устройство MSKey компании MultiSoft.</p>]]></description>
			<author><![CDATA[null@example.com (Анатолий Убушаев)]]></author>
			<pubDate>Thu, 16 Mar 2017 06:27:51 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/10609/#p10609</guid>
		</item>
		<item>
			<title><![CDATA[Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.]]></title>
			<link>https://forum.rutoken.ru/post/10608/#p10608</link>
			<description><![CDATA[<div class="quotebox"><cite>Анатолий Убушаев пишет:</cite><blockquote><div class="quotebox"><cite>bushin.andrey пишет:</cite><blockquote><p>&quot;Waiting for the first reader...&quot;</p></blockquote></div><p>Это означает, что программа ждёт, подключения Рутокен к компьютеру.</p><p>Давайте разбираться поэтапно:<br />1. Подключен ли Рутокен?<br />2. Что выводит команда <em>lsusb</em>? Пришлите вывод.<br />3. Дистрибутив Linux Mint какой версии?<br />4. Пакет libccid какой версии?</p></blockquote></div><p>1. в момент запуска команды pcsc_scan Рутокен установлен<br />2. <br />mint@mint ~ $ lsusb<br />Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br /><strong>Bus 005 Device 015: ID 096e:0005 Feitian Technologies, Inc. </strong> - вот он<br />Bus 005 Device 011: ID 058f:6377 Alcor Micro Corp. AU6375 4-LUN card reader<br />Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />Bus 001 Device 002: ID 046d:082b Logitech, Inc. Webcam C170<br />Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />Bus 004 Device 005: ID 093a:2516 Pixart Imaging, Inc. <br />Bus 004 Device 002: ID 046d:c326 Logitech, Inc. <br />Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub</p><p>3. Desktop: KDE Plasma 5.8.5 Distro: Linux Mint 18.1 Serena<br />4. <br />Уже установлен пакет libpcsclite1 самой новой версии (1.8.14-1ubuntu1.16.04.1).<br />Уже установлен пакет libccid самой новой версии (1.4.22-1ubuntu0.1).<br />Уже установлен пакет pcscd самой новой версии (1.8.14-1ubuntu1.16.04.1).</p>]]></description>
			<author><![CDATA[null@example.com (bushin.andrey)]]></author>
			<pubDate>Wed, 15 Mar 2017 16:38:07 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/10608/#p10608</guid>
		</item>
		<item>
			<title><![CDATA[Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.]]></title>
			<link>https://forum.rutoken.ru/post/10607/#p10607</link>
			<description><![CDATA[<div class="quotebox"><cite>bushin.andrey пишет:</cite><blockquote><p>&quot;Waiting for the first reader...&quot;</p></blockquote></div><p>Это означает, что программа ждёт, подключения Рутокен к компьютеру.</p><p>Давайте разбираться поэтапно:<br />1. Подключен ли Рутокен?<br />2. Что выводит команда <em>lsusb</em>? Пришлите вывод.<br />3. Дистрибутив Linux Mint какой версии?<br />4. Пакет libccid какой версии?</p>]]></description>
			<author><![CDATA[null@example.com (Анатолий Убушаев)]]></author>
			<pubDate>Wed, 15 Mar 2017 14:52:02 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/10607/#p10607</guid>
		</item>
		<item>
			<title><![CDATA[Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.]]></title>
			<link>https://forum.rutoken.ru/post/10605/#p10605</link>
			<description><![CDATA[<div class="quotebox"><cite>Анатолий Убушаев пишет:</cite><blockquote><div class="quotebox"><cite>bushin.andrey пишет:</cite><blockquote><p>PC/SC device scanner<br />V 1.4.25 (c) 2001-2011, Ludovic Rousseau &lt;ludovic.rousseau@free.fr&gt;<br />Compiled with PC/SC lite version: 1.8.14<br />SCardEstablishContext: Service not available.</p></blockquote></div><p>Ознакомьтесь пожалуйста внимательней с инструкцией по настройке <a href="https://www.rutoken.ru/manual/RutokenOSXUnix.pdf">https://www.rutoken.ru/manual/RutokenOSXUnix.pdf</a></p><p>Вы нарушаете алгоритм.<br />Перед запуском команды <em>sudo pcsc_scan</em> у вас должна быть запущена служба <em>pcscd</em>, а уже после удачного вывода команды <em>sudo pcsc_scan</em>, должны остановить службу <em>pcscd</em> и после проверить её отладочный лог!</p></blockquote></div><p>по этой инструкции и делал.<br />Затычка именно на pcsc_scan - не видит устройство &quot;Waiting for the first reader...&quot; висит бесконечно долго.</p>]]></description>
			<author><![CDATA[null@example.com (bushin.andrey)]]></author>
			<pubDate>Wed, 15 Mar 2017 13:33:49 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/10605/#p10605</guid>
		</item>
		<item>
			<title><![CDATA[Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.]]></title>
			<link>https://forum.rutoken.ru/post/10604/#p10604</link>
			<description><![CDATA[<div class="quotebox"><cite>bushin.andrey пишет:</cite><blockquote><p>PC/SC device scanner<br />V 1.4.25 (c) 2001-2011, Ludovic Rousseau &lt;ludovic.rousseau@free.fr&gt;<br />Compiled with PC/SC lite version: 1.8.14<br />SCardEstablishContext: Service not available.</p></blockquote></div><p>Ознакомьтесь пожалуйста внимательней с инструкцией по настройке <a href="https://www.rutoken.ru/manual/RutokenOSXUnix.pdf">https://www.rutoken.ru/manual/RutokenOSXUnix.pdf</a></p><p>Вы нарушаете алгоритм.<br />Перед запуском команды <em>sudo pcsc_scan</em> у вас должна быть запущена служба <em>pcscd</em>, а уже после удачного вывода команды <em>sudo pcsc_scan</em>, должны остановить службу <em>pcscd</em> и после проверить её отладочный лог!</p>]]></description>
			<author><![CDATA[null@example.com (Анатолий Убушаев)]]></author>
			<pubDate>Wed, 15 Mar 2017 12:38:50 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/10604/#p10604</guid>
		</item>
	</channel>
</rss>
