Skip to content

Commit

Permalink
fix wording and adjust timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
milaq committed Jul 15, 2021
1 parent f908d74 commit 543696d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

# VirtualHereFree Installer for Steam Link

VirtualHere is a proprietary ripoff of the open source USB/IP project. It allows you to "stream" USB devices to another
VirtualHere is a proprietary version of the open source USB/IP project. It allows you to "stream" USB devices to another
machine to have it behave like it would be directly connected to the client.

The Steam Link comes with an integrated version of VirtualHere.
Since several versions, the integrated version requires you to buy and use the Steam store version of VirtualHere.

There is also a ["free" version of VirtualHere available](https://www.virtualhere.com/usb_client_software), which allows one to pass one device at a time for free.
There is also a ["free" version of VirtualHere available](https://www.virtualhere.com/usb_client_software), which allows one to share one device for free.
The free client doesn't work with the Steam Link integrated version.
Fortunately, there are ARM binaries of the VirtualHere server available which can be run on the Steam Link.
Fortunately, there are ARM binaries of the VirtualHere server available which are compatible with the Steam Link.

The VirtualHereFree Installer deploys the "free" version of the VirtualHere server to your Steam Link and manages the starting and
The VirtualHereFree Installer downloads the free version of the VirtualHere server to your Steam Link and manages the starting and
stopping of the server automatically, enabling you to use the free VirtualHere client binaries on your host machine.

## Installation
Expand All @@ -26,9 +26,11 @@ Download the latest version of the VirtualHereFree Installer from the [releases
* Reboot your Steam Link
* Select the installer from the main menu

When you start streaming, the free version of the VirtualHere server gets started automatically and is closed when you stop streaming.
When you start streaming, the VirtualHere server gets started automatically and is closed when you stop streaming.
Once installed, you can delete the installer application if you please.

To update to a newer Virtualhere server version just run the installer again.

### On your Desktop PC (client)

* Download and install the latest VirtualHere free client for your OS: https://virtualhere.com/usb_client_software
Expand Down
4 changes: 1 addition & 3 deletions res/vhfwatchdog
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ check_vh() {
if [ $(pidof streaming_client | wc -l) -eq 0 ] && [ $(pidof vhusbdarm | wc -l) -gt 0 ]; then
echo "Streaming connection ended, stopping VirtualHereFree server..."
pkill vhusbdarm
sleep 10
elif [ $(pidof streaming_client | wc -l) -gt 0 ] && [ $(pidof vhusbdarm | wc -l) -eq 0 ]; then
echo "Streaming connection established, starting VirtualHereFree server..."
/usr/local/bin/vhusbdarm -c /mnt/config/system/virtualherefree_config.ini -b
sleep 2
fi
}

while true; do
check_vh
sleep 3
sleep 5
done
2 changes: 1 addition & 1 deletion vhf_installer.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ int main(int argc, char *argv[]) {
SDL_Color textColorError = {255, 0, 0, 0};
SDL_Color textColor = {255, 255, 255, 0};

getSDLText(renderer, TEXT_MARGIN, TEXT_MARGIN, "VirtualHereFree installer by milaq", font, textColorHeader, &texture_header, &textbox_header);
getSDLText(renderer, TEXT_MARGIN, TEXT_MARGIN, "VirtualHereFree Installer by milaq", font, textColorHeader, &texture_header, &textbox_header);
getSDLText(renderer, TEXT_MARGIN, textbox_header.y + 2 * textbox_header.h, "Downloading VirtualHere binary...", font, textColor, &texture_download, &textbox_download);
getSDLText(renderer, TEXT_MARGIN, textbox_download.y + textbox_download.h, "Installing service...", font, textColor, &texture_copy, &textbox_copy);

Expand Down

0 comments on commit 543696d

Please sign in to comment.