VirtualHere USB Service (Download Server from https://www.virtualhere.com/usb_server_software)
Virtualhere License
vhusb-armbian-install.sh
The VirtualHere USB Server software runs on the Synology, QNAP, ASUSTOR, ReadyNAS and MyCloud NAS Devices, as well as Raspberry Pi, AMD64, x86, MIPS, ARM, PowerPC, ARM64 etc running ANY version of Linux, and now runs on OSX, Android and Windows. Also, now available on the Steam Link game system! VirtualHere is perfect for OEM integration because: Bring your own device - turn any linux based device into a USB Server! E.g raspberry pi0/1/2/3, desktop, router, switch, android phone, blade server or your custom pcb! You choose the most cost effective and suitable hardware for your use. I have Steam running on my Windows 10 desktop, which acts as a streaming server. I have a few RPi devices running Moonlight as streaming clients. I have Xbox One S bluetooth controllers connected to the Rpi and I can steam games well. I'd also like to play Forze Horizon 3 and have added it as non-Steam game to Steam. I can stream it, but the controller is not working. I was thinking that.
#!/bin/sh |
# This little script downloads the VirtualHere USB client and sets up a service |
# on arm-based systems |
VHUSB_URL='https://virtualhere.com/sites/default/files/usbserver/vhusbdarm' |
VHUSB_BINARY='/usr/local/bin/vhusbdarm' |
VHUSB_SERVICE='/etc/systemd/system/vhusb.service' |
if [[ `uname -m`*'arm'* ]] |
then |
echo'It's an ARM architecture!'; |
if [ !-e'$VHUSB_BINARY' ];then |
echo'Attemtping to get root permissions to save 'vhusbdarm' to your system and downloading server and service script' |
sudo wget -o '$VHUSB_BINARY'$VHUSB_URL |
if [ -e'$VHUSB_BINARY' ];then |
echo'VirtualHere Binary successfully downloaded and saved as $VHUSB_BINARY. Attemting to install service at $VHUSB_SERVICE' |
sudo /bin/cat <<EOM >$VHUSB_SERVICE |
[Unit] |
Description=VirtualHere USB Client |
Requires=avahi-daemon.service |
After=avahi-daemon.service |
[Service] |
ExecStart=/usr/local/bin/vhusbdarm -b |
Type=forking |
[Install] |
WantedBy=default.target |
EOM |
else |
echo'VirtualHere Service binary not found at $VHUSB_BINARY. Abort.' |
exit 1 |
fi |
else |
echo'Binary already exists. Abort.' |
exit 1 |
fi |
else |
echo'We're not on ARM architecture. Abort.' |
exit 1 |
fi |
vhusb.service
[Unit] |
Description=VirtualHere USB Client |
[Service] |
ExecStart=/usr/local/bin/vhusbdarm -b |
Type=forking |
[Install] |
WantedBy=default.target |
commented Jul 10, 2016•
Virtualhere Usb Server License Keys
Use this service script to create a systemd service for VirtualHub USB (e.g. on a Raspberry Pi) to access USB devices remotely. You need to have the corrcet binary installed in /usr/local/bin (bhusbdarm for generic arm version) or adapt the path. |
Virtualhere Usb Keygen
Virtualhere Usb Server Keygen
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment