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

USBHIDKeyboard SendReport(): report 1 wait failed #7197

Closed
1 task done
FallingSnow opened this issue Aug 29, 2022 · 1 comment · Fixed by #6964
Closed
1 task done

USBHIDKeyboard SendReport(): report 1 wait failed #7197

FallingSnow opened this issue Aug 29, 2022 · 1 comment · Fixed by #6964
Labels
Status: In Progress Issue is in progress

Comments

@FallingSnow
Copy link

Board

ESP32-S2-DevKitM-1

Device Description

Connected via USB via 5V, GND, GPIO 19, and GPIO 20.

Hardware Configuration

5V, GND, GPIO 19, and GPIO 20

Version

v2.0.4

IDE Name

PlatformIO

Operating System

No OS

Flash frequency

Default (Not Sure)

PSRAM enabled

no

Upload speed

916200

Description

I boot a PC with ESP32-s2 connected from a separate USB with Ventoy on it. Within Ventoy I cannot use the ESP USB keyboard and the serial interface fills with usb report 1 wait failed errors. If I plug in a physical USB keyboard it works as expected.

Once I boot into an operating system, the ESP USB keyboard works as expected.

Sketch

#include "USB.h"
#include "USBHIDKeyboard.h"
#include "USBHIDMouse.h"
#include "USBHIDSystemControl.h"

USBHIDMouse Mouse;
USBHIDKeyboard Keyboard;
USBHIDSystemControl SystemControl;
USBCDC USBSerial;

Mouse.begin();
Keyboard.begin();
SystemControl.begin();

USB.begin();

Debug Message

[364586][E][USBHID.cpp:340] SendReport(): report 1 wait failed
[364686][E][USBHID.cpp:340] SendReport(): report 1 wait failed

Other Steps to Reproduce

Once in Arch Linux OS it works as expected.

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@FallingSnow FallingSnow added the Status: Awaiting triage Issue is waiting for triage label Aug 29, 2022
@FallingSnow FallingSnow changed the title USB USBHIDKeyboard SendReport(): report 1 wait failed USBHIDKeyboard SendReport(): report 1 wait failed Aug 29, 2022
@RefactorFactory
Copy link
Contributor

This pull request might (probably) solve the problem: #6964

@VojtechBartoska VojtechBartoska added Status: In Progress Issue is in progress and removed Status: Awaiting triage Issue is waiting for triage labels Sep 1, 2022
@VojtechBartoska VojtechBartoska linked a pull request Sep 1, 2022 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: In Progress Issue is in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants