-
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to init usb readers #44
Comments
Please always provide a FULL log. See https://ccid.apdu.fr/#support Do you use a virtual machine? |
When porting it to android, seems got the same problem. ./parseParsing USB bus/device: 0BDA:0169 (bus 1, device 22) LIBCCID_ifdLogLevel=0x000F=0x000F ./pcscd --foreground --debug --apdu --color00000000 smartCard_src/jni/pcsc-lite-1.8.24/src/debuglog.c:299:DebugLogSetLevel() debug level=debug |
It looks like your libusb is not working as expected on Android. |
Loading libscmccid 5.0.35
04236586 ifdhandler.c:1158:IFDHPowerICC() action: PowerDown, usb:04e6/5721:libudev:1:/dev/bus/usb/001/003 (lun: 0)
00016897 eventhandler.c:481:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
10761997 readerfactory.c:1043:RFInitializeReader() Open Port 0x200006 Failed (usb:04e6/5721:libudev:0:/dev/bus/usb/001/005)
00000048 readerfactory.c:335:RFAddReader() Identiv uTRust 4710 F CL + SAM Reader [CLOUD 4710 F SAM Reader] (53241322202448) init failed.
00000012 readerfactory.c:558:RFRemoveReader() UnrefReader() count was: 1
00000008 readerfactory.c:1063:RFUnInitializeReader() Attempting shutdown of Identiv uTRust 4710 F CL + SAM Reader [CLOUD 4710 F SAM Reader] (53241322202448) 05 00.
00000012 hotplug_libudev.c:507:HPAddDevice() Failed adding USB device: Identiv uTRust 4710 F CL + SAM Reader
00000017 ifdhandler.c:382:IFDHGetCapabilities() tag: 0xFAF, usb:04e6/5721:libudev:1:/dev/bus/usb/001/003 (lun: 0)
00000010 readerfactory.c:680:RFSetReaderName() Support 16 simultaneous readers
00000015 ifdhandler.c:382:IFDHGetCapabilities() tag: 0xFAD, usb:04e6/5721:libudev:1:/dev/bus/usb/001/003 (lun: 0)
00000006 readerfactory.c:297:RFAddReader() Driver is thread safe
00000010 readerfactory.c:1012:RFInitializeReader() Attempting startup of Identiv uTRust 4710 F CL + SAM Reader [CLOUD 4710 F SAM Reader] (53241322202448) 01 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so
00000026 readerfactory.c:811:RFLoadReader() Reusing already loaded driver for /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so
00000026 readerfactory.c:897:RFBindFunctions() Loading IFD Handler 3.0
00000033 ifdhandler.c:111:CreateChannelByNameOrChannel() Lun: 10000, device: usb:04e6/5721:libudev:0:/dev/bus/usb/001/005
00000019 ccid_usb.c:302:OpenUSBByName() Using: /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
00001309 ccid_usb.c:320:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau ([email protected])
00000015 ccid_usb.c:321:OpenUSBByName() ifdProductString: Generic CCID driver
00000009 ccid_usb.c:322:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version.
00000354 ccid_usb.c:656:OpenUSBByName() Found Vendor/Product: 04E6/5721 (Identive Identive CLOUD 4510 F Contactless + SAM Reader)
00000012 ccid_usb.c:658:OpenUSBByName() Using USB bus/device: 1/5
00000008 ccid_usb.c:717:OpenUSBByName() bNumDataRatesSupported is 0
07541745 ccid_usb.c:849:WriteUSB() write failed (1/5): -7 LIBUSB_ERROR_TIMEOUT
05000193 ccid_usb.c:849:WriteUSB() write failed (1/5): -7 LIBUSB_ERROR_TIMEOUT
05000182 ccid_usb.c:849:WriteUSB() write failed (1/5): -7 LIBUSB_ERROR_TIMEOUT
00000025 ifdhandler.c:195:CreateChannelByNameOrChannel() failed
00000078 readerfactory.c:1043:RFInitializeReader() Open Port 0x200006 Failed (usb:04e6/5721:libudev:0:/dev/bus/usb/001/005)
00000041 readerfactory.c:335:RFAddReader() Identiv uTRust 4710 F CL + SAM Reader [CLOUD 4710 F SAM Reader] (53241322202448) init failed.
00000019 readerfactory.c:558:RFRemoveReader() UnrefReader() count was: 1
00000014 readerfactory.c:1063:RFUnInitializeReader() Attempting shutdown of Identiv uTRust 4710 F CL + SAM Reader [CLOUD 4710 F SAM Reader] (53241322202448) 01 00.
00000017 hotplug_libudev.c:517:HPAddDevice() Failed adding USB device: Identiv uTRust 4710 F CL + SAM Reader
00000407 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x04E6, PID: 0x5721, path: /dev/bus/usb/001/005
Not sure what is it struggling for
The text was updated successfully, but these errors were encountered: