Page 4 of 4

LIBUSB_TRANSFER_ERROR messages show up after starting GIMX

Posted: Thu Oct 08, 2015 7:21 am
by Matlo
Hi,

I got instructions from a USBDK developer:
  • Uninstall all USBDK versions
  • Install GIMX 5.0 x86_64 (make sure USBDK 1.0.6 is installed)
  • Download this file: link
  • Unzip it to C:\Trace
  • Open a cmd window as administrator (click on the start button, type "cmd" in the search area, right click on "cmd.exe", and click "Run as administrator")
  • In the cmd windows, type "cd C:\Trace", and then "UsbDkTraceToFile.bat"
  • A second cmd window should appear (title: "traceview.exe ..."). You should see "Logger Started...
    Operation Status: 0L The operation completed successfully." at the top.
  • Press enter in this cmd window.
  • Start gimx-launcher, and reproduce the "libusb transfer fails with status LIBUSB_TRANSFER_ERROR" error (it may be related to USB 3.0, so you may have to connect the Dualshock 4 controller to a USB 3.0 port).
  • Stop GIMX
  • Press enter in the remaining cmd window
  • Another cmd window should appear (title: "traceview.exe ..."). You should see "Operation Status: 0L The operation completed successfully." at the top.
  • Press enter in this cmd window. The UsbDkTraceToFile.bat command should complete in the remaining cmd window.
  • A "UsbDkTrace.etl" file should have been generated in the C:\Trace directory. Please zip, upload and share this file!

Re: Using DS4 as a device within gimx config

Posted: Thu Oct 08, 2015 5:47 pm
by onetymeohnly

Re: Using DS4 as a device within gimx config

Posted: Thu Oct 08, 2015 5:50 pm
by Matlo
Thanks a lot!

Re: Using DS4 as a device within gimx config

Posted: Thu Oct 08, 2015 6:36 pm
by Matlo
Could you please confirm that you reproduced the "libusb_transfer failed with status LIBUSB_TRANSFER_ERROR" error while getting the traces?

Re: Using DS4 as a device within gimx config

Posted: Fri Oct 09, 2015 2:21 pm
by onetymeohnly
I did, here is another attempt and I let it run for longer and pressed my binded keys as well if that makes any difference.

http://www.mediafire.com/download/ng1fq ... Trace2.zip

Re: Using DS4 as a device within gimx config

Posted: Fri Oct 30, 2015 8:10 am
by Matlo
Hi,
Good news, the issue should be fixed in USBDK 1.0.7.
Could you please confirm?

Re: Using DS4 as a device within gimx config

Posted: Sat Oct 31, 2015 10:18 am
by des
I am not the original poster but I had the same problem (libusb_transfer failed with status LIBUSB_TRANSFER_ERROR on windows 8.1/10 x64).

After installing the new version I got a exception/error in async.c, however after restarting the application it was finally working on my w10 machine.

Only weird thing is that libusb_transfer failed with status LIBUSB_TRANSFER_ERROR has randomly popped up now a few times when testing my wheel. Haven't been able to determine the cause for that, it just seems so happen (once after a few seconds, the other time after a few minutes testing my wheel). Will try windows 8.1 later on to see how it's behaving there.

My usb adapter works just fine on W7 x86 without any of these issues.

Re: Using DS4 as a device within gimx config

Posted: Sat Oct 31, 2015 10:26 am
by Matlo
Could you please generate a log file (with the LIBUSB_TRANSFER_ERROR error) and post its content?

Re: Using DS4 as a device within gimx config

Posted: Sat Oct 31, 2015 8:52 pm
by onetymeohnly
Matlo wrote:Hi,
Good news, the issue should be fixed in USBDK 1.0.7.
Could you please confirm?
Great news! It works!

Gimx 5.0 x64 + USBDK 1.0.7 x64