wiki/ALVR-wired-setup-(ALVR-over-USB).md
As of v20.12 ALVR supports wired connections directly through the dashboard. Just enable the "Wired Connection" toggle on the Devices screen, plug in your headset and accept the "Allow USB debugging?" popup displayed by the headset.
Note that your headset will need to have Developer Mode and USB Debugging enabled to use this feature.
For Quest headsets see here for instructions. The last step about installing ADB should be skipped, as ALVR downloads a copy of ADB on it's own and uses that.
If you have successfully followed all those steps and it still isn't connecting, ensure that the setting "Connection -> Wired Client Type" matches where you installed the client from (for the launcher also use the "Github" option).
The following sections list the old and deprecated way to get a wired connection and is only kept as reference.
This has exactly the same requirements as the native wired mode, but requires additional software and is more complex to setup, so native mode should be preferred.
127.0.0.1.127.0.0.1. Use the hostname displayed on your headset screen.The Quest, Pico HMDs are Android devices, therefore, we can use Android Device Bridge commands to tell the HMDs to look for data over USB, as well as Wi-Fi, using port forwarding.
You can accomplish this with some pre-made applications/scripts (just below), or run the commands manually with SideQuest
If you haven't already, connect a USB cable from your PC to your headset. USB 2.0 will work fine but 3.0 and higher is best.
Make sure to enable dev account and authorize the computer in your headset if you're on quest or enable USB Debug on Pico in settings.
The following programs serve to wrap and simplify the process of doing manual ADB commands, the first two will also automatically reconnect the headset if the USB connection is interrupted.
main.py
platform-tools to your desktop and place main.py in that folder, should work when you run the scriptplatform-toolsadb forward tcp:9943 tcp:9943adb forward tcp:9944 tcp:9944Once you are finished, the headset should now establish a connection over USB.