Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
dragonballa opened this issue May 5, 2024 · 1 comment
Open
2 tasks done

Comments

@dragonballa
Copy link

dragonballa commented May 5, 2024

  • 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
@rom1v
Copy link
Collaborator

rom1v commented May 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants