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

HID unresponsive #16

Open
YFFKJB opened this issue Dec 5, 2024 · 3 comments
Open

HID unresponsive #16

YFFKJB opened this issue Dec 5, 2024 · 3 comments

Comments

@YFFKJB
Copy link

YFFKJB commented Dec 5, 2024

In the current program, the computer can correctly identify the HID device, but when the computer is restarted after sleeping, although the device can be identified by the computer, the data of the axis and keys on it are no longer updated. What is the reason?

@schnoog
Copy link
Owner

schnoog commented Dec 5, 2024

Hi,
I use the library on an ESP32S3 for my flight-throttle for one and a half year and didn't had that problem yet.
How does your code look like?

@schnoog
Copy link
Owner

schnoog commented Dec 9, 2024

The code looks good to me and I wouldn't expect any issue with it.
However, different USB ports behave differently. Some keep the power on, some even the data line, same for different USB hubs.

Please check your device manager and
-enable the "allow the computer to turn off this device...."
-disable the "allow this device to wake the computer"
options for your joystick.

If that's already the case you could try a different USB port.

@tcfshcrw
Copy link

tcfshcrw commented Dec 21, 2024

hello, we meet the same error, I got that in the serial:
E (4783368) TUSB:DCD: Unknown Condition
E (4783378) TUSB:DCD: Unknown Condition
E (4787240) TUSB:DCD: Unknown Condition
E (4787250) TUSB:DCD: Unknown Condition
E (4788504) TUSB:DCD: Unknown Condition
E (4788514) TUSB:DCD: Unknown Condition
E (4792392) TUSB:DCD: Unknown Condition
E (4792402) TUSB:DCD: Unknown Condition
E (4793656) TUSB:DCD: Unknown Condition
E (4793666) TUSB:DCD: Unknown Condition
also I can't found the option for "allow this device to wake the computer"

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

3 participants