Using DS4 as a device within gimx config

Need help? Ask here and someone will help
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

LIBUSB_TRANSFER_ERROR messages show up after starting GIMX

Post 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!
GIMX creator
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Using DS4 as a device within gimx config

Post by Matlo »

Thanks a lot!
GIMX creator
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Using DS4 as a device within gimx config

Post by Matlo »

Could you please confirm that you reproduced the "libusb_transfer failed with status LIBUSB_TRANSFER_ERROR" error while getting the traces?
GIMX creator
onetymeohnly
Posts: 39
Joined: Sun Aug 16, 2015 12:58 am

Re: Using DS4 as a device within gimx config

Post 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
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Using DS4 as a device within gimx config

Post by Matlo »

Hi,
Good news, the issue should be fixed in USBDK 1.0.7.
Could you please confirm?
GIMX creator
des
Posts: 6
Joined: Sat Oct 31, 2015 9:40 am

Re: Using DS4 as a device within gimx config

Post 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.
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Using DS4 as a device within gimx config

Post by Matlo »

Could you please generate a log file (with the LIBUSB_TRANSFER_ERROR error) and post its content?
GIMX creator
onetymeohnly
Posts: 39
Joined: Sun Aug 16, 2015 12:58 am

Re: Using DS4 as a device within gimx config

Post 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
Locked