on Linux, you need alsa dev dep
Fedora
sudo dnf install alsa-lib-devel jack-audio-connection-kit-devel
Debian
sudo apt install libasound2-dev
You probably need to install adb.
-
https://www.reddit.com/r/scrcpy/comments/1ga2nli/solution_get_scrcpy_otg_working_on_windows_a/
-
Your changing the driver of your Android device, be careful!
-
disable ADB (to not change the driver when adb is in use, but if you always use adb, maybe don't disable it)
-
select "Options", "List All Devices"
-
select your device
-
select the WinUSB driver
-
click "Reinstall Driver"
-
it can take a long time
then, if it still don't work, you can make the same process when your phone is in accessory mode