(2017-03-15 15:33:49 отредактировано bushin.andrey)

Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.

Анатолий Убушаев пишет:
sudo pcsc_scan

что выводит?

mint@mint ~ $ sudo pcsc_scan
[sudo] пароль для mint:
PC/SC device scanner
V 1.4.25 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.8.14
SCardEstablishContext: Service not available.

если запустить sudo pcscd -f
то
mint@mint ~ $ sudo pcsc_scan
[sudo] пароль для mint:
PC/SC device scanner
V 1.4.25 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.8.14
Using reader plug'n play mechanism
Scanning present readers...
Waiting for the first reader...SCardGetStatusChange: RPC transport error.

Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.

bushin.andrey пишет:

PC/SC device scanner
V 1.4.25 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.8.14
SCardEstablishContext: Service not available.

Ознакомьтесь пожалуйста внимательней с инструкцией по настройке https://www.rutoken.ru/manual/RutokenOSXUnix.pdf

Вы нарушаете алгоритм.
Перед запуском команды sudo pcsc_scan у вас должна быть запущена служба pcscd, а уже после удачного вывода команды sudo pcsc_scan, должны остановить службу pcscd и после проверить её отладочный лог!

Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.

Анатолий Убушаев пишет:
bushin.andrey пишет:

PC/SC device scanner
V 1.4.25 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.8.14
SCardEstablishContext: Service not available.

Ознакомьтесь пожалуйста внимательней с инструкцией по настройке https://www.rutoken.ru/manual/RutokenOSXUnix.pdf

Вы нарушаете алгоритм.
Перед запуском команды sudo pcsc_scan у вас должна быть запущена служба pcscd, а уже после удачного вывода команды sudo pcsc_scan, должны остановить службу pcscd и после проверить её отладочный лог!

по этой инструкции и делал.
Затычка именно на pcsc_scan - не видит устройство "Waiting for the first reader..." висит бесконечно долго.

Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.

bushin.andrey пишет:

"Waiting for the first reader..."

Это означает, что программа ждёт, подключения Рутокен к компьютеру.

Давайте разбираться поэтапно:
1. Подключен ли Рутокен?
2. Что выводит команда lsusb? Пришлите вывод.
3. Дистрибутив Linux Mint какой версии?
4. Пакет libccid какой версии?

(2017-03-15 19:40:08 отредактировано bushin.andrey)

Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.

Анатолий Убушаев пишет:
bushin.andrey пишет:

"Waiting for the first reader..."

Это означает, что программа ждёт, подключения Рутокен к компьютеру.

Давайте разбираться поэтапно:
1. Подключен ли Рутокен?
2. Что выводит команда lsusb? Пришлите вывод.
3. Дистрибутив Linux Mint какой версии?
4. Пакет libccid какой версии?

1. в момент запуска команды pcsc_scan Рутокен установлен
2.
mint@mint ~ $ lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 015: ID 096e:0005 Feitian Technologies, Inc. - вот он
Bus 005 Device 011: ID 058f:6377 Alcor Micro Corp. AU6375 4-LUN card reader
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 046d:082b Logitech, Inc. Webcam C170
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 005: ID 093a:2516 Pixart Imaging, Inc.
Bus 004 Device 002: ID 046d:c326 Logitech, Inc.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

3. Desktop: KDE Plasma 5.8.5 Distro: Linux Mint 18.1 Serena
4.
Уже установлен пакет libpcsclite1 самой новой версии (1.8.14-1ubuntu1.16.04.1).
Уже установлен пакет libccid самой новой версии (1.4.22-1ubuntu0.1).
Уже установлен пакет pcscd самой новой версии (1.8.14-1ubuntu1.16.04.1).

Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.

Спасибо за предоставленную информацию. Теперь всё стало понятно.

bushin.andrey пишет:

Bus 005 Device 015: ID 096e:0005 Feitian Technologies, Inc. - вот он

Вся проблема в том, что это не Рутокен.
Похоже, что это устройство MSKey компании MultiSoft.

Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.

Анатолий Убушаев пишет:

Спасибо за предоставленную информацию. Теперь всё стало понятно.

bushin.andrey пишет:

Bus 005 Device 015: ID 096e:0005 Feitian Technologies, Inc. - вот он

Вся проблема в том, что это не Рутокен.
Похоже, что это устройство MSKey компании MultiSoft.

Хм, настраивается по вашей инструкции с сайта банка.
На ubuntu 16.04 работал
на Mint не хочет ((

(2017-11-29 12:47:33 отредактировано maxmen)

Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.

никак не могу пробросить рутокен через remmina на win7, на удаленной машине не видит ключ.
Делал все по мануалу по ссылке выше? cbcntvf гигтег
Linux  4.10.0-40-generic #44-Ubuntu SMP Thu Nov 9 14:49:09 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID:    Ubuntu
Description:    Ubuntu 17.04
Release:    17.04
Codename:    zesty

Уже установлен пакет libpcsclite1 самой новой версии (1.8.14-1ubuntu2).
Уже установлен пакет libccid самой новой версии (1.4.26-1).
Уже установлен пакет pcscd самой новой версии (1.8.14-1ubuntu2).

# pcsc_scan
PC/SC device scanner
V 1.4.27 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.8.14
Using reader plug'n play mechanism
Scanning present readers...
Waiting for the first reader...

При этом рутокен включен в усб
# lsusb
Bus 001 Device 005: ID 0a89:0020

pcscd -afddddd
00000000 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000219 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000014 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000014 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000014 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000079 configfile.l:283:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
00000038 configfile.l:317:DBGetReaderListDir() Skipping non regular file: ..
00000011 configfile.l:317:DBGetReaderListDir() Skipping non regular file: .
00000012 configfile.l:355:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
00000082 pcscdaemon.c:569:main() pcsc-lite 1.8.14 daemon ready.
00006422 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000209 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000207 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC534, path: /dev/bus/usb/002/007
00000196 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC534, path: /dev/bus/usb/002/007
00000184 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000200 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x05AC, PID: 0x12A8, path: /dev/bus/usb/002/008
00000208 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x05AC, PID: 0x12A8, path: /dev/bus/usb/002/008
00000098 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x05AC, PID: 0x12A8, path: /dev/bus/usb/002/008
00000092 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000097 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x04F2, PID: 0xB40A, path: /dev/bus/usb/002/004
00000117 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x04F2, PID: 0xB40A, path: /dev/bus/usb/002/004
00000139 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0003, path: /dev/bus/usb/003/001
00000137 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000091 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000098 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x8087, PID: 0x8000, path: /dev/bus/usb/001/002
00000104 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x0A89, PID: 0x0020, path: /dev/bus/usb/001/005
00000097 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x8087, PID: 0x8000, path: /dev/bus/usb/001/002

При подключении к удаленной машине в логах:

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

При запуске на удаленной машине панели управления рутокен видно следующее:

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

И очень быстро крутятся логи :-)

При физическом подключении-отключении (выдергивании из usb) рутокена в консоли видно следующее:

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

Если в другой консоли запустить pcsc_scan, то в логах вижу:

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

Грешил на openct, но у меня он вообще не установлен:
# service openct status
Unit openct.service could not be found.

Как исправить?

Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.

Добрый день, maxmen.

Судя по pcscd, Вы используете Rutoken S. Для корректной работы такого проброса, Вам необходимо установить драйвер для Рутокен S, как на linux, так и на Windows 7.

Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.

Здравствуйте.

ubuntu 16.04 64x , среда Mate
Установил все драйверы,
трижды всё сделал по инструкции - все равно Pcsc_scan не видит устройство.
Прошу помочь.

Логи и всё что делал - прилагаю:

Для проверки корректности подключения считывателя для смарт-карт к компьютеру введите команду:

без токена:

$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 2a7a:0c18 
Bus 001 Device 002: ID 275d:0ba6 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$

с подключенным токеном:

$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 23a0:0008 
Bus 001 Device 003: ID 2a7a:0c18 
Bus 001 Device 002: ID 275d:0ba6 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$


то есть, токен определяется как:
Bus 001 Device 004: ID 23a0:0008 


dpkg -s libccid libpcsclite1 pcscd pcsc-tools opensc
Package: libccid
Status: install ok installed
Priority: extra
Section: libs
Installed-Size: 286
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Source: ccid
Version: 1.4.22-1ubuntu0.1
Provides: pcsc-ifd-handler
Depends: libc6 (>= 2.15), libusb-1.0-0 (>= 2:1.0.9~)
Suggests: pcmciautils
Conffiles:
/etc/libccid_Info.plist 4c4f8416b560fa05e0c6dfd49465eac2
/etc/reader.conf.d/libccidtwin aab30596b0ea704db20c721adaca7654
Description: PC/SC driver for USB CCID smart card readers
This library provides a PC/SC IFD handler implementation for the USB smart
card drivers compliant to the CCID protocol.
.
This package is needed to communicate with the CCID smartcard readers through
the PC/SC Lite resource manager (pcscd).
.
For an exhaustive list of supported reader see
http://pcsclite.alioth.debian.org/section.html
.
This driver also supports the GemPC Twin connected to a serial port and
the GemPC Card (PCMCIA, through the suggested pcmciautils package) and
Gemplus GemPC Express (Express54 card).
Original-Maintainer: Ludovic Rousseau <rousseau@debian.org>
Homepage: http://pcsclite.alioth.debian.org/ccid.html

Package: libpcsclite1
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 71
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: same
Source: pcsc-lite
Version: 1.8.14-1ubuntu1.16.04.1
Depends: libc6 (>= 2.15)
Suggests: pcscd (= 1.8.14-1ubuntu1.16.04.1)
Breaks: libpcsclite-dev (<< 1.8.14-1ubuntu1.16.04.1), pcscd (<< 1.8.14-1ubuntu1.16.04.1)
Description: Middleware to access a smart card using PC/SC (library)
The purpose of PC/SC Lite is to provide a Windows(R) SCard interface
in a very small form factor for communicating to smartcards and
readers.
.
The PC/SC Lite library is used to connect to the PC/SC daemon from
a client application and provide access to the desired reader.
Homepage: http://pcsclite.alioth.debian.org/
Original-Maintainer: Ludovic Rousseau <rousseau@debian.org>

Package: pcscd
Status: install ok installed
Priority: optional
Section: misc
Installed-Size: 172
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Source: pcsc-lite
Version: 1.8.14-1ubuntu1.16.04.1
Depends: libccid (>= 1.4.1~) | pcsc-ifd-handler, libc6 (>= 2.15), libudev1 (>= 183), init-system-helpers (>= 1.18~), lsb-base (>= 3.0-6), libpcsclite1 (= 1.8.14-1ubuntu1.16.04.1)
Suggests: systemd
Conffiles:
/etc/init.d/pcscd 9e2fea301957835841f6051e8c6e3ac2
Description: Middleware to access a smart card using PC/SC (daemon side)
The purpose of PC/SC Lite is to provide a Windows(R) SCard interface
in a very small form factor for communicating to smart cards and
smart cards readers.
.
The PC/SC daemon is used to dynamically allocate/deallocate reader
drivers at runtime and manage connections to the readers.
Homepage: http://pcsclite.alioth.debian.org/
Original-Maintainer: Ludovic Rousseau <rousseau@debian.org>

Package: pcsc-tools
Status: install ok installed
Priority: extra
Section: utils
Installed-Size: 317
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Version: 1.4.25-1
Depends: libc6 (>= 2.4), libpcsclite1 (>= 1.3.0), libpcsc-perl, libgtk2-perl
Description: Some tools to use with smart cards and PC/SC
This archive contains some tools useful for a PC/SC user. The tools
provided are:
.
pcsc_scan(1) scans available smart card readers and print detected
events: card insertion with ATR, card removal;
.
ATR_analysis(1) analyses a smart card ATR (Answer To Reset)
.
scriptor(1) Perl script to send commands to a smart card using a
batch file or stdin;
.
gscriptor(1) the same idea as scriptor.pl(1) but with Perl-Gtk GUI.
Original-Maintainer: Ludovic Rousseau <rousseau@debian.org>
Homepage: http://ludovic.rousseau.free.fr/softwares/pcsc-tools/

Package: opensc
Status: install ok installed
Priority: extra
Section: utils
Installed-Size: 926
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: foreign
Version: 0.15.0-1ubuntu1
Depends: opensc-pkcs11 (= 0.15.0-1ubuntu1), pcscd, libc6 (>= 2.14), libreadline6 (>= 6.0), libssl1.0.0 (>= 1.0.0)
Conflicts: mozilla-opensc
Conffiles:
/etc/opensc/opensc.conf 1d60eae4fc68a48060aac8e5346c2b1e
Description: Smart card utilities with support for PKCS#15 compatible cards
OpenSC provides a set of libraries and utilities to access smart
cards.  It mainly focuses on cards that support cryptographic
operations. It facilitates their use in security applications such as
mail encryption, authentication, and digital signature. OpenSC
implements the PKCS#11 API. Applications supporting this API, such as
Iceweasel and Icedove, can use it. OpenSC implements the PKCS#15
standard and aims to be compatible with all software that does so as
well.
.
Before purchasing any cards, please read carefully documentation in
/usr/share/doc/opensc/html/wiki/index.html - only some cards are
supported. Not only does card type matters, but also card version,
card OS version and preloaded applet. Only a subset of possible
operations may be supported for your card. Card initialization may
require third party proprietary software.
.
This package contains tools for intearacting with smart cards.
Homepage: https://github.com/OpenSC/OpenSC/wiki
Original-Maintainer: Debian OpenSC Maintainers <pkg-opensc-maint@lists.alioth.debian.org>
$


Для установки пакетов и библиотек :
В deb-based системах введите команду:

$ sudo apt-get install libccid pcscd libpcsclite1 pcsc-tools opensc
[sudo] пароль для pc:
Чтение списков пакетов… Готово
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
Уже установлен пакет opensc самой новой версии (0.15.0-1ubuntu1).
Уже установлен пакет pcsc-tools самой новой версии (1.4.25-1).
Уже установлен пакет libpcsclite1 самой новой версии (1.8.14-1ubuntu1.16.04.1).
Уже установлен пакет libccid самой новой версии (1.4.22-1ubuntu0.1).
Уже установлен пакет pcscd самой новой версии (1.8.14-1ubuntu1.16.04.1).
Следующие пакеты устанавливались автоматически и больше не требуются:
  bbswitch-dkms libllvm4.0 linux-headers-4.10.0-28
  linux-headers-4.10.0-28-generic linux-headers-4.13.0-31
  linux-headers-4.13.0-31-generic linux-headers-4.13.0-32
  linux-headers-4.13.0-32-generic linux-headers-4.13.0-36
  linux-headers-4.13.0-36-generic linux-headers-4.13.0-37
  linux-headers-4.13.0-37-generic linux-headers-4.13.0-38
  linux-headers-4.13.0-38-generic linux-headers-4.13.0-39
  linux-headers-4.13.0-39-generic linux-headers-4.13.0-41
  linux-headers-4.13.0-41-generic linux-headers-4.13.0-43
  linux-headers-4.13.0-43-generic linux-image-4.10.0-28-generic
  linux-image-4.13.0-31-generic linux-image-4.13.0-32-generic
  linux-image-4.13.0-36-generic linux-image-4.13.0-37-generic
  linux-image-4.13.0-38-generic linux-image-4.13.0-39-generic
  linux-image-4.13.0-41-generic linux-image-4.13.0-43-generic
  linux-image-extra-4.10.0-28-generic linux-image-extra-4.13.0-31-generic
  linux-image-extra-4.13.0-32-generic linux-image-extra-4.13.0-36-generic
  linux-image-extra-4.13.0-37-generic linux-image-extra-4.13.0-38-generic
  linux-image-extra-4.13.0-39-generic linux-image-extra-4.13.0-41-generic
  linux-image-extra-4.13.0-43-generic nvidia-prime
Для их удаления используйте «sudo apt autoremove».
обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 56 пакетов не обновлено.
$

Для проверки работы Рутокен ЭЦП:
1. Подключите устройство к компьютеру.
2. Введите команду:
$ pcsc_scan
PC/SC device scanner
V 1.4.25 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.8.14
Using reader plug'n play mechanism
Scanning present readers...
Waiting for the first reader...

тут программа зависает

Значит Рутокен ЭЦП не работает. Для решения данной проблемы перейдите в раздел Определение
проблемы в работе Рутокен ЭЦП в системе .
5. Нажмите комбинацию клавиш [Ctrl]+[C] .

Остановите работу утилиты:
$ sudo service pcscd stop

Запустите pcscd вручную в отладочном режиме:
$ sudo /usr/sbin/pcscd -afddddd
00000000 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000034 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000002 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000002 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000001 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000012 utils.c:84:GetDaemonPid() Can't open /var/run/pcscd/pcscd.pid: No such file or directory
00000019 configfile.l:283:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
00000012 configfile.l:317:DBGetReaderListDir() Skipping non regular file: .
00000002 configfile.l:317:DBGetReaderListDir() Skipping non regular file: ..
00000003 configfile.l:355:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
00000022 pcscdaemon.c:569:main() pcsc-lite 1.8.14 daemon ready.
00001571 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000066 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000066 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x275D, PID: 0x0BA6, path: /dev/bus/usb/001/002
00000061 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000064 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x2A7A, PID: 0x0C18, path: /dev/bus/usb/001/003
00000063 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x2A7A, PID: 0x0C18, path: /dev/bus/usb/001/003
00000058 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000063 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x23A0, PID: 0x0008, path: /dev/bus/usb/001/004
00000111 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0003, path: /dev/bus/usb/002/001

на этом программа зависает, однако видна красная строка с ошибкой:
00000012 utils.c:84:GetDaemonPid() Can't open /var/run/pcscd/pcscd.pid: No such file or directory



становите работу утилиты:
$ sudo service pcscd stop
Если у вас нет доступа к команде sudo, то используйте команду su.
2. Запустите pcscd вручную в отладочном режиме и осуществите поиск строки "Rutoken":
$ sudo /usr/sbin/pcscd -afddddd | grep Rutoken

отобразилась пустая строка, программа зависла

Откройте в библиотеке libccid конфигурационный файл Info.plist и проверьте наличие в нем записей об
устройстве.
Для открытия конфигурационного файла Info.plist введите команду:
$ sudo nano /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist


<key>ifdVendorID</key>
    <array>
есть несколько строк
        <string>0x0A89</string>

    <key>ifdProductID</key>
    <array>
есть строка
        <string>0x0030</string>

    <key>ifdFriendlyName</key>
    <array>
есть строка
        <string>Aktiv Rutoken ECP</string>


при повторном запуске ранее имевшаяся ошибка не показывается

$ sudo /usr/sbin/pcscd -afddddd
[sudo] пароль для pc:
00000000 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000058 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000003 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000003 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000003 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000042 configfile.l:283:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
00000018 configfile.l:317:DBGetReaderListDir() Skipping non regular file: .
00000005 configfile.l:317:DBGetReaderListDir() Skipping non regular file: ..
00000005 configfile.l:355:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
00000037 pcscdaemon.c:569:main() pcsc-lite 1.8.14 daemon ready.
00002760 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000117 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000129 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x275D, PID: 0x0BA6, path: /dev/bus/usb/001/002
00000110 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000113 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x2A7A, PID: 0x0C18, path: /dev/bus/usb/001/003
00000110 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x2A7A, PID: 0x0C18, path: /dev/bus/usb/001/003
00000126 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000113 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x23A0, PID: 0x0008, path: /dev/bus/usb/001/004
00000155 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0003, path: /dev/bus/usb/002/001
06045325 winscard_msg_srv.c:253:ProcessEventsServer() Common channel packet arrival
00000049 winscard_msg_srv.c:265:ProcessEventsServer() ProcessCommonChannelRequest detects: 5
00000017 pcscdaemon.c:134:SVCServiceRunLoop() A new context thread creation is requested: 5
00000126 winscard_svc.c:331:ContextThread() Authorized PC/SC client
00000019 winscard_svc.c:335:ContextThread() Thread is started: dwClientID=5, threadContext @0xa99180
00000026 winscard_svc.c:353:ContextThread() Received command: CMD_VERSION from client 5
00000019 winscard_svc.c:365:ContextThread() Client is protocol version 4:3
00000015 winscard_svc.c:385:ContextThread() CMD_VERSION rv=0x0 for client 5
00000111 winscard_svc.c:353:ContextThread() Received command: ESTABLISH_CONTEXT from client 5
00000030 winscard.c:215:SCardEstablishContext() Establishing Context: 0x64CE9A27
00000013 winscard_svc.c:446:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 5
00000077 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
00000085 winscard_svc.c:353:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 5
00000087 winscard_svc.c:353:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 5
00000028 winscard_svc.c:427:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 5
00000059 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
00000100 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
00000063 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
00000074 winscard_svc.c:353:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
00000059 winscard_svc.c:353:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 5
^C
54171911 pcscdaemon.c:750:signal_trap() Received signal: 2
00000033 pcscdaemon.c:769:signal_trap() Preparing for suicide
00000623 hotplug_libudev.c:685:HPStopHotPluggables() Hotplug stopped
01000144 readerfactory.c:1296:RFCleanupReaders() entering cleaning function
00000040 winscard_svc.c:154:ContextsDeinitialize() remaining threads: 1
00000010 pcscdaemon.c:694:at_exit() cleaning /var/run/pcscd
$

однако команда также висит для:
$ pcsc_scan
PC/SC device scanner
V 1.4.25 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.8.14
Using reader plug'n play mechanism
Scanning present readers...
Waiting for the first reader...SCardGetStatusChange: RPC transport error.
$ ^C

PS
драйвер ifd-rutokens_1.0.4_amd64.deb - установлен.



http://forum.rutoken.ru/topic/2441/
Анатолий Убушаев 2017-03-15 12:34:13
    Техническая поддержка
    Неактивен
А если попробовать так:

sudo /etc/init.d/pcscd stop
[ ok ] Stopping pcscd (via systemctl): pcscd.service.
$ sudo /etc/init.d/pcscd status
● pcscd.service - PC/SC Smart Card Daemon
   Loaded: loaded (/lib/systemd/system/pcscd.service; indirect; vendor preset: enabled)
   Active: inactive (dead) since Пт 2018-07-13 12:00:29 +05; 25min ago
  Process: 2321 ExecStart=/usr/sbin/pcscd --foreground --auto-exit (code=exited, status=0/SUCCESS)
Main PID: 2321 (code=exited, status=0/SUCCESS)

июл 13 11:58:34 pc systemd[1]: Started PC/SC Smart Card Daemon.
июл 13 12:00:29 pc systemd[1]: Stopping PC/SC Smart Card Daemon...
июл 13 12:00:29 pc systemd[1]: Stopped PC/SC Smart Card Daemon.
июл 13 12:00:29 pc systemd[1]: Stopped PC/SC Smart Card Daemon.
июл 13 12:03:32 pc systemd[1]: Stopped PC/SC Smart Card Daemon.
июл 13 12:25:38 pc systemd[1]: Stopped PC/SC Smart Card Daemon.
$ sudo service pcscd status
● pcscd.service - PC/SC Smart Card Daemon
   Loaded: loaded (/lib/systemd/system/pcscd.service; indirect; vendor preset: enabled)
   Active: inactive (dead) since Пт 2018-07-13 12:00:29 +05; 25min ago
  Process: 2321 ExecStart=/usr/sbin/pcscd --foreground --auto-exit (code=exited, status=0/SUCCESS)
Main PID: 2321 (code=exited, status=0/SUCCESS)

июл 13 11:58:34 pc systemd[1]: Started PC/SC Smart Card Daemon.
июл 13 12:00:29 pc systemd[1]: Stopping PC/SC Smart Card Daemon...
июл 13 12:00:29 pc systemd[1]: Stopped PC/SC Smart Card Daemon.
июл 13 12:00:29 pc systemd[1]: Stopped PC/SC Smart Card Daemon.
июл 13 12:03:32 pc systemd[1]: Stopped PC/SC Smart Card Daemon.
июл 13 12:25:38 pc systemd[1]: Stopped PC/SC Smart Card Daemon.
$



Пробуйте:
sudo pcscd -afddddd
Какой теперь вывод?

$ sudo pcscd -afddddd
00000000 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000185 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000017 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000013 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000012 debuglog.c:291:DebugLogSetLevel() debug level=debug
00000126 configfile.l:283:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
00000039 configfile.l:317:DBGetReaderListDir() Skipping non regular file: .
00000014 configfile.l:317:DBGetReaderListDir() Skipping non regular file: ..
00000014 configfile.l:355:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
00000104 pcscdaemon.c:569:main() pcsc-lite 1.8.14 daemon ready.
00008322 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000199 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000280 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x275D, PID: 0x0BA6, path: /dev/bus/usb/001/002
00000182 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000255 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x2A7A, PID: 0x0C18, path: /dev/bus/usb/001/003
00000307 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x2A7A, PID: 0x0C18, path: /dev/bus/usb/001/003
00000175 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000179 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x23A0, PID: 0x0008, path: /dev/bus/usb/001/004
00000280 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0003, path: /dev/bus/usb/002/001


sudo pcsc_scan
что выводит?

$ pcsc_scan
PC/SC device scanner
V 1.4.25 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.8.14
Using reader plug'n play mechanism
Scanning present readers...
Waiting for the first reader...


"Waiting for the first reader..."
Это означает, что программа ждёт, подключения Рутокен к компьютеру.

Давайте разбираться поэтапно:
1. Подключен ли Рутокен?
2. Что выводит команда lsusb? Пришлите вывод.
3. Дистрибутив Linux Mint какой версии?
4. Пакет libccid какой версии?

информация:
1. Да, подключен.
2. Что выводит команда lsusb? Пришлите вывод.

$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 23a0:0008 
Bus 001 Device 003: ID 2a7a:0c18 
Bus 001 Device 002: ID 275d:0ba6 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$

3. Дистрибутив Linux Mint какой версии?
Установлена ubuntu 16.04 64x , среда Mate

4. Пакет libccid какой версии?
$ dpkg -s libccid
Version: 1.4.22-1ubuntu0.1


Всё сделано, но токен не работает ...
Прошу помощи в настройке токена.
Спасибо.

Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.

Здравствуйте, Nigg

с подключенным токеном:

$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 23a0:0008 
Bus 001 Device 003: ID 2a7a:0c18 
Bus 001 Device 002: ID 275d:0ba6 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$


то есть, токен определяется как:
Bus 001 Device 004: ID 23a0:0008

Судя по VendorID и ProductID, у Вас не Рутокен, а похоже токен от компании Bifit.
Рутокен имеет VendorID - 0a89

Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.

Добрый день, Андрей!

У меня аналогичная проблема. ОС Linux Debian 9.5  Все пакеты установил с помощью Synaptic. КриптоАРМ ГОСт КпристоПроCSP5/  Снимки экрана https://photos.app.goo.gl/B9m44XrEU93naktv7


Тесты:
marat@Director:~$ pcsc_scan
PC/SC device scanner
V 1.4.27 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.8.17
Using reader plug'n play mechanism
Scanning present readers...
Waiting for the first reader... 


marat@Director:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04f2:b469 Chicony Electronics Co., Ltd
Bus 001 Device 006: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 010: ID 0a89:0030                                                                               // ЭТО РУТОКЕН, когда его вынимаю, строка исчезает
Bus 001 Device 004: ID 04ca:300b Lite-On Technology Corp. Atheros AR3012 Bluetooth
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
marat@Director:~$


Остановил  pcscd

запустил в отладке:

root@Director:/home/marat#  /usr/sbin/pcscd -afddddd
00000000 debuglog.c:289:DebugLogSetLevel() debug level=debug
00000309 debuglog.c:289:DebugLogSetLevel() debug level=debug
00000035 debuglog.c:289:DebugLogSetLevel() debug level=debug
00000030 debuglog.c:289:DebugLogSetLevel() debug level=debug
00000043 debuglog.c:289:DebugLogSetLevel() debug level=debug
00000191 pcscdaemon.c:475:main() file /var/run/pcscd/pcscd.comm already exists.
00000047 pcscdaemon.c:477:main() Another pcscd (pid: 6146) seems to be running.
root@Director:/home/marat#


● pcscd.service - PC/SC Smart Card Daemon
   Loaded: loaded (/lib/systemd/system/pcscd.service; indirect; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2018-10-31 12:11:08 +07; 2min 48s ago
  Process: 5201 ExecStart=/usr/sbin/pcscd --foreground --auto-exit (code=exited, status=1/FAILURE)
Main PID: 5201 (code=exited, status=1/FAILURE)

окт 31 12:07:21 Director systemd[1]: Started PC/SC Smart Card Daemon.
окт 31 12:07:21 Director pcscd[5201]: 00000000 hotplug_libudev.c:184:HPReadBundleValu…plist
окт 31 12:11:08 Director systemd[1]: Stopping PC/SC Smart Card Daemon...
окт 31 12:11:08 Director systemd[1]: pcscd.service: Main process exited, code=exited,…ILURE
окт 31 12:11:08 Director systemd[1]: Stopped PC/SC Smart Card Daemon.
окт 31 12:11:08 Director systemd[1]: pcscd.service: Unit entered failed state.
окт 31 12:11:08 Director systemd[1]: pcscd.service: Failed with result 'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.
root@Director:/home/marat#

root@Director:/home/marat# dpkg -s openct
dpkg-query: пакет «openct» не установлен, информация о нём недоступна
Для проверки файлов архивов используйте команду dpkg --info (dpkg-deb --info),
для вывода списка файлов в них — команду dpkg--contents (dpkg-deb --contents).
root@Director:/home/marat#

В Synaptic openct нет и в помине

Re: Рутокен ЭЦП + Ubuntu 16 04. Pcsc_scan не видит устройство.

Добрый день, emediator.

Ответил Вам на почту.