Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
113.11k stars 10.79k forks source link

OTG mode not working #5232

Open devid7x opened 3 months ago

devid7x commented 3 months ago

Environment

Describe the bug

A clear and concise description of what the bug is. OTG mode doesnt work, some libusb errors... NOTE : the device has no display, i cannot enable usb debugging.

Error:

C:\Users\dave\Downloads\scrcpy-win64-v2.6.1>scrcpy --otg -Vdebug
scrcpy 2.6.1 <https://github.com/Genymobile/scrcpy>
INFO: Killing adb server (if any)...
DEBUG: Open USB device 04e8:6860: libusb error: Entity not found
DEBUG: Open USB device 06cb:00df: libusb error: Access denied (insufficient permissions)
DEBUG: Open USB device 0bda:b00c: libusb error: Operation not supported or unimplemented on this platform
DEBUG: Open USB device 04f2:b669: libusb error: Entity not found
ERROR: Could not find any USB device
rom1v commented 3 months ago

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#otg-issues-on-windows

devid7x commented 3 months ago

i tried but it did not work, thing is, if i use another device (Galaxy A22 SM-A225F), scrcpy otg mode works. On the j5 it refuses to...

A22 SCRCPY output:

C:\Users\dave\Downloads\scrcpy-win64-v2.6.1>scrcpy --otg -Vdebug
scrcpy 2.6.1 <https://github.com/Genymobile/scrcpy>
INFO: Killing adb server (if any)...
DEBUG: Open USB device 06cb:00df: libusb error: Access denied (insufficient permissions)
DEBUG: Open USB device 0bda:b00c: libusb error: Operation not supported or unimplemented on this platform
DEBUG: Open USB device 04f2:b669: libusb error: Entity not found
INFO: USB device found:
INFO:     --> R58R833PWXX        (04e8:6860)  SAMSUNG SAMSUNG_Android