Midi Adapter Does Not Connect Properly

I have a PlayStation 3 Rock Band 3 MIDI PRO - Adapter that I am trying to connect from either an Pixel 9 running Android 15 (Android USB Server) or a Windows 10 Surface Pro (Windows USB Server) to a Windows 10 desktop (Windows USB client). Connecting my guitar controllers with VirtualHere works as intended, but I cannot get the adapter to work.

When using the Android 15 USB server, connecting the adapter to the server prompts for permissions as expected. Once accepted, the device shows up correctly on the Windows client. However, any input from the adapter is not passed to the Windows client. I tested this with the Windows Game Controllers testing area. More details from this can be found in the first image in the Imgur album below. I made sure the application has all permissions in Android settings.

When using the Windows 10 USB server, connecting the adapter successfully installs the device in Device Manager on the server machine. Testing the controller on the server machine is also successful. Checking the Windows client, the device shows as empty string (indicated by the 3rd image in Imgur album). Additionally, the device manager on the Windows client is unable to install the device as indicated by the 2nd image in the Imgur album). No game controllers are listed on the Windows 10 image.

Please tell me if there is anything I'm missing or can provide any additional information. If I can get this working, I'd love to buy a license.

Imgur album


Windows 10 USB Server logs:
 

2024-12-28 22:11:13 INFO :>>> Starting VirtualHere USB Server v4.7.2 (Built: Nov 27 2024, 08:21:07)<<<
2024-12-28 22:11:13 INFO :Using configuration C:\Users\USERNAME\Downloads\config.ini
2024-12-28 22:11:13 INFO :Server licensed to=unlicensed max_devices=1
2024-12-28 22:11:13 INFO :Error 10048 binding socket, 
2024-12-28 22:11:13 INFO :Error 10013 binding socket, 
2024-12-28 22:11:13 ERROR :Error starting server
2024-12-28 22:11:13 INFO :>>> Shutdown <<<
2024-12-28 22:11:25 INFO :Unmanaging device 8 [0f30:001c]
2024-12-28 22:11:25 INFO :Unmanaging device 9 [12ba:0200]
2024-12-28 22:11:42 INFO :Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation®3" at address 10
2024-12-28 22:12:33 INFO :Connection 1 successfully removed (reason:timeout)
2024-12-28 22:12:48 INFO :192.168.1.224 connected as connection 3 (Standard TCP)
2024-12-28 22:14:07 ERROR :Error 13 in line 165, The data is invalid. (0x0000000d)
2024-12-28 22:14:09 INFO :Installing server driver...
2024-12-28 22:14:10 INFO :OK driver installed try again...
2024-12-28 22:14:28 INFO :Device 10 [12ba:0218] BOUND to connection 2
2024-12-28 22:15:16 INFO :Device 10 [12ba:0218] SURPRISE UNBOUND from connection 2
2024-12-28 22:15:16 INFO :Unmanaging device 10 [12ba:0218]
2024-12-28 22:15:16 INFO :Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation®3" at address 10
2024-12-28 22:15:55 INFO :Unmanaging device 10 [12ba:0218]
2024-12-28 22:15:59 INFO :Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation®3" at address 11
2024-12-28 22:16:48 INFO :Connection 3 remotely disconnected gracefully (rx msg size)
2024-12-28 22:16:54 INFO :Connection 2 successfully removed (reason:server shutdown)
2024-12-28 22:16:54 INFO :Connection 3 successfully removed (reason:server shutdown)
2024-12-28 22:16:56 INFO :Unmanaging device 2 [045e:0306]
2024-12-28 22:16:56 INFO :Unmanaging device 3 [045e:09c0]
2024-12-28 22:16:56 INFO :Unmanaging device 4 [1286:204c]
2024-12-28 22:16:56 INFO :Unmanaging device 5 [0bda:0411]
2024-12-28 22:16:56 INFO :Unmanaging device 6 [0bda:5411]
2024-12-28 22:16:56 INFO :Unmanaging device 7 [0bda:8153]
2024-12-28 22:16:56 INFO :Unmanaging device 11 [12ba:0218]
2024-12-28 22:17:01 INFO :Listening on all network interfaces at TCP port 7575 (IPv6 dual-stack)
2024-12-28 22:17:05 INFO :Found Super speed device [045e:0306] "Realtek, USB3.0 Card Reader" at address 2
2024-12-28 22:17:05 INFO :Found Full speed device [045e:09c0] "Microsoft, Surface Type Cover" at address 3
2024-12-28 22:17:05 INFO :Found High speed device [1286:204c] "Marvell, Bluetooth and Wireless LAN Composite Device" at address 4
2024-12-28 22:17:05 INFO :Found Super speed device [0bda:0411] "Generic, USB3.2 Hub" at address 5
2024-12-28 22:17:05 INFO :Found High speed device [0bda:5411] "Generic, USB2.1 Hub" at address 6
2024-12-28 22:17:05 INFO :Found Super speed device [0bda:8153] "Realtek, USB 10/100/1000 LAN" at address 7
2024-12-28 22:17:05 INFO :Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation®3" at address 11
2024-12-28 22:17:14 INFO :192.168.1.4 connected as connection 5 (Standard TCP)
2024-12-28 22:17:34 ERROR :Error 13 in line 165, The data is invalid. (0x0000000d)
2024-12-28 22:17:51 INFO :Device 11 [12ba:0218] BOUND to connection 5
2024-12-28 22:18:47 INFO :Device 11 [12ba:0218] SURPRISE UNBOUND from connection 5
2024-12-28 22:18:47 INFO :Unmanaging device 11 [12ba:0218]
2024-12-28 22:18:47 INFO :Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation®3" at address 11
2024-12-28 22:19:05 INFO :Unmanaging device 11 [12ba:0218]
2024-12-28 22:19:12 INFO :Unmanaging device 5 [0bda:0411]
2024-12-28 22:19:12 INFO :Unmanaging device 7 [0bda:8153]
2024-12-28 22:19:13 INFO :Unmanaging device 6 [0bda:5411]
2024-12-28 22:19:17 INFO :Connection 5 successfully removed (reason:timeout)
2024-12-28 22:19:18 INFO :Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation®3" at address 12
2024-12-28 22:19:48 INFO :192.168.1.4 connected as connection 7 (Standard TCP)
2024-12-28 22:20:34 ERROR :Error 13 in line 165, The data is invalid. (0x0000000d)
2024-12-28 22:20:59 INFO :Device 12 [12ba:0218] BOUND to connection 7
2024-12-28 22:22:11 INFO :Device 12 [12ba:0218] SURPRISE UNBOUND from connection 7
2024-12-28 22:22:11 INFO :Unmanaging device 12 [12ba:0218]
2024-12-28 22:28:03 INFO :>>> Starting VirtualHere USB Server v4.7.2 (Built: Nov 27 2024, 08:21:07)<<<
2024-12-28 22:28:03 INFO :Using configuration C:\Users\USERNAME\Downloads\config.ini
2024-12-28 22:28:03 INFO :Server licensed to=unlicensed max_devices=1
2024-12-28 22:28:03 INFO :Listening on all network interfaces at TCP port 7575 (IPv6 dual-stack)
2024-12-28 22:28:06 INFO :Found Super speed device [045e:0306] "Realtek, USB3.0 Card Reader" at address 2
2024-12-28 22:28:06 INFO :Found High speed device [1286:204c] "Marvell, Bluetooth and Wireless LAN Composite Device" at address 4
2024-12-28 22:28:06 INFO :Found Full speed device [045e:09c0] "Microsoft, Surface Type Cover" at address 3
2024-12-28 22:28:39 INFO :192.168.1.4 connected as connection 1 (Standard TCP)
2024-12-28 22:29:01 INFO :Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation®3" at address 12
2024-12-28 22:29:54 ERROR :Error 13 in line 165, The data is invalid. (0x0000000d)
2024-12-28 22:30:14 INFO :Device 12 [12ba:0218] BOUND to connection 1

Android USB Server logs

--------- beginning of main
12-28 22:37:31.449 20030 20030 I e.androidserver: Using CollectorTypeCMC GC.
12-28 22:37:31.453 20030 20030 E e.androidserver: Not starting debugger since process cannot load the jdwp agent.
12-28 22:37:31.456 20030 20030 D nativeloader: Load libframework-connectivity-tiramisu-jni.so using APEX ns com_android_tethering for caller /apex/com.android.tethering/javalib/framework-connectivity-t.jar: ok
12-28 22:37:31.471 20030 20030 D CompatChangeReporter: Compat change id reported: 242716250; UID 10056; state: ENABLED
12-28 22:37:31.479 20030 20030 W ziparchive: Unable to open '/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/split_config.arm64_v8a.dm': No such file or directory
12-28 22:37:31.479 20030 20030 W ziparchive: Unable to open '/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/split_config.arm64_v8a.dm': No such file or directory
12-28 22:37:31.479 20030 20030 W e.androidserver: Entry not found
12-28 22:37:31.479 20030 20030 W ziparchive: Unable to open '/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/split_config.en.dm': No such file or directory
12-28 22:37:31.479 20030 20030 W ziparchive: Unable to open '/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/split_config.en.dm': No such file or directory
12-28 22:37:31.480 20030 20030 W e.androidserver: Entry not found
12-28 22:37:31.480 20030 20030 W ziparchive: Unable to open '/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/split_config.es.dm': No such file or directory
12-28 22:37:31.480 20030 20030 W ziparchive: Unable to open '/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/split_config.es.dm': No such file or directory
12-28 22:37:31.480 20030 20030 W e.androidserver: Entry not found
12-28 22:37:31.480 20030 20030 W ziparchive: Unable to open '/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/split_config.xxhdpi.dm': No such file or directory
12-28 22:37:31.480 20030 20030 W ziparchive: Unable to open '/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/split_config.xxhdpi.dm': No such file or directory
12-28 22:37:31.480 20030 20030 W e.androidserver: Entry not found
12-28 22:37:31.481 20030 20030 D nativeloader: Configuring clns-7 for other apk /data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/base.apk:/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/split_config.arm64_v8a.apk:/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/split_config.en.apk:/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/split_config.es.apk:/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/split_config.xxhdpi.apk. target_sdk_version=34, uses_libraries=, library_path=/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/lib/arm64:/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/base.apk!/lib/arm64-v8a:/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/split_config.arm64_v8a.apk!/lib/arm64-v8a:/data/app/~~DGd0ISebMPVL
12-28 22:37:31.485 20030 20030 V GraphicsEnvironment: Currently set values for:
12-28 22:37:31.485 20030 20030 V GraphicsEnvironment:   angle_gl_driver_selection_pkgs=[com.android.angle, com.linecorp.b612.android, com.campmobile.snow, com.google.android.apps.tachyon]
12-28 22:37:31.485 20030 20030 V GraphicsEnvironment:   angle_gl_driver_selection_values=[angle, native, native, native]
12-28 22:37:31.485 20030 20030 V GraphicsEnvironment: com.virtualhere.androidserver is not listed in per-application setting
12-28 22:37:31.485 20030 20030 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
12-28 22:37:31.498 20030 20046 D vulkan  : searching for layers in '/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/lib/arm64'
12-28 22:37:31.499 20030 20046 D vulkan  : searching for layers in '/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/base.apk!/lib/arm64-v8a'
12-28 22:37:31.501 20030 20046 D vulkan  : searching for layers in '/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/split_config.arm64_v8a.apk!/lib/arm64-v8a'
12-28 22:37:31.501 20030 20046 D vulkan  : searching for layers in '/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/split_config.en.apk!/lib/arm64-v8a'
12-28 22:37:31.501 20030 20046 D vulkan  : searching for layers in '/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/split_config.es.apk!/lib/arm64-v8a'
12-28 22:37:31.501 20030 20046 D vulkan  : searching for layers in '/data/app/~~DGd0ISebMPVLaOGwRS-o-g==/com.virtualhere.androidserver-5fOmL_AtXmn3X1pk9Dp4ww==/split_config.xxhdpi.apk!/lib/arm64-v8a'
12-28 22:37:31.502 20030 20030 D AppCompatDelegate: Checking for metadata for AppLocalesMetadataHolderService : Service not found
12-28 22:37:31.520 20030 20030 D DesktopModeFlagsUtil: Toggle override initialized to: OVERRIDE_UNSET
12-28 22:37:31.537 20030 20030 I ContentCaptureHelper: Setting logging level to OFF
12-28 22:37:33.569 20030 20074 D TrafficStats: tagSocket(124) with statsTag=0xffffffff, statsUid=-1
12-28 22:37:33.576 20030 20030 E virtualhere-daemon: Opening local exception: Connection refused
12-28 22:37:33.586 20030 20030 E virtualhere-daemon: Opening local exception: Connection refused
12-28 22:37:33.594 20081 20081 W libvhusbdan.so: type=1400 audit(0.0:45145): avc:  denied  { search } for  name="tests" dev="dm-73" ino=110 scontext=u:r:untrusted_app:s0:c56,c256,c512,c768 tcontext=u:object_r:shell_test_data_file:s0 tclass=dir permissive=0 app=com.virtualhere.androidserver
12-28 22:37:33.594 20081 20081 W libvhusbdan.so: type=1400 audit(0.0:45146): avc:  denied  { search } for  name="tests" dev="dm-73" ino=110 scontext=u:r:untrusted_app:s0:c56,c256,c512,c768 tcontext=u:object_r:shell_test_data_file:s0 tclass=dir permissive=0 app=com.virtualhere.androidserver
12-28 22:37:33.594 20081 20081 W libvhusbdan.so: type=1400 audit(0.0:45147): avc:  denied  { search } for  name="tests" dev="dm-73" ino=110 scontext=u:r:untrusted_app:s0:c56,c256,c512,c768 tcontext=u:object_r:shell_test_data_file:s0 tclass=dir permissive=0 app=com.virtualhere.androidserver
12-28 22:37:33.594 20081 20081 W libvhusbdan.so: type=1400 audit(0.0:45148): avc:  denied  { search } for  name="tests" dev="dm-73" ino=110 scontext=u:r:untrusted_app:s0:c56,c256,c512,c768 tcontext=u:object_r:shell_test_data_file:s0 tclass=dir permissive=0 app=com.virtualhere.androidserver
12-28 22:37:33.608 20030 20083 I vhusbd  : Sat Dec 28 22:37:33 2024 LOG_INFO    >>> Starting VirtualHere USB Server v4.7.0 (Built: Oct 15 2024, 15:39:22)<<<
12-28 22:37:33.608 20030 20083 I vhusbd  : Sat Dec 28 22:37:33 2024 LOG_INFO    Using configuration /data/user/0/com.virtualhere.androidserver/files/config.ini
12-28 22:37:33.625 20030 20083 I vhusbd  : Sat Dec 28 22:37:33 2024 LOG_INFO    Server licensed to=unlicensed max_devices=1
12-28 22:37:33.626 20030 20083 I vhusbd  : Sat Dec 28 22:37:33 2024 LOG_INFO    Using large URB's
12-28 22:37:33.626 20030 20083 I vhusbd  : Sat Dec 28 22:37:33 2024 LOG_ERR     Error 13 opening /sys/module/usbcore/parameters/usbfs_memory_mb for read, Permission denied
12-28 22:37:33.627 20030 20083 I vhusbd  : Sat Dec 28 22:37:33 2024 LOG_INFO    Listening on all network interfaces at TCP port 7575 (IPv6 dual-stack)
12-28 22:37:33.622 20081 20081 W libvhusbdan.so: type=1400 audit(0.0:45149): avc:  denied  { read } for  name="usbfs_memory_mb" dev="sysfs" ino=31732 scontext=u:r:untrusted_app:s0:c56,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 app=com.virtualhere.androidserver
12-28 22:37:33.627 20030 20083 I vhusbd  : VirtualHere USB Server is running...press CTRL-C to stop
12-28 22:37:34.604 20030 20098 D TrafficStats: tagSocket(126) with statsTag=0xc6d84437, statsUid=-1
12-28 22:37:34.613 20030 20074 W NsdServiceInfo: Key lengths > 9 are discouraged: ancc73cee86c0f6bf3
12-28 22:37:34.616 20030 20074 D CompatChangeReporter: Compat change id reported: 270306772; UID 10056; state: ENABLED
12-28 22:37:35.068 20030 20108 D virtualhere-daemon: Querying purchases async
12-28 22:37:35.074 20030 20107 D CompatChangeReporter: Compat change id reported: 253665015; UID 10056; state: ENABLED
12-28 22:37:36.639 20030 20110 D ProfileInstaller: Installing profile for com.virtualhere.androidserver
12-28 22:37:36.824 20030 20083 I vhusbd  : Sat Dec 28 22:37:36 2024 LOG_INFO    Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation?3" at address 1003
12-28 22:37:40.508 20030 20103 D virtualhere-daemon: mdns service sucessfully registered
12-28 22:37:54.904 20030 20083 I vhusbd  : Sat Dec 28 22:37:54 2024 LOG_INFO    192.168.1.4 connected as connection 1 (Standard TCP)
12-28 22:37:58.420 20030 20083 I vhusbd  : Sat Dec 28 22:37:58 2024 LOG_INFO    Device 1003 [12ba:0218] BOUND to connection 1
12-28 22:37:59.990 20030 20037 W System  : A resource failed to call close. 
12-28 22:38:27.621 20030 20107 I TRuntime.CctTransportBackend: Making request to: https://firebaselogging.googleapis.com/v0cc/log/batch?format=json_proto3
12-28 22:38:27.639 20030 20107 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1
12-28 22:38:27.706 20030 20107 I TRuntime.CctTransportBackend: Status Code: 200
12-28 22:39:09.363 20030 20030 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()
12-28 22:39:09.363 20030 20030 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()
12-28 22:39:09.363 20030 20030 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()
12-28 22:39:09.363 20030 20030 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()
12-28 22:39:09.364 20030 20030 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()
12-28 22:39:09.364 20030 20030 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()
12-28 22:39:09.364 20030 20030 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()
12-28 22:39:09.364 20030 20030 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()
12-28 22:39:09.364 20030 20030 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()
12-28 22:39:09.364 20030 20030 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()
12-28 22:39:09.364 20030 20030 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()
12-28 22:39:09.364 20030 20030 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()

 

#2

Try these two things, if they dont work the it wont be compatible with virtualhere

  1. Right click on the "Harmonix Drum kit for PlayStation®3" in the virtualhere client and select Custom Event handler and paste in this

    onReset.$VENDOR_ID$.$PRODUCT_ID$=


    Unplug and replug then Try to use the drum kit now.

    2. If its still not working try this, right click on the "Harmonix Drum kit for PlayStation®3" in the client again and paste this in:

    onSetConfiguration.$VENDOR_ID$.$PRODUCT_ID$=

    then press ok, unplug and replug then try it via virtualhere.

    Hopefully one or both of those work.

     

#3

Hi Michael,

sorry to chime in, I'd just like to ask what is the difference between onReset and onSetConfiguration in terms of practical use? We're using onReset on some USB-to-serial devices (they've had surprise unbind before we've used powered USB hubs) so I'm curious if there's a new event available in this regard?

I don't see onSetConfiguration in the event system section (https://www.virtualhere.com/quirks), could you please add it?

#4

I was able to get the adapter for the drum kit to work with the Android USB server. I believe my e-kit module fell asleep while I was testing and I never noticed.

I was not able to get the adapter for the drum kit to work with the Windows USB server. I tested both suggestions given and noticed no behavior different. I applied custom event handlers, unplugged and plugged in the adapter, and tried to use the device on the client. Do you think the change mentioned in this support request might have fixed it for the Android USB server, but not the Windows USB server?

Imgur context album

New logs for Windows USB Server:
 

2024-12-28 22:08:51 INFO :>>> Starting VirtualHere USB Server v4.7.2 (Built: Nov 27 2024, 08:21:07)<<<
2024-12-28 22:08:51 INFO :Using configuration C:\Users\USERNAME\Downloads\config.ini
2024-12-28 22:08:51 INFO :Server licensed to=unlicensed max_devices=1
2024-12-28 22:08:55 INFO :Listening on all network interfaces at TCP port 7575 (IPv6 dual-stack)
2024-12-28 22:08:57 ERROR :Error 13 in line 372, The data is invalid. (0x0000000d)
2024-12-28 22:08:57 INFO :Found Super speed device [045e:0306] "Realtek, USB3.0 Card Reader" at address 2
2024-12-28 22:08:57 INFO :Found Full speed device [045e:09c0] "Microsoft, Surface Type Cover" at address 3
2024-12-28 22:08:57 INFO :Found High speed device [1286:204c] "Marvell, Bluetooth and Wireless LAN Composite Device" at address 4
2024-12-28 22:09:14 INFO :100.80.137.61 connected as connection 1 (Standard TCP)
2024-12-28 22:10:08 INFO :Found Super speed device [0bda:0411] "Generic, USB3.2 Hub" at address 5
2024-12-28 22:10:08 INFO :Found High speed device [0bda:5411] "Generic, USB2.1 Hub" at address 6
2024-12-28 22:10:09 INFO :Found Super speed device [0bda:8153] "Realtek, USB 10/100/1000 LAN" at address 7
2024-12-28 22:10:09 INFO :Found Full speed device [0f30:001c] ", " at address 8
2024-12-28 22:10:09 INFO :Found Full speed device [12ba:0200] "Licensed by Sony Computer Entertainment America, Harmonix Guitar for PlayStation®3" at address 9
2024-12-28 22:10:35 INFO :192.168.1.4 connected as connection 2 (Standard TCP)
2024-12-28 22:11:13 INFO :>>> Starting VirtualHere USB Server v4.7.2 (Built: Nov 27 2024, 08:21:07)<<<
2024-12-28 22:11:13 INFO :Using configuration C:\Users\USERNAME\Downloads\config.ini
2024-12-28 22:11:13 INFO :Server licensed to=unlicensed max_devices=1
2024-12-28 22:11:13 INFO :Error 10048 binding socket, 
2024-12-28 22:11:13 INFO :Error 10013 binding socket, 
2024-12-28 22:11:13 ERROR :Error starting server
2024-12-28 22:11:13 INFO :>>> Shutdown <<<
2024-12-28 22:11:25 INFO :Unmanaging device 8 [0f30:001c]
2024-12-28 22:11:25 INFO :Unmanaging device 9 [12ba:0200]
2024-12-28 22:11:42 INFO :Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation®3" at address 10
2024-12-28 22:12:33 INFO :Connection 1 successfully removed (reason:timeout)
2024-12-28 22:12:48 INFO :192.168.1.224 connected as connection 3 (Standard TCP)
2024-12-28 22:14:07 ERROR :Error 13 in line 165, The data is invalid. (0x0000000d)
2024-12-28 22:14:09 INFO :Installing server driver...
2024-12-28 22:14:10 INFO :OK driver installed try again...
2024-12-28 22:14:28 INFO :Device 10 [12ba:0218] BOUND to connection 2
2024-12-28 22:15:16 INFO :Device 10 [12ba:0218] SURPRISE UNBOUND from connection 2
2024-12-28 22:15:16 INFO :Unmanaging device 10 [12ba:0218]
2024-12-28 22:15:16 INFO :Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation®3" at address 10
2024-12-28 22:15:55 INFO :Unmanaging device 10 [12ba:0218]
2024-12-28 22:15:59 INFO :Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation®3" at address 11
2024-12-28 22:16:48 INFO :Connection 3 remotely disconnected gracefully (rx msg size)
2024-12-28 22:16:54 INFO :Connection 2 successfully removed (reason:server shutdown)
2024-12-28 22:16:54 INFO :Connection 3 successfully removed (reason:server shutdown)
2024-12-28 22:16:56 INFO :Unmanaging device 2 [045e:0306]
2024-12-28 22:16:56 INFO :Unmanaging device 3 [045e:09c0]
2024-12-28 22:16:56 INFO :Unmanaging device 4 [1286:204c]
2024-12-28 22:16:56 INFO :Unmanaging device 5 [0bda:0411]
2024-12-28 22:16:56 INFO :Unmanaging device 6 [0bda:5411]
2024-12-28 22:16:56 INFO :Unmanaging device 7 [0bda:8153]
2024-12-28 22:16:56 INFO :Unmanaging device 11 [12ba:0218]
2024-12-28 22:17:01 INFO :Listening on all network interfaces at TCP port 7575 (IPv6 dual-stack)
2024-12-28 22:17:05 INFO :Found Super speed device [045e:0306] "Realtek, USB3.0 Card Reader" at address 2
2024-12-28 22:17:05 INFO :Found Full speed device [045e:09c0] "Microsoft, Surface Type Cover" at address 3
2024-12-28 22:17:05 INFO :Found High speed device [1286:204c] "Marvell, Bluetooth and Wireless LAN Composite Device" at address 4
2024-12-28 22:17:05 INFO :Found Super speed device [0bda:0411] "Generic, USB3.2 Hub" at address 5
2024-12-28 22:17:05 INFO :Found High speed device [0bda:5411] "Generic, USB2.1 Hub" at address 6
2024-12-28 22:17:05 INFO :Found Super speed device [0bda:8153] "Realtek, USB 10/100/1000 LAN" at address 7
2024-12-28 22:17:05 INFO :Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation®3" at address 11
2024-12-28 22:17:14 INFO :192.168.1.4 connected as connection 5 (Standard TCP)
2024-12-28 22:17:34 ERROR :Error 13 in line 165, The data is invalid. (0x0000000d)
2024-12-28 22:17:51 INFO :Device 11 [12ba:0218] BOUND to connection 5
2024-12-28 22:18:47 INFO :Device 11 [12ba:0218] SURPRISE UNBOUND from connection 5
2024-12-28 22:18:47 INFO :Unmanaging device 11 [12ba:0218]
2024-12-28 22:18:47 INFO :Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation®3" at address 11
2024-12-28 22:19:05 INFO :Unmanaging device 11 [12ba:0218]
2024-12-28 22:19:12 INFO :Unmanaging device 5 [0bda:0411]
2024-12-28 22:19:12 INFO :Unmanaging device 7 [0bda:8153]
2024-12-28 22:19:13 INFO :Unmanaging device 6 [0bda:5411]
2024-12-28 22:19:17 INFO :Connection 5 successfully removed (reason:timeout)
2024-12-28 22:19:18 INFO :Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation®3" at address 12
2024-12-28 22:19:48 INFO :192.168.1.4 connected as connection 7 (Standard TCP)
2024-12-28 22:20:34 ERROR :Error 13 in line 165, The data is invalid. (0x0000000d)
2024-12-28 22:20:59 INFO :Device 12 [12ba:0218] BOUND to connection 7
2024-12-28 22:22:11 INFO :Device 12 [12ba:0218] SURPRISE UNBOUND from connection 7
2024-12-28 22:22:11 INFO :Unmanaging device 12 [12ba:0218]
2024-12-28 22:28:03 INFO :>>> Starting VirtualHere USB Server v4.7.2 (Built: Nov 27 2024, 08:21:07)<<<
2024-12-28 22:28:03 INFO :Using configuration C:\Users\USERNAME\Downloads\config.ini
2024-12-28 22:28:03 INFO :Server licensed to=unlicensed max_devices=1
2024-12-28 22:28:03 INFO :Listening on all network interfaces at TCP port 7575 (IPv6 dual-stack)
2024-12-28 22:28:06 INFO :Found Super speed device [045e:0306] "Realtek, USB3.0 Card Reader" at address 2
2024-12-28 22:28:06 INFO :Found High speed device [1286:204c] "Marvell, Bluetooth and Wireless LAN Composite Device" at address 4
2024-12-28 22:28:06 INFO :Found Full speed device [045e:09c0] "Microsoft, Surface Type Cover" at address 3
2024-12-28 22:28:39 INFO :192.168.1.4 connected as connection 1 (Standard TCP)
2024-12-28 22:29:01 INFO :Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation®3" at address 12
2024-12-28 22:29:54 ERROR :Error 13 in line 165, The data is invalid. (0x0000000d)
2024-12-28 22:30:14 INFO :Device 12 [12ba:0218] BOUND to connection 1
2024-12-28 22:31:26 INFO :Device 12 [12ba:0218] SURPRISE UNBOUND from connection 1
2024-12-28 22:31:26 INFO :Unmanaging device 12 [12ba:0218]
2024-12-28 22:31:26 INFO :Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation®3" at address 12
2024-12-28 22:32:54 INFO :Unmanaging device 12 [12ba:0218]
2024-12-28 22:33:03 INFO :Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation®3" at address 12
2024-12-28 22:33:21 ERROR :Error 13 in line 165, The data is invalid. (0x0000000d)
2024-12-28 22:33:47 INFO :Device 12 [12ba:0218] BOUND to connection 1
2024-12-28 22:35:13 INFO :Device 12 [12ba:0218] SURPRISE UNBOUND from connection 1
2024-12-28 22:35:13 INFO :Unmanaging device 12 [12ba:0218]
2024-12-29 04:41:13 INFO :Connection 1 successfully removed (reason:timeout)
2024-12-29 14:26:47 INFO :192.168.1.4 connected as connection 4 (Standard TCP)
2024-12-29 14:29:22 INFO :Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation®3" at address 12
2024-12-29 14:30:14 INFO :Set custom event "onReset.12ba.0218="
2024-12-29 14:30:19 INFO :Unmanaging device 12 [12ba:0218]
2024-12-29 14:30:23 INFO :Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation®3" at address 12
2024-12-29 14:30:52 ERROR :Error 13 in line 165, The data is invalid. (0x0000000d)
2024-12-29 14:31:17 INFO :Device 12 [12ba:0218] BOUND to connection 4
2024-12-29 14:31:17 INFO :Executed empty hook for onReset.12ba.0218
2024-12-29 14:32:37 INFO :Device 12 [12ba:0218] SURPRISE UNBOUND from connection 4
2024-12-29 14:32:37 INFO :Unmanaging device 12 [12ba:0218]
2024-12-29 14:32:41 INFO :Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation®3" at address 12
2024-12-29 14:32:51 INFO :Set custom event "onSetConfiguration.12ba.0218="
2024-12-29 14:32:55 INFO :Unmanaging device 12 [12ba:0218]
2024-12-29 14:33:04 INFO :Found Full speed device [12ba:0218] "Licensed by Sony Computer Entertainment America, Harmonix Drum kit for PlayStation®3" at address 12
2024-12-29 14:33:29 ERROR :Error 13 in line 165, The data is invalid. (0x0000000d)
2024-12-29 14:33:51 INFO :Device 12 [12ba:0218] BOUND to connection 4
2024-12-29 14:33:51 INFO :Executed empty hook for onReset.12ba.0218
2024-12-29 14:35:09 INFO :Device 12 [12ba:0218] SURPRISE UNBOUND from connection 4
2024-12-29 14:35:09 INFO :Unmanaging device 12 [12ba:0218]
 

#5

@MarkoD

HI Marko, when virtualhere captures and redirects a USB device it will issue an initial USB RESET command. Some devices load firmware and don't like a reset command sent to them afterwards (before they are actually used), so you can skip the virtualhere initiated reset command to help with this problem.

There is another USB command called SET CONFIGURATION.  (onSetConfiguration has always been in virtualhere) This is also sent to the device after it is redirected. Some devices e.g phones don't like a SET CONFIGURATION to be received after it has switched to debugging mode. Some game adapters also do this. They switch to a different configuration and don't like it when a set configuration 1 is sent afterwards. This command generally shouldn't be used so its not in the quirks. If it needs to be there (found by trial and error, i can update the virtualhere server to automatically skip the configuration)

It gets more complicated because the Operating system itself sends reset and set configuration before the device gets to virtualhere to be redirected, but these can usually be intercepted with operating system settings (particularly Linux) and so is not usually a problem. E.g When you use ClaimPorts=1 in the config.ini of the Linux server it will skip all reset and set configuration commands by the operating system. When you use the Microsoft Store version of the virtualhere server it will skip the USB reset command

#6

It might be going to sleep when its connected to windows before it is redirected.


Plug it into the windows server then open Windows Device Manager and find it in there. Then right click on it and select Properties and see if it has a Power Events tab. And if so, uncheck "Allow Windows to turn off to save power"

 

#7

Hi Michael,

Thanks for clarifying what onReset and setConfiguration are used for and when. If I connect from a Windows client to a CloudHub device, does the CloudHub OS send these commands, since it basically is a Linux server? Can I use ClaimPorts on CloudHub when using a USB hub?

#8

By default ClaimPorts=0 (off), so when you plug something into the CloudHub, Linux will send a RESET,SET ADDRESS and SET CONFIGURATION commands before irtualhere server sees it. Then it will bind a driver to the device locally on the server, although only a few drivers are included in cloudhub so this is usually a non-issue. Cloudhub does have a hub driver and other basic usb driver. 

Then when its redirected via virtualhere to windows, windows will send a RESET and SET CONFIGURATION to the device via virtualhere because that's what it would do if it was directly connected to the device .I.e it is enumerating again. See how there are at least two set configurations when redirecting. So this confuses some devices, especially ones that have extneral firmware which boots the usb chip and allows it to be a device. E,g EZ-USB FX devices which a lot of vendors use can be tricky like this.

If you use ClaimPorts=1 (on) then it will skip the RESET/SET_CONFIGURATION and not bind any drivers on the server, so hubs connected wont work because the hub driver is not bound on the server. So thats why if you use hubs i recommend not using ClaimPorts=1

#9

Thanks for the quick responses.

The concern about sleep was on the e-kit side and has nothing to do with USB. Regardless, I still tested your suggestions on the Windows USB server with no change in behavior. The device still shows as invalid on the Windows client. Did you get a chance to look at the link I had in the previous message about a similar support request?

#10

Yes i looked at the link and that fix not applicable to the windows virtualhere server.

It was applicable only on Android due to a bug in the virtualhere android server.