Zum Inhalt wechseln


cyberjack don't work after pcscd auto-exit.


  • Bitte melde dich an, um zu antworten
1 Antwort auf dieses Thema

#1 nunojpg

nunojpg

    Neues Mitglied

  • Members
  • PIP
  • 2 Beiträge:

Geschrieben 24 January 2017 - 13:42 PM

Reader: REINER SCT cyberJack ecom_a

Driver: pcsc-cyberjack-3.99.5final.SP10

 

With the default configuration of pcscd on Ubuntu, pcscd will auto-exit after some seconds of innactivity.

 

This seems to work fine:

 

Jan 24 13:34:29 sky13 pcscd[2976]: 00000019 readerfactory.c:1063:RFUnInitializeReader() Attempting shutdown of REINER SCT cyberJack ecom_a (7169031091) 00 00.
Jan 24 13:34:29 sky13 pcscd[2976]: 00003657 readerfactory.c:934:RFUnloadReader() Unloading reader driver.
Jan 24 13:34:29 sky13 pcscd[2976]: 00000139 winscard_svc.c:154:ContextsDeinitialize() remaining threads: 0
Jan 24 13:34:29 sky13 pcscd[2976]: 00000009 pcscdaemon.c:694:at_exit() cleaning /var/run/pcscd
 
But when it tries to restart again the reader does not respond:
 
Jan 24 13:34:52 sky13 systemd[1]: Started PC/SC Smart Card Daemon.
Jan 24 13:34:52 sky13 pcscd[3003]: debuglog.c:291:DebugLogSetLevel() debug level=debug
Jan 24 13:34:52 sky13 pcscd[3003]: 00000000 pcscdaemon.c:263:main() pcscd set to foreground with debug send to stdout
Jan 24 13:34:52 sky13 pcscd[3003]: 00000007 pcscdaemon.c:333:main() Auto exit after 60 seconds of inactivity
Jan 24 13:34:52 sky13 pcscd[3003]: 00000008 pcscdaemon.c:372:main() Started by systemd
Jan 24 13:34:52 sky13 pcscd[3003]: 00000022 configfile.l:283:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
Jan 24 13:34:52 sky13 pcscd[3003]: 00000011 configfile.l:355:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
Jan 24 13:34:52 sky13 pcscd[3003]: 00000021 configfile.l:317:DBGetReaderListDir() Skipping non regular file: .
Jan 24 13:34:52 sky13 pcscd[3003]: 00000003 configfile.l:317:DBGetReaderListDir() Skipping non regular file: ..
Jan 24 13:34:52 sky13 pcscd[3003]: 00000007 pcscdaemon.c:569:main() pcsc-lite 1.8.14 daemon ready.
Jan 24 13:34:52 sky13 pcscd[3003]: 00003763 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
Jan 24 13:34:52 sky13 pcscd[3003]: 00000084 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
Jan 24 13:34:52 sky13 pcscd[3003]: 00000082 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x045E, PID: 0x07A5, path: /dev/bus/usb/001/002
Jan 24 13:34:52 sky13 pcscd[3003]: 00000088 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x045E, PID: 0x07A5, path: /dev/bus/usb/001/002
Jan 24 13:34:52 sky13 pcscd[3003]: 00000051 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x045E, PID: 0x07A5, path: /dev/bus/usb/001/002
Jan 24 13:34:52 sky13 pcscd[3003]: 00000050 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
Jan 24 13:34:52 sky13 pcscd[3003]: 00000053 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x0A5C, PID: 0x5832, path: /dev/bus/usb/001/006
Jan 24 13:34:52 sky13 pcscd[3003]: 00000052 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x0A5C, PID: 0x5832, path: /dev/bus/usb/001/006
Jan 24 13:34:52 sky13 pcscd[3003]: 00000049 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
Jan 24 13:34:52 sky13 pcscd[3003]: 00000053 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1BCF, PID: 0x28B8, path: /dev/bus/usb/001/008
Jan 24 13:34:52 sky13 pcscd[3003]: 00000052 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1BCF, PID: 0x28B8, path: /dev/bus/usb/001/008
Jan 24 13:34:52 sky13 pcscd[3003]: 00000051 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
Jan 24 13:34:52 sky13 pcscd[3003]: 00000051 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x413C, PID: 0x2513, path: /dev/bus/usb/001/003
Jan 24 13:34:52 sky13 pcscd[3003]: 00000049 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
Jan 24 13:34:52 sky13 pcscd[3003]: 00000053 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x413C, PID: 0x2134, path: /dev/bus/usb/001/005
Jan 24 13:34:52 sky13 pcscd[3003]: 00000056 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x0424, PID: 0x2514, path: /dev/bus/usb/001/007
Jan 24 13:34:52 sky13 pcscd[3003]: 00000060 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x413C, PID: 0xA503, path: /dev/bus/usb/001/010
Jan 24 13:34:52 sky13 pcscd[3003]: 00000059 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x413C, PID: 0xA503, path: /dev/bus/usb/001/010
Jan 24 13:34:52 sky13 pcscd[3003]: 00000059 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x413C, PID: 0xA503, path: /dev/bus/usb/001/010
Jan 24 13:34:52 sky13 pcscd[3003]: 00000059 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x413C, PID: 0xA503, path: /dev/bus/usb/001/010
Jan 24 13:34:52 sky13 pcscd[3003]: 00000057 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x0424, PID: 0x2514, path: /dev/bus/usb/001/007
Jan 24 13:34:52 sky13 pcscd[3003]: 00000060 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC408, path: /dev/bus/usb/001/011
Jan 24 13:34:52 sky13 pcscd[3003]: 00000055 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x0424, PID: 0x2514, path: /dev/bus/usb/001/007
Jan 24 13:34:52 sky13 pcscd[3003]: 00000051 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x413C, PID: 0x2134, path: /dev/bus/usb/001/005
Jan 24 13:34:52 sky13 pcscd[3003]: 00000055 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x0C4B, PID: 0x0400, path: /dev/bus/usb/001/009
Jan 24 13:34:52 sky13 pcscd[3003]: 00000003 hotplug_libudev.c:435:HPAddDevice() Adding USB device: REINER SCT cyberJack ecom_a
Jan 24 13:34:52 sky13 pcscd[3003]: 00000025 readerfactory.c:1012:RFInitializeReader() Attempting startup of REINER SCT cyberJack ecom_a (7169031091) 00 00 using /usr/lib/pcsc/drivers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so
Jan 24 13:34:52 sky13 pcscd[3003]: CYBERJACK: Started
Jan 24 13:34:52 sky13 pcscd[3003]: 00000993 readerfactory.c:897:RFBindFunctions() Loading IFD Handler 3.0
 
At this time I have to unplug the reader from the USB port for it to work again.

 

 

 



#2 nunojpg

nunojpg

    Neues Mitglied

  • Members
  • PIP
  • 2 Beiträge:

Geschrieben 24 January 2017 - 19:28 PM

I can confirm this is caused most times after a PCSCD restart (clean restart!), but not always, and the driver hangs at:

 

CBaseReader::PostCreate()

CEC30Reader::BuildReaderInfo()

CEC30Reader::GetReaderInfo()

CEC30Reader::Escape()

CCCIDReader::Transfer()

CUSBUnix::Read()

ausb_bulk_read()

 

Reader firmware is latest as reported by your firmware upgrade utility: Secoder 2 V2.2.0, cyberjack OS Version: 3.0.