scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

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

Open dragonballa opened this issue 1 year ago • 1 comments

  • [x] I have read the FAQ.
  • [x] 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

dragonballa avatar May 05 '24 06:05 dragonballa

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").

rom1v avatar May 05 '24 08:05 rom1v