Immediate disconnection upon connection with "Error 22 discarding urb", windows to pi

Hi,

I'm testing out VirtualHere to connect to audio gear remotely for setup purposes. No audio is transferred over USB only configuration, so the issues I'm having shouldn't be bandwith related.

The client is running windows and the server is on a Raspberry pi 3b+

Upon connection, I get a disconnection with the following logs.

Server:

Dec 17 21:55:48 raspberrypi vhusbdarm[7669]: 192.168.0.121 connected as connection 1 (Standard TCP)
Dec 17 21:56:05 raspberrypi vhusbdarm[7669]: Found High speed device [0e41:4246] "LINE 6, HX Stomp" at address 1113
Dec 17 21:56:14 raspberrypi vhusbdarm[7669]: Device 1113 [0e41:4246] BOUND to connection 1
Dec 17 21:56:17 raspberrypi vhusbdarm[7669]: Error 22 discarding urb 0x1de83b0 for device /sys//devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.3, Invalid argument (abort endpoint)
Dec 17 21:56:17 raspberrypi vhusbdarm[7669]: Error 22 discarding urb 0x1de9b50 for device /sys//devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.3, Invalid argument (abort endpoint)
Dec 17 21:56:18 raspberrypi vhusbdarm[7669]: Error 22 discarding urb 0x1de9630 for device /sys//devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.3, Invalid argument (abort endpoint)
Dec 17 21:56:18 raspberrypi vhusbdarm[7669]: Error 22 discarding urb 0x1de97b0 for device /sys//devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.3, Invalid argument (abort endpoint)
Dec 17 21:56:18 raspberrypi vhusbdarm[7669]: Error 22 discarding urb 0x1de9b20 for device /sys//devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.3, Invalid argument (abort endpoint)

and so forth..
 

Client:

2022-12-17 21:28:50 INFO  :VirtualHere Client 5.4.2 starting (Compiled: Dec  8 2022 10:00:10)
2022-12-17 21:28:50 INFO  :Client OS is Windows 10 (build 19045), 64-bit edition
2022-12-17 21:28:50 INFO  :Using config at C:\Users\opher\AppData\Roaming\vhui.ini
2022-12-17 21:28:50 INFO  :IPC available at \\.\pipe\vhclient
2022-12-17 21:28:50 INFO  :Auto-find (Bonjour) on
2022-12-17 21:28:50 INFO  :Auto-find (Bonjour SSL) on
2022-12-17 21:28:50 INFO  :Drivers are up-to-date
2022-12-17 21:28:50 INFO  :Connected to the VirtualHere Client Driver (Version 2)
2022-12-17 21:49:29 INFO  :Connection 1 remotely disconnected gracefully (rx)
2022-12-17 21:49:40 INFO  :Server ping timeout, shutting down connection 1...
2022-12-17 21:56:35 INFO  :Connection 2 remotely disconnected gracefully (rx)
2022-12-17 21:56:46 INFO  :Server ping timeout, shutting down connection 2...

 

 

Appreciate any help in debugging this

Cheers

#2

Its almost like the usb controller on the pi3b has crashed because the network drops at the same time (they are both on the same USB port on the pi cpu)

If you run uname -a on the pi what does it say?

#3

Uname -a result:

Linux DietPi 5.15.76-v8+ #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022 aarch64 GNU/Linux
 

Note that this is a fresh DietPi installation after the exact same issue happened with a RaspbianPi distro.

Also, a mass storage device (thumb drive) seems to work just fine.

#4

That kernel should be ok, i dont know the issue sorry. Sometimes if you plug a powered hub between the pi and the usb device it helps. If you have a spare separately powered USB hub put it between the Stomp and the pi

#5

Interesting. The Stomp device itself is powered so I doubt it has to do with that but I'll check!
I'll also check with using the LAN port to see whether it's an issue with wifi on the PI

#6

Ran some tests
First disabling the wifi controller completely and using only wired LAN. Same exact error - so it's not a "weak wifi" issue.

Then tried with a different charger, and also with a powered hub, measuring voltage and amperage using a USB tester..
Both times it's never above 0.52 amp (and both chargers supply 2 amps)

See images:
https://imgur.com/a/AEp5AMR

 

If you have any more ideas on how to test/troubleshoot I'll be happy to... I'm really hoping to get this sorted out and purchase the server :) 🙏

#7

Email me know if you want me to take a quick look via teamviewer when you are there,perhaps i can see something if i have a quick look around on the pi and /or client pc.