Genymobile / Genymobile/scrcpy
OTG mode not working
- Dominant language
- C
- Stars
- 150k
- Forks
- 13.7k
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 2
Description
## Environment
- **OS:** Windows 10 22H2
- **Scrcpy version:** 2.6.1
- **Installation method:** Windows release
- **Device model:** Galaxy J5 2017 J530FN
- **Android version:** 7
## 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
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
```
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue provides a Windows release command using the --otg entry point and debug output from libusb. Start by reproducing the command with the Galaxy J5 and examine why the target USB device is rejected; done means identifying a project-side cause or documenting that the device cannot be opened under these conditions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, c
- Domain
- devtools, mobile-dev, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100