Skip to main content

OpenSC does not detect epass2003 [Fixed]

Posted in

I am running a Debian 6.03 system. I have built ccid 1.4.5 and pcss-lite 1.8.1. I then fetched OpenSC from git and build it following the instructions (git ... ePass_1...). I also copied the libccid_Info.plist file to the /etc dir.

I insert the token and enter > opensc-tool -l. The result is "No smart card readers found".

When I run pcscd --debug -f and insert and remove the token I get:

root@deneb:~# pcscd --debug -f
00000000 pcscdaemon.c:233:main() pcscd set to foreground with debug send to stdout
00000117 configfile.l:287:DBGetReaderList() Parsing conf file: /usr/local/etc/reader.conf.d
00000023 pcscdaemon.c:518:main() pcsc-lite 1.8.1 daemon ready.
00020503 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000186 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000176 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC062, path: /dev/bus/usb/003/002
00000301 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000214 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
00000207 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001
00000216 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001
00000216 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/007/001
00000211 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000169 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000179 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x058F, PID: 0x6387, path: /dev/bus/usb/002/003
00000169 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000177 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x064E, PID: 0xA103, path: /dev/bus/usb/002/002
00000172 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x064E, PID: 0xA103, path: /dev/bus/usb/002/002
01338555 hotplug_libudev.c:584:HPEstablishUSBNotifications() Device removed
00000808 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000204 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000192 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC062, path: /dev/bus/usb/003/002
00000237 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000232 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
00000241 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001
00000236 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001
00000228 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/007/001
00000236 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000192 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000159 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x064E, PID: 0xA103, path: /dev/bus/usb/002/002
00000108 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x064E, PID: 0xA103, path: /dev/bus/usb/002/002
13432923 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x096E, PID: 0x0807, path: /dev/bus/usb/004/002
00000028 hotplug_libudev.c:312:HPAddDevice() Adding USB device: Feitian ePass2003
00000085 readerfactory.c:934:RFInitializeReader() Attempting startup of Feitian ePass2003 00 00 using /usr/local/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid
00015617 readerfactory.c:824:RFBindFunctions() Loading IFD Handler 3.0
00000059 ifdhandler.c:1781:init_driver() Driver version: 1.4.5
00000786 ifdhandler.c:1798:init_driver() LogLevel: 0x0003
00000020 ifdhandler.c:1809:init_driver() DriverOptions: 0x0000
00000180 ifdhandler.c:80:IFDHCreateChannelByName() lun: 0, device: usb:096e/0807:libudev:0:/dev/bus/usb/004/002
00000691 ccid_usb.c:245:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rousseau@free.fr)
00000017 ccid_usb.c:246:OpenUSBByName() ifdProductString: Generic CCID driver
00000012 ccid_usb.c:247:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later
00002345 ccid_usb.c:506:OpenUSBByName() Found Vendor/Product: 096E/0807 (Feitian ePass2003)
00000024 ccid_usb.c:508:OpenUSBByName() Using USB bus/device: 4/2
00002059 ccid_usb.c:1026:ControlUSB() control failed (4/2): -9 Success
00000018 ccid_usb.c:964:get_data_rates() Wrong GET DATA RATES size: 251
00005957 ifdhandler.c:402:IFDHGetCapabilities() tag: 0xFB3, usb:096e/0807:libudev:0:/dev/bus/usb/004/002 (lun: 0)
00000019 readerfactory.c:291:RFAddReader() Using the pcscd polling thread
00002057 ifdhandler.c:402:IFDHGetCapabilities() tag: 0xFAE, usb:096e/0807:libudev:0:/dev/bus/usb/004/002 (lun: 0)
00000024 ifdhandler.c:490:IFDHGetCapabilities() Reader supports 1 slot(s)
00005905 ifdhandler.c:1163:IFDHPowerICC() action: PowerUp, usb:096e/0807:libudev:0:/dev/bus/usb/004/002 (lun: 0)
00003009 eventhandler.c:256:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
00000031 Card ATR: 3B 9F 95 81 31 FE 9F 00 66 46 53 05 01 00 11 71 DF 00 00 00 00 00 13
00404960 ifdhandler.c:1163:IFDHPowerICC() action: PowerDown, usb:096e/0807:libudev:0:/dev/bus/usb/004/002 (lun: 0)
00001989 eventhandler.c:446:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
99999999 ccid_usb.c:638:WriteUSB() write failed (4/2): -99 Success
00000024 ifdwrapper.c:341:IFDStatusICC() Card not transacted: 612
00000010 eventhandler.c:303:EHStatusHandlerThread() Error communicating to: Feitian ePass2003 00 00
00078692 hotplug_libudev.c:584:HPEstablishUSBNotifications() Device removed
00000800 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000201 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000198 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC062, path: /dev/bus/usb/003/002
00000244 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000237 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
00000238 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001
00000249 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001
00000222 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/007/001
00000227 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000179 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000183 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x064E, PID: 0xA103, path: /dev/bus/usb/002/002
00000184 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x064E, PID: 0xA103, path: /dev/bus/usb/002/002
00000024 hotplug_libudev.c:510:HPRescanUsbBus() Removing USB device[0]: /dev/bus/usb/004/002
00000025 eventhandler.c:148:EHDestroyEventHandler() Stomping thread.
00000012 ifdhandler.c:402:IFDHGetCapabilities() tag: 0xFB1, usb:096e/0807:libudev:0:/dev/bus/usb/004/002 (lun: 0)
00000011 ifdhandler.c:402:IFDHGetCapabilities() tag: 0xFB2, usb:096e/0807:libudev:0:/dev/bus/usb/004/002 (lun: 0)
00000008 eventhandler.c:177:EHDestroyEventHandler() Waiting polling thread
00318158 eventhandler.c:469:EHStatusHandlerThread() Die
00000352 eventhandler.c:188:EHDestroyEventHandler() Thread stomped.
00000017 readerfactory.c:985:RFUnInitializeReader() Attempting shutdown of Feitian ePass2003 00 00.
00000017 ifdhandler.c:294:IFDHCloseChannel() usb:096e/0807:libudev:0:/dev/bus/usb/004/002 (lun: 0)
00000033 ccid_usb.c:638:WriteUSB() write failed (4/2): -4 No such device
00000049 readerfactory.c:861:RFUnloadReader() Unloading reader driver.
^C37110143 pcscdaemon.c:680:signal_trap() Received signal: 2
00000020 pcscdaemon.c:699:signal_trap() Preparing for suicide
01000114 readerfactory.c:1254:RFCleanupReaders() entering cleaning function
00000029 winscard_svc.c:130:ContextsDeinitialize() remaining threads: 0
00000009 pcscdaemon.c:629:at_exit() cleaning /var/run/pcscd
root@deneb:~# pcscd --debug -f
00000000 pcscdaemon.c:233:main() pcscd set to foreground with debug send to stdout
00000282 configfile.l:287:DBGetReaderList() Parsing conf file: /usr/local/etc/reader.conf.d
00000024 pcscdaemon.c:518:main() pcsc-lite 1.8.1 daemon ready.
00002133 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000184 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000181 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC062, path: /dev/bus/usb/003/002
00000213 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000212 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
00000211 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001
00000217 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001
00000218 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/007/001
00000213 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000171 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000182 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x064E, PID: 0xA103, path: /dev/bus/usb/002/002
00000174 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x064E, PID: 0xA103, path: /dev/bus/usb/002/002
19967259 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x096E, PID: 0x0807, path: /dev/bus/usb/004/003
00000031 hotplug_libudev.c:312:HPAddDevice() Adding USB device: Feitian ePass2003
00000084 readerfactory.c:934:RFInitializeReader() Attempting startup of Feitian ePass2003 00 00 using /usr/local/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid
00000281 readerfactory.c:824:RFBindFunctions() Loading IFD Handler 3.0
00000056 ifdhandler.c:1781:init_driver() Driver version: 1.4.5
00000786 ifdhandler.c:1798:init_driver() LogLevel: 0x0003
00000017 ifdhandler.c:1809:init_driver() DriverOptions: 0x0000
00000179 ifdhandler.c:80:IFDHCreateChannelByName() lun: 0, device: usb:096e/0807:libudev:0:/dev/bus/usb/004/003
00000722 ccid_usb.c:245:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rousseau@free.fr)
00000015 ccid_usb.c:246:OpenUSBByName() ifdProductString: Generic CCID driver
00000011 ccid_usb.c:247:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later
00001484 ccid_usb.c:506:OpenUSBByName() Found Vendor/Product: 096E/0807 (Feitian ePass2003)
00000015 ccid_usb.c:508:OpenUSBByName() Using USB bus/device: 4/3
00001908 ccid_usb.c:1026:ControlUSB() control failed (4/3): -9 Success
00000016 ccid_usb.c:964:get_data_rates() Wrong GET DATA RATES size: 251
00005940 ifdhandler.c:402:IFDHGetCapabilities() tag: 0xFB3, usb:096e/0807:libudev:0:/dev/bus/usb/004/003 (lun: 0)
00000017 readerfactory.c:291:RFAddReader() Using the pcscd polling thread
00002025 ifdhandler.c:402:IFDHGetCapabilities() tag: 0xFAE, usb:096e/0807:libudev:0:/dev/bus/usb/004/003 (lun: 0)
00000015 ifdhandler.c:490:IFDHGetCapabilities() Reader supports 1 slot(s)
00003955 ifdhandler.c:1163:IFDHPowerICC() action: PowerUp, usb:096e/0807:libudev:0:/dev/bus/usb/004/003 (lun: 0)
00003023 eventhandler.c:256:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
00000034 Card ATR: 3B 9F 95 81 31 FE 9F 00 66 46 53 05 01 00 11 71 DF 00 00 00 00 00 13
00404937 ifdhandler.c:1163:IFDHPowerICC() action: PowerDown, usb:096e/0807:libudev:0:/dev/bus/usb/004/003 (lun: 0)
00001989 eventhandler.c:446:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
13703470 ccid_usb.c:638:WriteUSB() write failed (4/3): -99 Success
00000025 ifdwrapper.c:341:IFDStatusICC() Card not transacted: 612
00000010 eventhandler.c:303:EHStatusHandlerThread() Error communicating to: Feitian ePass2003 00 00
00015427 hotplug_libudev.c:584:HPEstablishUSBNotifications() Device removed
00000776 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000198 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000195 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC062, path: /dev/bus/usb/003/002
00000242 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000234 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
00000236 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001
00000237 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001
00000237 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/007/001
00000245 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000191 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000194 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x064E, PID: 0xA103, path: /dev/bus/usb/002/002
00000193 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x064E, PID: 0xA103, path: /dev/bus/usb/002/002
00000029 hotplug_libudev.c:510:HPRescanUsbBus() Removing USB device[0]: /dev/bus/usb/004/003
00000026 eventhandler.c:148:EHDestroyEventHandler() Stomping thread.
00000013 ifdhandler.c:402:IFDHGetCapabilities() tag: 0xFB1, usb:096e/0807:libudev:0:/dev/bus/usb/004/003 (lun: 0)
00000010 ifdhandler.c:402:IFDHGetCapabilities() tag: 0xFB2, usb:096e/0807:libudev:0:/dev/bus/usb/004/003 (lun: 0)
00000009 eventhandler.c:177:EHDestroyEventHandler() Waiting polling thread
00381397 eventhandler.c:469:EHStatusHandlerThread() Die
00000347 eventhandler.c:188:EHDestroyEventHandler() Thread stomped.
00000016 readerfactory.c:985:RFUnInitializeReader() Attempting shutdown of Feitian ePass2003 00 00.
00000017 ifdhandler.c:294:IFDHCloseChannel() usb:096e/0807:libudev:0:/dev/bus/usb/004/003 (lun: 0)
00000036 ccid_usb.c:638:WriteUSB() write failed (4/3): -4 No such device
00000049 readerfactory.c:861:RFUnloadReader() Unloading reader driver.
^C04113919 pcscdaemon.c:680:signal_trap() Received signal: 2
00000021 pcscdaemon.c:699:signal_trap() Preparing for suicide
01000087 readerfactory.c:1254:RFCleanupReaders() entering cleaning function
00000026 winscard_svc.c:130:ContextsDeinitialize() remaining threads: 0
00000010 pcscdaemon.c:629:at_exit() cleaning /var/run/pcscd
root@deneb:~# clear

root@deneb:~# pcscd --debug -f
00000000 pcscdaemon.c:233:main() pcscd set to foreground with debug send to stdout
00000115 configfile.l:287:DBGetReaderList() Parsing conf file: /usr/local/etc/reader.conf.d
00000024 pcscdaemon.c:518:main() pcsc-lite 1.8.1 daemon ready.
00002121 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000186 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000177 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC062, path: /dev/bus/usb/003/002
00000210 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000208 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
00000208 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001
00000212 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001
00000215 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/007/001
00000206 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000168 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000179 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x064E, PID: 0xA103, path: /dev/bus/usb/002/002
00000170 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x064E, PID: 0xA103, path: /dev/bus/usb/002/002
06886981 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x096E, PID: 0x0807, path: /dev/bus/usb/004/004
00000030 hotplug_libudev.c:312:HPAddDevice() Adding USB device: Feitian ePass2003
00000085 readerfactory.c:934:RFInitializeReader() Attempting startup of Feitian ePass2003 00 00 using /usr/local/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid
00000286 readerfactory.c:824:RFBindFunctions() Loading IFD Handler 3.0
00000053 ifdhandler.c:1781:init_driver() Driver version: 1.4.5
00000791 ifdhandler.c:1798:init_driver() LogLevel: 0x0003
00000018 ifdhandler.c:1809:init_driver() DriverOptions: 0x0000
00000176 ifdhandler.c:80:IFDHCreateChannelByName() lun: 0, device: usb:096e/0807:libudev:0:/dev/bus/usb/004/004
00000680 ccid_usb.c:245:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rousseau@free.fr)
00000015 ccid_usb.c:246:OpenUSBByName() ifdProductString: Generic CCID driver
00000011 ccid_usb.c:247:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later
00001577 ccid_usb.c:506:OpenUSBByName() Found Vendor/Product: 096E/0807 (Feitian ePass2003)
00000019 ccid_usb.c:508:OpenUSBByName() Using USB bus/device: 4/4
00001780 ccid_usb.c:1026:ControlUSB() control failed (4/4): -9 Success
00000017 ccid_usb.c:964:get_data_rates() Wrong GET DATA RATES size: 251
00005928 ifdhandler.c:402:IFDHGetCapabilities() tag: 0xFB3, usb:096e/0807:libudev:0:/dev/bus/usb/004/004 (lun: 0)
00000017 readerfactory.c:291:RFAddReader() Using the pcscd polling thread
00002070 ifdhandler.c:402:IFDHGetCapabilities() tag: 0xFAE, usb:096e/0807:libudev:0:/dev/bus/usb/004/004 (lun: 0)
00000021 ifdhandler.c:490:IFDHGetCapabilities() Reader supports 1 slot(s)
00003923 ifdhandler.c:1163:IFDHPowerICC() action: PowerUp, usb:096e/0807:libudev:0:/dev/bus/usb/004/004 (lun: 0)
00003008 eventhandler.c:256:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
00000030 Card ATR: 3B 9F 95 81 31 FE 9F 00 66 46 53 05 01 00 11 71 DF 00 00 00 00 00 13
00404959 ifdhandler.c:1163:IFDHPowerICC() action: PowerDown, usb:096e/0807:libudev:0:/dev/bus/usb/004/004 (lun: 0)
00001999 eventhandler.c:446:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
02391442 hotplug_libudev.c:584:HPEstablishUSBNotifications() Device removed
00000870 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000212 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000211 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC062, path: /dev/bus/usb/003/002
00000252 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000236 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
00000231 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001
00000227 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001
00000224 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/007/001
00000228 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000176 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000190 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x064E, PID: 0xA103, path: /dev/bus/usb/002/002
00000184 hotplug_libudev.c:261:get_driver() Looking for a driver for VID: 0x064E, PID: 0xA103, path: /dev/bus/usb/002/002
00000025 hotplug_libudev.c:510:HPRescanUsbBus() Removing USB device[0]: /dev/bus/usb/004/004
00000028 eventhandler.c:148:EHDestroyEventHandler() Stomping thread.
00000012 ifdhandler.c:402:IFDHGetCapabilities() tag: 0xFB1, usb:096e/0807:libudev:0:/dev/bus/usb/004/004 (lun: 0)
00000011 ifdhandler.c:402:IFDHGetCapabilities() tag: 0xFB2, usb:096e/0807:libudev:0:/dev/bus/usb/004/004 (lun: 0)
00000009 eventhandler.c:177:EHDestroyEventHandler() Waiting polling thread
00022368 eventhandler.c:469:EHStatusHandlerThread() Die
00000337 eventhandler.c:188:EHDestroyEventHandler() Thread stomped.
00000016 readerfactory.c:985:RFUnInitializeReader() Attempting shutdown of Feitian ePass2003 00 00.
00000018 ifdhandler.c:294:IFDHCloseChannel() usb:096e/0807:libudev:0:/dev/bus/usb/004/004 (lun: 0)
00000034 ccid_usb.c:638:WriteUSB() write failed (4/4): -4 No such device
00000047 readerfactory.c:861:RFUnloadReader() Unloading reader driver.
^C02753381 pcscdaemon.c:680:signal_trap() Received signal: 2
00000018 pcscdaemon.c:699:signal_trap() Preparing for suicide
01000104 readerfactory.c:1254:RFCleanupReaders() entering cleaning function
00000025 winscard_svc.c:130:ContextsDeinitialize() remaining threads: 0
00000010 pcscdaemon.c:629:at_exit() cleaning /var/run/pcscd
root@deneb:~#

The token seems to be detected by pcscd, but not by opensc.

0
Your rating: None

Re: OpenSC does not detect epass2003

The full installation guide is there:
http://www.gooze.eu/howto/smartcard-quickstarter-guide/gnu-linux-install...

But here is a short answer to your questions:

We are using these packages:
dpkg-query -W libccid pcscd pcsc-tools
libccid 1.4.5-1
pcsc-tools 1.4.18-1
pcscd 1.8.1-5

These packages are part of Debian SID.
No need to recompile, this can only add some confusion.
+ pcscd and libccid are evolving fast.
Ludovic Rousseau is the author AND also the Debian package maintainer.

Could you remove your custom compilations.

Then add the unstable repository to Debian and run:
In /etc/apt/sources.list

Add:
deb http://ftp.fr.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ unstable main contrib non-free

apt-get update
apt-get install pcscd/unstable libccid/unstable pcscd/unstable

If you are using latest CCID, no need to copy libccid_Info.plist file to the /etc.
libccid 1.4.5-1 is ready for the ePass2003.
Can you remove libccid_Info.plist and retry?

This should work like a charm with ePass2003_1.
GIT branch is ePass2003_1.

Could you query:
git branch
to make sure you are using ePass2003_1

Now retry.
If this still does not work, please go back to our guide.
For example, you may need to remove libmtp.

Then write your log to /tmp/opensc.log with verbosity and repost.
All this is explained in the installation guide.

Re: OpenSC does not detect epass2003

We dropped you several emails, no answer.
Setting to Fixed as this works for all of us.