Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
113.52k stars 10.81k forks source link

Device Disconnected Problem: Occurs in Linux #4486

Open danhu2203 opened 1 year ago

danhu2203 commented 1 year ago

Environment

Is this a problem in USB C devices when connecting Scrcpy on Linux? And is there fixes for it?

rom1v commented 1 year ago

In a separate terminal, run adb shell or adb logcat and keep them open. Then run scrcpy.

When scrcpy prints WARN: Device disconnected, is the command also terminated?

It might be related to MTP or other USB mode, see https://github.com/Genymobile/scrcpy/issues/1382#issuecomment-627591729