Re: Yubikey init failed
Maximilian Stein <[email protected]> Tue, 14 Feb 2017 09:48:15 +0100
| Newsgroups | gmane.comp.lib.muscle |
|---|---|
| Message-ID | <[email protected]> |
On 14.02.2017 01:53, Robin Lambertz wrote: > Hello, Hi > 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 your logs. > 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 [1]. 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, Maximilian Stein [1] https://www.kernel.org/doc/Documentation/usb/usbmon.txt