BIND_ERROR with virtualhere running on virtualized server

<p>Hello!
</p>
<p>I've been running VirtualHere more or less successfully on a virtualized debian 32bit system running on a ESXi-server with an attached USB-hub.<br />
Sooner or later (typically 5-10 days) the USB-device (a dongle) becomes unusable and I wonder why or what can be done to keep this from happening.
</p>
<p>Restarting the vhusbd won't help in this case, restarting the debian-system has helped one time but today for instance didn't.<br />
This is the log right after rebooting the debian-system:
</p>
<p>Wed Dec 2 14:44:11 2015 LOG_INFO >>> Starting v2.6.1 (Built: Nov 25 2015, 11:16:42)<<<<br />
Wed Dec 2 14:44:11 2015 LOG_INFO Using configuration [...SNIP....]/virtualhere/config.ini<br />
Wed Dec 2 14:44:11 2015 LOG_INFO Server licensed to=[...SNIP....] max_devices=unlimited<br />
Wed Dec 2 14:44:11 2015 LOG_INFO Using large URB's<br />
Wed Dec 2 14:44:11 2015 LOG_DEBUG TCPServer starting...<br />
Wed Dec 2 14:44:11 2015 LOG_INFO Listening on all network interfaces at port 7575<br />
Wed Dec 2 14:44:11 2015 LOG_INFO Found Full speed device [...SNIP...] at address 121<br />
Wed Dec 2 14:44:11 2015 LOG_INFO Found Low speed device [...SNIP...] at address 122<br />
Wed Dec 2 14:44:11 2015 LOG_INFO Found Low speed device [096e:0006] "OEM, HID Dongle" at address 123<br />
Wed Dec 2 14:44:12 2015 LOG_INFO Callback: VirtualHere USB Sharing_vhusb_tcplocal Name Registered<br />
Wed Dec 2 14:44:36 2015 LOG_DEBUG 192.168.[...SNIP...] connected<br />
Wed Dec 2 14:45:21 2015 LOG_DEBUG 192.168.[...SNIP...] connected<br />
Wed Dec 2 14:45:54 2015 LOG_ERR Error -1 resetting device 0x096e/0x0006 for capture<br />
Wed Dec 2 14:45:54 2015 LOG_ERR Error binding device 123 to connection 2, BIND_ERROR
</p>
<p>On the client-side I get this error displayed in a popup-window upon trying to use the device:<br />
'There was a error sharing this device. (Auto-sharing now off for this device/port)'
</p>
<p>When hitting 'OK' here another warning-window pops up with the message<br />
'Error "Operation not permitted" (-1) trying to use this device. (192.168.[...SNIP....]:7575)'
</p>
<p>What helps (most likely even without restarting vhusbd or the system) is to pysically re-connect the dongle to the USB-hub after which everything works fine for another couple of days until the scenario repeats.
</p>
<p>I've already exchanged the USB-hub and cable with an identical one but the issue stays exactly the same and I fear that whatever is done by VMWare to manage virtual USB-connections may cause these issues.
</p>
<p>Do these symptoms ring any bells for someone? Any ideas how to solve it?
</p>
<p>Regards,<br />
red
</p>

#2

I think it is very likely vmware, if you have to physically remove the device to use it again its very likely the device is jammed and will not respond to any messages. Even a RESET message fails to be sent to the device. My guess is something in vmware is not passing through the usb signal after some period of time. If possible i think you may need to run it on a native linux based machine or embedded board...