Page 1 of 2

USB DIY and Xbox One not working

Posted: Fri Jul 17, 2015 7:57 pm
by pawel
Hi,

I'm pulling my hair out and would really appreciate some help.

I have a wired DIY adaptor which was working fine with PS3 sometime ago, now I only reprogrammed it to Xbox One. I'm using a different PC now so I had to install everything from scratch.

I installed:
Gimx 4.3
UsbDk 1.0.4
MS drivers for Xbox One controller

After installation the controller worked fine in joy.cpl, I then used zadig to replace that driver with libusbk and now it is detected as libusbk USB Devices/Controller. Mind you, USB ID I have is 045E:02DD, not 045E:02D1. When I plug it in it vibrates briefly and that's it, no other reaction.
I could quickly created a basic config with directions and X Y buttons

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>

-<root>


-<controller type="XOnePad" dpi="0" id="1">


-<configuration id="1">

<trigger type="" id="" delay="0" switch_back="no" button_id="" name=""/>

<mouse_options_list/>

<intensity_list/>


-<button_map>


-<button id="abs_axis_6" label="">

<device type="keyboard" id="0" name="Standard PS/2 Keyboard"/>

<event type="button" id="a"/>

</button>


-<button id="abs_axis_4" label="">

<device type="keyboard" id="0" name="Standard PS/2 Keyboard"/>

<event type="button" id="d"/>

</button>


-<button id="abs_axis_3" label="">

<device type="keyboard" id="0" name="Standard PS/2 Keyboard"/>

<event type="button" id="w"/>

</button>


-<button id="abs_axis_5" label="">

<device type="keyboard" id="0" name="Standard PS/2 Keyboard"/>

<event type="button" id="s"/>

</button>


-<button id="abs_axis_9" label="">

<device type="keyboard" id="0" name="Standard PS/2 Keyboard"/>

<event type="button" id="SPACE"/>

</button>


-<button id="abs_axis_8" label="">

<device type="keyboard" id="0" name="Standard PS/2 Keyboard"/>

<event type="button" id="LCTRL"/>

</button>

</button_map>

<axis_map/>

</configuration>

</controller>

</root>
Gimx launcher looks like this:
Output: DIY USB
Port: Com7
Input: Physical devies
Output: Gui

Config checks fine and when I hit Start I see:
option -c with value x1.xml
option -p with value COM7
subpos flag is set
force_updates flag is set

that's it. below that cursor flashes and nothing happens. Gui does not come up either.

thanks

Re: USB DIY and Xbox One not working

Posted: Sat Jul 18, 2015 3:19 pm
by pawel
I'll also add this if that's any help:

Code: Select all

c:\Program Files\UsbDk Runtime Library>UsbDkController.exe -n
Enumerate USB devices
Found 8 USB devices:
0. FilterID: 1, Port: 1, ID: 8087:0024, Configs: 1, Speed: 3
        USB\VID_8087&PID_0024 1
Descriptor for configuration #0: size 25
1. FilterID: 2, Port: 1, ID: 8087:0024, Configs: 1, Speed: 3
        USB\VID_8087&PID_0024 1
Descriptor for configuration #0: size 25
2. FilterID: 4, Port: 3, ID: 0bda:0129, Configs: 1, Speed: 3
        USB\VID_0BDA&PID_0129 20100201396000000
Descriptor for configuration #0: size 39
3. FilterID: 4, Port: 4, ID: 0bda:1724, Configs: 1, Speed: 3
        USB\VID_0BDA&PID_1724 00e04c000001
Descriptor for configuration #0: size 222
4. FilterID: 4, Port: 5, ID: 04f3:000a, Configs: 1, Speed: 2
        USB\VID_04F3&PID_000A 5
Descriptor for configuration #0: size 41
5. FilterID: 4, Port: 2, ID: 045e:02dd, Configs: 1, Speed: 2
        USB\VID_045E&PID_02DD 7EED85B17A40
Descriptor for configuration #0: size 96
6. FilterID: 5, Port: 5, ID: 2047:0855, Configs: 1, Speed: 2
        USB\VID_2047&PID_0855 972B746F2D001200
Descriptor for configuration #0: size 41
7. FilterID: 5, Port: 7, ID: 5986:029c, Configs: 1, Speed: 3
        USB\VID_5986&PID_029C MI1320_SOC
Descriptor for configuration #0: size 723

Re: USB DIY and Xbox One not working

Posted: Sat Jul 18, 2015 4:53 pm
by pawel
I decided to reinstall everything and there is some change:

Code: Select all

c:\Program Files\GIMX>gimx --config x1.xml --port COM3
option -c with value `x1.xml'
option -p with value `COM3'
Detected USB adapter: XOnePad.
Reset sent to the adapter.
No controller was found on USB buses.
connector_init failed
I tried replacing the dll as instructed here:
http://gimx.fr/forum/viewtopic.php?p=7084#p7084
but that doesn't change anything, same result.

ALso, when I rollback driver back to Microsoft one the xbox symbon on the controller lights up and the initial vibration is much longer. When I do this and try to run gimx I get the same result but after that the controller has to be resynced with the console if I want to use it again and this does not happen when I resync and use libusbk drivers.

Re: USB DIY and Xbox One not working

Posted: Mon Jul 20, 2015 7:18 am
by Matlo
pawel wrote:USB ID I have is 045E:02DD, not 045E:02D1
GIMX only tries to open controllers with 045E:02D1 as ids.
Is your controller an "Xbox One Special Edition Covert Forces Wireless Controller"?

Sadly the only way to go is to rebuild a new GIMX software.
I opened a new issue: #336.

Re: USB DIY and Xbox One not working

Posted: Mon Jul 20, 2015 9:20 am
by pawel
That's not good news is it... No it's a standard black Xbox One controller, came with 1TB UK version of the console without any bundled games. Is that an easy fix for you or is it likely not happen in near future?

In the battery compartment it says
MODEL 1697 1697-IL
X913424-001

thanks

Re: USB DIY and Xbox One not working

Posted: Mon Jul 20, 2015 9:24 am
by Matlo
I should be able to build a test version this evening.

Re: USB DIY and Xbox One not working

Posted: Mon Jul 20, 2015 9:33 am
by pawel
Thanks for that. I also tried building raspberry pi and running it off it but with the same results, this is likely to be my intended setup once it's patched, much more convenient.

Re: USB DIY and Xbox One not working

Posted: Mon Jul 20, 2015 10:15 pm
by Matlo

Re: USB DIY and Xbox One not working

Posted: Mon Jul 20, 2015 11:43 pm
by pawel
So I uninstalled the previous version of gimx as well as usbdk libraries, installed the one you linked to and initially it would just freeze like before but after replacing libusb-1.0.dll it started working fine. However, it only works for about 10 seconds, after that Xbox One stops responding to input. gimx gui however correctly shows all input. Unplugging/replugging the controller alone and restarting gimx doesn't help, I have to unplug/replug all 3 cables for it to work again. After a few tries it stopped working altogether and at that stage xbox stopped responding even to smartglass app input so I had to use the controller normally to reboot it.

Re: USB DIY and Xbox One not working

Posted: Tue Jul 21, 2015 9:31 pm
by Matlo
I need more information about this controller.
Could you please install usbcap, start a capture, plug the controller, use some buttons/axes, stop and save the capture, and send me the capture file?