Genymobile / Genymobile/scrcpy

Scrcpy won't connect with --otg

Open
#4,522 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
150k
Forks
13.8k
Avg merge
4d 13h
Merged PRs (30d)
2

Description

There's the error im getting when i try to connect to my phone with --otg

C:\Users\Admin\Desktop\scrcpy-win64-v2.3.1>scrcpy --otg scrcpy 2.3.1 INFO: Killing adb server (if any)... INFO: USB device found: INFO: --> 206C39725831 (046d:c092) Logitech G203 LIGHTSYNC Gaming Mouse WARN: On this platform, libusb does not have hotplug capability; device disconnection will not be detected properly ERROR: REGISTER_HID: libusb error: Entity not found WARN: Register HID keyboard failed

Note: My phone does have otg support (i've used scrcpy before with --otg), usb debug activated, android 13

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the --otg connection on Windows with Android 13 and the Logitech G203 device shown in the report. Trace the REGISTER_HID failure and libusb hotplug warning; done means --otg connects successfully without the reported HID registration error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.