I'm having trouble using any device that works as multiple devices at once, mainly gamepads.
Some examples: MCR-RCW99P-W01, PCH-GLWH-PR01
Those connects thru the USB, then you can set them as XInput, DInput, or android gamepads/switch pro controllers.
When I try to share those thru VirtualHere, they usually just reconnect and don't works, I've tried the custom handler thing with onReset and onConfigurationSet (iirc the names) and it still didn't work, different things may happens, like it simply resets and thats it, or it "boot loops" connecting and disconnecting non-stop, or even just stay flashing the "connecting" lights (which then I have to use USBDeview to uninstall all the connections from beforehand).
I also have tried setting the auto-use for the actual port (so it would automatically grab anything on that given port), but it didn't help at all.
Simple gamepads that just plain connect -> use, seems to work, like the Logitech ChillStream (which is marked as PS3/Corded), but more modern multi-mode gamepads fails consistently.
Thanks in advance for the attention, the software is great.
.
What sort of device are you running VirtualHere server on? An android device, Linux, windows or Mac?
I'm running it both on…
I'm running it both on Windows 11, the server and the client, on 2 computers connected thru ethernet cable on the same LAN, no wireless involved.
PC1 -> Router <-> Switch <- PC2
Only having trouble with this kinda of device, other devices works properly, like mouses/keyboards and gamepads that do not have this multi-mode nature.
.
Right click on the USB Device in the virtualhere client and select Custom Event Handler... and paste in exactly this
onSetConfiguration=then press OK. Unplug and replug the dongle and try via virtualhere.
If that still fails can you post the server log here by clicking Settings->View server log->Copy to clipboard and paste in the relevant parts here.
Ok I have tested with the…
Ok I have tested with the handler you've sent.
When doing it, the controller keeps flashing the lights as if "pairing" nonstop, it never actually finishes.
To make it stop doing that I had to uninstall the controller from USBDeview.
As for the logs, it floods the following only, no other different text:
Incorrect function.
.
Can you post a few of the server log lines. It wont just say incorrect function there will be text and a date/time
Sorry I was using Service…
Sorry I was using Service mode, I've swapped to the normal application mode, now theres more logs, here are the server logs:
2026-09-23 12:20:10 INFO :Windows USB mode2026-09-23 12:20:10 INFO :Listening on all network interfaces at TCP port 7575 (IPv6 dual-stack)2026-09-23 12:20:10 INFO :Found High speed device [214b:7260] "0x214b, USB2.0 HUB" at address 22026-09-23 12:20:10 INFO :Found High speed device [214b:7250] "0x214b, USB2.0 HUB" at address 32026-09-23 12:20:10 INFO :Found High speed device [046d:082d] "0x046d, HD Pro Webcam C920" at address 52026-09-23 12:20:10 INFO :Found High speed device [368b:8d81] "AICSemi, AIC 8800D80" at address 42026-09-23 12:20:10 INFO :Found Full speed device [046d:c099] "Logitech, G502 X" at address 72026-09-23 12:20:10 INFO :Found Full speed device [046d:c33c] "Logitech, G512 RGB MECHANICAL GAMING KEYBOARD" at address 82026-09-23 12:20:10 INFO :Found Full speed device [1235:0003] "MV-SILICON, F998" at address 92026-09-23 12:20:31 INFO :192.168.15.3 connected as connection 1 (Standard TCP)2026-09-23 12:22:09 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:01 INFO :Set custom event "onSetConfiguration="2026-09-23 12:23:10 ERROR :Error -536870351 in line 269, (0xe0000231)2026-09-23 12:23:12 INFO :Device 11 [2145:2104] BOUND to connection 12026-09-23 12:23:12 INFO :Executed empty hook for onReset.2145.21042026-09-23 12:23:12 INFO :Device 11 [2145:2104] SURPRISE UNBOUND from connection 12026-09-23 12:23:12 INFO :Unmanaging device 11 [2145:2104]2026-09-23 12:23:13 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:13 INFO :Unmanaging device 11 [2145:2104]2026-09-23 12:23:14 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:14 INFO :Unmanaging device 11 [2145:2104]2026-09-23 12:23:15 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:15 INFO :Unmanaging device 11 [2145:2104]2026-09-23 12:23:16 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:16 INFO :Unmanaging device 11 [2145:2104]2026-09-23 12:23:17 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:17 INFO :Unmanaging device 11 [2145:2104]2026-09-23 12:23:18 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:18 INFO :Unmanaging device 11 [2145:2104]2026-09-23 12:23:19 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:19 INFO :Unmanaging device 11 [2145:2104]2026-09-23 12:23:20 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:20 INFO :Unmanaging device 11 [2145:2104]2026-09-23 12:23:21 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:21 INFO :Unmanaging device 11 [2145:2104]2026-09-23 12:23:22 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:22 INFO :Unmanaging device 11 [2145:2104]2026-09-23 12:23:23 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:23 INFO :Unmanaging device 11 [2145:2104]2026-09-23 12:23:24 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:24 INFO :Unmanaging device 11 [2145:2104]2026-09-23 12:23:25 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:25 INFO :Unmanaging device 11 [2145:2104]2026-09-23 12:23:25 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:26 INFO :Unmanaging device 11 [2145:2104]2026-09-23 12:23:26 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:27 INFO :Unmanaging device 11 [2145:2104]2026-09-23 12:23:27 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:28 INFO :Unmanaging device 11 [2145:2104]2026-09-23 12:23:28 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:29 INFO :Unmanaging device 11 [2145:2104]2026-09-23 12:23:29 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:30 INFO :Unmanaging device 11 [2145:2104]2026-09-23 12:23:30 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:31 INFO :Unmanaging device 11 [2145:2104]2026-09-23 12:23:31 INFO :Found Full speed device [2145:2104] "2.4G, XBOX 360 For Windows" at address 112026-09-23 12:23:32 INFO :Unmanaging device 11 [2145:2104].
I dont know, seems the controller is continally connecting and disconnecting itself. So i think is some firmware issue in the controller
Normally when I plug the…
Normally when I plug the controller, it flashes the lights for a little bit, then the lights stays on based on what mode the controller is connected (first 3 lights on for xinput mode, which is what im using here), it works perfectly directly plugging the USB, but that happens when trying to use thru virtualhere.
Im also having issues while…
Im also having issues while using a logitech chillstream controller + a simple mouse, the client crashes after sometime randomly, and then i have to open it again, it works for some time and then keeps randomly crashing, the server does not crash, only the client, so i cannot get the client logs as it crashes, but heres the server logs.
Edit: After extensive tests I've noticed that making both, client and server run as service mode and keeping the UI completely closed (not on the tray bar, so only the services are running), makes so it stops crashing.
2026-09-24 15:12:06 INFO :192.168.15.3 connected as connection 3 (Standard TCP)2026-09-24 15:12:08 INFO :Device 26 [275d:0ba6] BOUND to connection 32026-09-24 15:13:17 WARNING :Error 433 from GetOverlappedResult for ep 0x81 on device 26, A device which does not exist was specified. (0x000001b1)2026-09-24 15:13:17 WARNING :Error 433 from GetOverlappedResult for ep 0x81 on device 26, A device which does not exist was specified. (0x000001b1)2026-09-24 15:13:17 WARNING :Error 22 clearing halt on ep 81 for device 26, The device does not recognize the command. (0x00000016)2026-09-24 15:13:17 ERROR :Error 22 submiting ctrl urb, The device does not recognize the command. (0x00000016)2026-09-24 15:13:17 ERROR :Error 22 submiting ctrl urb, The device does not recognize the command. (0x00000016)2026-09-24 15:13:18 INFO :Device 26 [275d:0ba6] SURPRISE UNBOUND from connection 32026-09-24 15:13:18 INFO :Unmanaging device 26 [275d:0ba6]2026-09-24 15:13:26 INFO :Found Low speed device [275d:0ba6] "0x275d, USB OPTICAL MOUSE " at address 262026-09-24 15:13:27 INFO :Device 26 [275d:0ba6] BOUND to connection 32026-09-24 15:13:56 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 26, A device attached to the system is not functioning. (0x0000001f)2026-09-24 15:13:57 ERROR :Error 22 submiting ctrl urb, The device does not recognize the command. (0x00000016)2026-09-24 15:13:58 INFO :Device 26 [275d:0ba6] SURPRISE UNBOUND from connection 32026-09-24 15:13:58 INFO :Unmanaging device 26 [275d:0ba6]2026-09-24 15:14:05 INFO :Found High speed device [1a40:0101] "0x1a40, USB2.0 HUB" at address 322026-09-24 15:14:25 INFO :Unmanaging device 32 [1a40:0101]2026-09-24 15:14:29 INFO :Found High speed device [1a40:0101] "0x1a40, USB2.0 HUB" at address 322026-09-24 15:14:32 INFO :Found Low speed device [275d:0ba6] "0x275d, USB OPTICAL MOUSE " at address 332026-09-24 15:14:35 ERROR :Error binding device 33 [275d:0ba6] to connection 3, BIND_ERROR2026-09-24 15:14:35 INFO :Unmanaging device 33 [275d:0ba6]2026-09-24 15:14:40 INFO :Unmanaging device 32 [1a40:0101]2026-09-24 15:14:48 INFO :Found High speed device [1a40:0101] "0x1a40, USB2.0 HUB" at address 322026-09-24 15:14:53 INFO :Found Low speed device [275d:0ba6] "0x275d, USB OPTICAL MOUSE " at address 332026-09-24 15:14:54 INFO :Device 33 [275d:0ba6] BOUND to connection 32026-09-24 15:14:55 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 33, A device attached to the system is not functioning. (0x0000001f)2026-09-24 15:15:43 INFO :Found Full speed device [046d:cad1] "0x046d, PS3/USB Corded Gamepad" at address 342026-09-24 15:15:51 INFO :Unmanaging device 34 [046d:cad1]2026-09-24 15:15:57 INFO :Found Full speed device [046d:cad1] "0x046d, PS3/USB Corded Gamepad" at address 352026-09-24 15:16:27 ERROR :Error 13 in line 269, The data is invalid. (0x0000000d)2026-09-24 15:16:29 INFO :Device 35 [046d:cad1] BOUND to connection 32026-09-24 15:16:29 INFO :Device 35 [046d:cad1] SURPRISE UNBOUND from connection 32026-09-24 15:16:29 INFO :Unmanaging device 35 [046d:cad1]2026-09-24 15:16:29 WARNING :Loading string descriptor for device on port 3 failed, A device attached to the system is not functioning. (0x0000001f)2026-09-24 15:16:29 INFO :Found Full speed device [046d:cad1] "0x046d, 0xcad1" at address 352026-09-24 15:16:31 INFO :Device 35 [046d:cad1] BOUND to connection 32026-09-24 15:20:57 INFO :Connection 3 remotely disconnected gracefully (rx msg size)2026-09-24 15:21:06 INFO :Device 33 [275d:0ba6] UNBOUND from connection 32026-09-24 15:21:07 INFO :Device 35 [046d:cad1] UNBOUND from connection 32026-09-24 15:21:08 INFO :Connection 3 successfully removed (reason:timeout)2026-09-24 15:21:09 INFO :192.168.15.3 connected as connection 9 (Standard TCP)2026-09-24 15:21:11 INFO :Device 33 [275d:0ba6] BOUND to connection 92026-09-24 15:21:23 ERROR :Error 13 in line 269, The data is invalid. (0x0000000d)2026-09-24 15:21:25 INFO :Device 35 [046d:cad1] BOUND to connection 92026-09-24 15:21:25 INFO :Device 35 [046d:cad1] SURPRISE UNBOUND from connection 92026-09-24 15:21:25 INFO :Unmanaging device 35 [046d:cad1]2026-09-24 15:21:25 WARNING :Loading string descriptor for device on port 3 failed, A device attached to the system is not functioning. (0x0000001f)2026-09-24 15:21:25 INFO :Found Full speed device [046d:cad1] "0x046d, 0xcad1" at address 352026-09-24 15:21:28 INFO :Device 35 [046d:cad1] BOUND to connection 92026-09-24 15:28:01 INFO :Connection 9 remotely disconnected gracefully (rx msg size)2026-09-24 15:28:09 INFO :Device 33 [275d:0ba6] UNBOUND from connection 92026-09-24 15:28:10 INFO :Device 35 [046d:cad1] UNBOUND from connection 92026-09-24 15:28:11 INFO :Connection 9 successfully removed (reason:timeout)2026-09-24 15:43:28 INFO :192.168.15.3 connected as connection 13 (Standard TCP)2026-09-24 15:43:30 INFO :Device 33 [275d:0ba6] BOUND to connection 132026-09-24 15:45:29 ERROR :Error 13 in line 269, The data is invalid. (0x0000000d)2026-09-24 15:45:31 INFO :Device 35 [046d:cad1] BOUND to connection 132026-09-24 15:45:31 INFO :Device 35 [046d:cad1] SURPRISE UNBOUND from connection 132026-09-24 15:45:31 INFO :Unmanaging device 35 [046d:cad1]2026-09-24 15:45:31 WARNING :Loading string descriptor for device on port 3 failed, A device attached to the system is not functioning. (0x0000001f)2026-09-24 15:45:31 INFO :Found Full speed device [046d:cad1] "0x046d, 0xcad1" at address 352026-09-24 15:45:34 INFO :Device 35 [046d:cad1] BOUND to connection 132026-09-24 15:49:56 INFO :Connection 13 remotely disconnected gracefully (rx msg size)2026-09-24 15:50:04 INFO :Device 33 [275d:0ba6] UNBOUND from connection 132026-09-24 15:50:05 INFO :Device 35 [046d:cad1] UNBOUND from connection 132026-09-24 15:50:06 INFO :Connection 13 successfully removed (reason:timeout)2026-09-24 15:50:47 INFO :192.168.15.3 connected as connection 17 (Standard TCP)2026-09-24 15:50:48 INFO :Device 33 [275d:0ba6] BOUND to connection 172026-09-24 15:50:59 ERROR :Error 13 in line 269, The data is invalid. (0x0000000d)2026-09-24 15:51:01 INFO :Device 35 [046d:cad1] BOUND to connection 172026-09-24 15:51:01 INFO :Device 35 [046d:cad1] SURPRISE UNBOUND from connection 172026-09-24 15:51:01 INFO :Unmanaging device 35 [046d:cad1]2026-09-24 15:51:01 WARNING :Loading string descriptor for device on port 3 failed, A device attached to the system is not functioning. (0x0000001f)2026-09-24 15:51:01 INFO :Found Full speed device [046d:cad1] "0x046d, 0xcad1" at address 352026-09-24 15:51:03 INFO :Device 35 [046d:cad1] BOUND to connection 172026-09-24 16:00:11 INFO :Connection 17 remotely disconnected gracefully (rx msg size)2026-09-24 16:00:18 INFO :Device 33 [275d:0ba6] UNBOUND from connection 172026-09-24 16:00:19 INFO :Device 35 [046d:cad1] UNBOUND from connection 172026-09-24 16:00:20 INFO :Connection 17 successfully removed (reason:timeout)2026-09-24 16:00:36 INFO :192.168.15.3 connected as connection 21 (Standard TCP)2026-09-24 16:00:37 INFO :Device 33 [275d:0ba6] BOUND to connection 212026-09-24 16:00:51 ERROR :Error 13 in line 269, The data is invalid. (0x0000000d)2026-09-24 16:00:53 INFO :Device 35 [046d:cad1] BOUND to connection 212026-09-24 16:00:53 INFO :Device 35 [046d:cad1] SURPRISE UNBOUND from connection 212026-09-24 16:00:53 INFO :Unmanaging device 35 [046d:cad1]2026-09-24 16:00:53 WARNING :Loading string descriptor for device on port 3 failed, A device attached to the system is not functioning. (0x0000001f)2026-09-24 16:00:53 INFO :Found Full speed device [046d:cad1] "0x046d, 0xcad1" at address 352026-09-24 16:00:55 INFO :Device 35 [046d:cad1] BOUND to connection 212026-09-24 16:09:33 INFO :Connection 21 remotely disconnected gracefully (rx msg size)2026-09-24 16:09:43 INFO :Device 33 [275d:0ba6] UNBOUND from connection 212026-09-24 16:09:43 INFO :Device 35 [046d:cad1] UNBOUND from connection 212026-09-24 16:09:44 INFO :Connection 21 successfully removed (reason:timeout)2026-09-24 16:09:51 INFO :Unmanaging device 32 [1a40:0101]2026-09-24 16:09:51 INFO :Unmanaging device 33 [275d:0ba6]2026-09-24 16:09:51 INFO :Unmanaging device 35 [046d:cad1]2026-09-24 16:09:58 INFO :Found Low speed device [275d:0ba6] "0x275d, USB OPTICAL MOUSE " at address 262026-09-24 16:10:14 INFO :Unmanaging device 26 [275d:0ba6]2026-09-24 16:10:32 INFO :Found Full speed device [046d:cad1] "0x046d, PS3/USB Corded Gamepad" at address 202026-09-24 16:10:44 INFO :192.168.15.3 connected as connection 25 (Standard TCP)2026-09-24 16:10:59 ERROR :Error 13 in line 269, The data is invalid. (0x0000000d)2026-09-24 16:11:01 INFO :Device 20 [046d:cad1] BOUND to connection 252026-09-24 16:11:01 INFO :Device 20 [046d:cad1] SURPRISE UNBOUND from connection 252026-09-24 16:11:01 INFO :Unmanaging device 20 [046d:cad1]2026-09-24 16:11:01 INFO :Found Full speed device [046d:cad1] "0x046d, PS3/USB Corded Gamepad" at address 202026-09-24 16:11:03 INFO :Device 20 [046d:cad1] BOUND to connection 252026-09-24 16:11:16 INFO :Found Low speed device [275d:0ba6] "0x275d, USB OPTICAL MOUSE " at address 262026-09-24 16:11:18 INFO :Device 26 [275d:0ba6] BOUND to connection 252026-09-24 16:19:59 INFO :Connection 25 remotely disconnected gracefully (rx msg size)2026-09-24 16:20:07 INFO :Device 20 [046d:cad1] UNBOUND from connection 252026-09-24 16:20:08 INFO :Device 26 [275d:0ba6] UNBOUND from connection 252026-09-24 16:20:09 INFO :Connection 25 successfully removed (reason:timeout)2026-09-24 16:20:42 INFO :192.168.15.3 connected as connection 29 (Standard TCP)2026-09-24 16:20:44 INFO :Device 26 [275d:0ba6] BOUND to connection 292026-09-24 16:20:54 INFO :Device 26 [275d:0ba6] UNBOUND from connection 292026-09-24 16:20:58 INFO :Connection 29 remotely disconnected gracefully (rx msg size)2026-09-24 16:21:05 INFO :Connection 29 successfully removed (reason:timeout)2026-09-24 16:21:09 INFO :192.168.15.3 connected as connection 31 (Standard TCP)2026-09-24 16:21:24 ERROR :Error 13 in line 269, The data is invalid. (0x0000000d)2026-09-24 16:21:25 INFO :Device 20 [046d:cad1] BOUND to connection 312026-09-24 16:21:26 INFO :Device 20 [046d:cad1] SURPRISE UNBOUND from connection 312026-09-24 16:21:26 INFO :Unmanaging device 20 [046d:cad1]2026-09-24 16:21:26 INFO :Found Full speed device [046d:cad1] "0x046d, PS3/USB Corded Gamepad" at address 202026-09-24 16:21:27 INFO :Device 26 [275d:0ba6] BOUND to connection 312026-09-24 16:21:28 INFO :Device 20 [046d:cad1] BOUND to connection 312026-09-24 16:26:38 INFO :Connection 31 remotely disconnected gracefully (rx msg size)2026-09-24 16:26:47 INFO :Device 26 [275d:0ba6] UNBOUND from connection 312026-09-24 16:26:48 INFO :Device 20 [046d:cad1] UNBOUND from connection 312026-09-24 16:26:49 INFO :Connection 31 successfully removed (reason:timeout)2026-09-24 16:27:03 INFO :192.168.15.3 connected as connection 35 (Standard TCP).
Whenever you see SURPRISE UNBOUND it means the device has disconnected itself (probably a firmware/watchdog crash reset inside the device)
So it seems your mouse is doing this. What is the latency for your connection. In the virtualhere client, right click USB Servers->About->Statistics. What does that generally show?
.
Also on the server can you turn of USB Powersaving (https://www.google.com.au/search?q=windows+turn+off+usb+power+saving)