2017-02-14 1:53 GMT+01:00 Robin Lambertz <robinlambertz+...@gmail.com>:
> Hello, > Hello, > > I'm trying to get my Yubikey NEO to work with GPG in an archlinux VM on > Qubes OS. Unfortunately, it seems that PCSCD is unable to work with my > yubikey, it doesn't appear when running pcsc_scan. > > I started pcscd with `sudo LIBCCID_ifdLogLevel=0x000F pcscd --foreground > --debug --apdu --color | tee log.txt` to get more info about where the > problem could come from. The full logs are attached, but the interesting > bits are here : > > ``` > 00000206 ccid_usb.c:621:OpenUSBByName() Found Vendor/Product: 1050/0111 > (Yubico Yubikey NEO OTP+CCID) > 00000012 ccid_usb.c:623:OpenUSBByName() Using USB bus/device: 2/4 > 00000010 ccid_usb.c:680:OpenUSBByName() bNumDataRatesSupported is 0 > 00001997 ccid_usb.c:1244:InterruptRead() before (0) > 00103904 ccid_usb.c:1290:InterruptRead() after (0) (2) > 00000072 -> 000000 65 00 00 00 00 00 00 00 00 00 > 00002614 <- 000000 81 00 00 00 00 00 00 00 00 00 > 00000050 -> 000000 65 00 00 00 00 00 01 00 00 00 > 00103063 ccid_usb.c:836:ReadUSB() read failed (2/4): -7 > LIBUSB_ERROR_TIMEOUT > 00000224 -> 000000 65 00 00 00 00 00 02 00 00 00 > 05002241 ccid_usb.c:797:WriteUSB() write failed (2/4): -7 > LIBUSB_ERROR_TIMEOUT > 00000242 ifdhandler.c:188:CreateChannelByNameOrChannel() failed > 00000159 ccid_usb.c:879:CloseUSB() Closing USB device: 2/4 > 00000151 ccid_usb.c:889:CloseUSB() Last slot closed. Release resources > 00000240 ccid_usb.c:189:close_libusb_if_needed() libusb_exit > 00000476 readerfactory.c:1110:RFInitializeReader() Open Port 0x200000 > Failed (usb:1050/0111:libudev:1:/dev/bus/usb/002/004) > 00000161 readerfactory.c:375:RFAddReader() Yubico Yubikey NEO OTP+CCID > init failed. > ``` > > ReadUSB returns immediately with the TIMEOUT error (isn't that weird ?), > while the WriteUSB times out after 5 seconds. I'm not sure what to do to > further debug this. Any hint as to what I could do to figure out where the > issue is coming from ? > The first ReadUSB() works. But then the next two ReadUSB() fails after 103 ms. Your device is not responding. Does the device works fine with a normal computer + OS (not in a virtual machine)? Bye -- Dr. Ludovic Rousseau
_______________________________________________ Pcsclite-muscle mailing list Pcsclite-muscle@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle