I'm using a RaspberryPi Zero W as a linux server to connect to USB devices as COM ports. I followed the steps here to get up and running: https://www.virtualhere.com/oem_faq
Most of the time this works great, however when I power on my laptop for the first time in the morning and start the client, no hubs are shown. I have tried to exit client (close button, task manager, & command prompt) and open again but still no hubs are shown. The log looks exactly the same as when hubs are shown correctly:
2019-08-01 08:50:28 INFO :VirtualHere Client 4.7.9 starting (Compiled: Jun 21 2019 16:11:22)
2019-08-01 08:50:28 INFO :Client OS is Windows 10 (build 18362), 64-bit edition
2019-08-01 08:50:28 INFO :Using config at C:\Users\user\AppData\Roaming\vhui.ini
2019-08-01 08:50:28 INFO :IPC available at \\.\pipe\vhclient
2019-08-01 08:50:28 INFO :Auto-find (Bonjour) on
2019-08-01 08:50:28 INFO :Auto-find (Bonjour SSL) on
Without making any changes, a reboot of windows solves the problem. After reboot and starting the client, hubs are shown without issue. Is there a workaround or something I can do to avoid having to reboot my computer every time I need to use VH?
The client says I'm up to date, I'm running Windows 10 1903. Please let me know if you need any more info.
Thanks!
.
Im pretty sure its a bonjour issue. If you switch wifi between your main wifi and another wifi sometimes bonjour takes a while to recognize that and it wont find the server for a while. I would recommend just putting in the ip address directly into the virtualhere client for your raspberry piw server and not using auto-find for that.
Success!
Michael, you nailed it. Everything is working perfectly now.
For future reference, to add hubs by IP address instead of using auto-find: Run client -> Right click "USB Hubs" -> Click "Specify Hubs" -> Under the "Hubs" tab, click "Add" -> Enter IP address -> Click "OK" -> Ta Da!