-
-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OTG error and Hid errors #3098
Comments
Is USB debugging enabled on your device or not? On Windows, there is a problem if USB debugging is not enabled: #3050. |
I'm also having this problem. USB debugging is already enabled in my Phone. I'm using Samsung Galaxy S20 FE on Windows 7 Pro. |
yes it's enabled |
I'm also having the same problem and my debug is active. |
I find a little solution on windows 11. 1- run scrcpy in OTG : |
I can confirm the same behavior. USB debugging is enabled, with the normal non-otg version working as intended. It doesn't seem to find my device either. INFO: Killing adb daemon (if any)... Is there any progress on this issue? Thanks! |
facing same issue, can able to mirror screen and able to use keyboard and mouse. |
how do i even mirror screen and use keyboard/mouse controls for me only one of them works in windows10 |
(You mean keyboard/mouse HID controls, I guess.) Yes, on Windows you can't have both mirroring and HID. See https://github.com/Genymobile/scrcpy/blob/master/doc/hid-otg.md
|
is it possible to use the linux wsl instead so i can mirror and have the keyboard/mouse hid controls at the same time |
I don't know, I never tried wsl. But a LiveCD/LiveUSB of a linux distribution should be sufficient to test. You could download the latest Ubuntu, "burn" it to USB key (with rufus for example), and boot on your USB. |
I have an interesting case of solving this problem. I have Samsung Galaxy M02. In my windows pc I did not have the Samsung USB Driver and the scrcpy --otg did not work, so I installed the driver and even after that it did not work. Then, I deleted the driver and tried again. This time it magically works as it should. I don't know why did this happen but you can try this method if you are having problems. |
Environment
When i try to use the otg i get this error:
scrcpy 1.23 https://github.com/Genymobile/scrcpy
INFO: Killing adb daemon (if any)...
ERROR: Could not find any USB device
and when i try to use the command --hid-keyboard i get this:
ERROR: On Windows, it is not possible to open a USB device already open by another process (like adb).
ERROR: Therefore, -K/--hid-keyboard and -M/--hid-mouse may only work in OTG mode (--otg).
The text was updated successfully, but these errors were encountered: