Xbox controller support

Hi,

I'm trying to share an Xbox controller using the Windows server (v3.0.2). I've tried an Xbox One controller and an Xbox 360 controller (both wired).

I have these messages in the log:

(Xbox one)
2016-08-21 15:46:30 INFO :Cannot capture device USB\VID_045E&PID_02D1\7EED86EED8EB because it is of class XB1UsbClass

(360)
2016-08-21 15:46:30 INFO :Cannot capture device USB\VID_045E&PID_028E\16CD546 because it is of class XnaComposite

Is there anything I can do to get these working, or would it possible to add support for these devices?

Thanks,
Richard

#3

That would be great if you could.

I'm actually fine with just the Xbox one device if you're busy.

Thanks!
Richard

#4

OK download build 3.0.3 of the windows server and give it a try.

#5

Hi Michael,

I have tried with the new version but unfortunately am getting some errors.

Here are the relevant parts of the server log if this should help:

Try with Xbox One controller:

2016-08-28 22:55:35 INFO :Found Full speed device [045e:02d1] "Microsoft, Controller" at address 5
2016-08-28 22:55:38 INFO :fe80::71c0:107c:1a8d:3970 connected
2016-08-28 22:56:11 ERROR :Reboot required! to finish installing USB\VID_045E&PID_02D1\7EED86EED8EB
2016-08-28 22:56:11 ERROR :Error binding device 5 [045e:02d1] to connection 3, BIND_ERROR

(restarted server here)

2016-08-28 23:05:08 INFO :fe80::71c0:107c:1a8d:3970 connected
2016-08-28 23:05:23 ERROR :Calling CM_Get_DevNode_PropertyW (Address) failed for USB\VID_045E&PID_02D1\7EED86EED8EB, error 37
2016-08-28 23:05:24 INFO :Device 5 [045e:02d1] BOUND to connection 1
2016-08-28 23:05:24 INFO :Device 5 [045e:02d1] SURPRISE UNBOUND from connection 1
2016-08-28 23:05:24 INFO :Unmanaging device 5 [045e:02d1]
2016-08-28 23:05:24 INFO :Found Full speed device [045e:02d1] "Microsoft, Controller" at address 5
2016-08-28 23:05:24 ERROR :Error getting queued completion from port for IUSB3\ROOT_HUB30\4&1B824007&0,USB\VID_045E&PID_02D1\7EED86EED8EB,3, The handle is invalid. (0x00000006)

(retrying at this point seems to give the restart request again)

2016-08-28 23:10:02 ERROR :Reboot required! to finish installing USB\VID_045E&PID_02D1\7EED86EED8EB
2016-08-28 23:10:02 ERROR :Error binding device 5 [045e:02d1] to connection 2, BIND_ERROR

Try with 360 controller:

2016-08-28 23:20:29 INFO :Found Full speed device [045e:028e] "©Microsoft Corporation, Controller" at address 6
2016-08-28 23:20:44 INFO :fe80::71c0:107c:1a8d:3970 connected
2016-08-28 23:20:50 ERROR :Calling CM_Get_DevNode_PropertyW (Address) failed for USB\VID_045E&PID_028E\16CD546, error 37
2016-08-28 23:21:05 ERROR :DiInstallDevice failed, The name is already in use as either a service name or a service display name. (0x00000436)
2016-08-28 23:21:05 ERROR :Error binding device 6 [045e:028e] to connection 4, BIND_ERROR
2016-08-28 23:21:05 INFO :Unmanaging device 6 [045e:028e]
2016-08-28 23:21:05 ERROR :Error The requested resource is in use. (0x000000aa) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 8)

Thanks again for looking in to this.

Regards,
Richard

#6

Hmm ok thats disappointing, i thought that would work. But i think i found the bug but it will take a while to fix so im not sure when it will be ready...

#7

Hi,

Any news on this front by any chance?

I tried with a XBox 360 controller, and I had this log on the server:

2016-12-02 17:51:39 INFO :Found Full speed device [045e:028e] "©Microsoft Corporation, Controller" at address 2
2016-12-02 17:51:47 INFO :Installing driver for class XnaComposite {D61CA365-5AF4-4486-998B-9DB4734C6CA3}
2016-12-02 17:51:47 INFO :Downloading https://www.virtualhere.com/sites/default/files/usbserver/windows/win64…
2016-12-02 17:51:47 ERROR :There was an error downloading, Unsupported protocol (0)
2016-12-02 17:51:47 ERROR :Could not install driver for class XnaComposite
2016-12-02 17:51:47 ERROR :Error binding device 2 [045e:028e] to connection 3, BIND_ERROR

#8

OK , download version 3.1.9 of the server, it should fix this issue