White testing PasswordSafe's issue 1240 inside VirtualBox 4.3.22 with Ubuntu 14.04 x86_64 guest, I've found that application (and later all VM) hang after attaching Yubikey (fw 2.4.2). Further debugging shows
that lock occurred at libusb_set_configuration call (lock also could be reproduced with 2 or 3 runs of ykinfo -s).
In my case I was able to fix it by checking if current configuration is equal to desired before (re)setting it to 1 (as recommended at http://libusb.sourceforge.net/api-1.0/caveats.html#configsel).
White testing PasswordSafe's issue 1240 inside VirtualBox 4.3.22 with Ubuntu 14.04 x86_64 guest, I've found that application (and later all VM) hang after attaching Yubikey (fw 2.4.2). Further debugging shows that lock occurred at
libusb_set_configuration
call (lock also could be reproduced with 2 or 3 runs ofykinfo -s
). In my case I was able to fix it by checking if current configuration is equal to desired before (re)setting it to 1 (as recommended at http://libusb.sourceforge.net/api-1.0/caveats.html#configsel).