[Pcsclite-muscle] Yubikey init failed
Tue Feb 14 00:48:15 PST 2017
On 14.02.2017 01:53, Robin Lambertz wrote:
> 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.
This is probably a problem with your virtualisation software. I've found
that certain constellations of VirtualBox do not play nicely together
with non-mass-storage USB usage.
> ReadUSB returns immediately with the TIMEOUT error (isn't that weird ?),
Not at all, the first InterruptRead is just to clear the interrupt
endpoint and therefore has a timeout of only 100ms, which expires in
> 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 ?
You could try to use a different virtualisation software or version,
updating guest additions (in case of VirtualBox). You could try a newer
kernel in the VM guest or a newer version of libusbx/libusb-1.0.
To further debug the problem you could monitor the USB traffic inside
the guest and on the host via usbmon . Most probably you will see USB
traffic coming back from the device on the host, but not inside the guest.
Best regards and good luck,
More information about the pcsclite-muscle