Genymobile / scrcpy

Display and control your Android device

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR: REGISTER_HID: libusb error: Pipe error WARN: Register HID keyboard failed on MacOS

dragonballa opened this issue · comments

  • I have read the FAQ.
  • I have searched in existing issues.

Environment

  • OS: macOS
  • scrcpy version: 2.4
  • installation method: brew
  • device model: moto g8
  • Android version: old!

Describe the bug
Screen is smashed so I can't access to enable debugging and tried scrcpy --otg

INFO: USB device found
INFO:     -->       Generic Mass Storage Device

On errors, please provide the output of the console (and adb logcat if relevant).

ERROR: REGISTER_HID: libusb error: Pipe error
WARN: Register HID keyboard failed
scrcpy 2.4 <https://github.com/Genymobile/scrcpy>
INFO: USB device found:
INFO:     -->     Generic Mass Storage Device
ERROR: REGISTER_HID: libusb error: Pipe error
WARN: Register HID keyboard failed

For some reason, libusb does not detect your Android device:

INFO: USB device found:
INFO:     -->     Generic Mass Storage Device

Or maybe it's your device but in mass storage mode (to access the content of the device)? Try disabling this mode on your devife (switch to "charge only").