-
Notifications
You must be signed in to change notification settings - Fork 152
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
🪲[BUG] capture_hid_report does not enumerate Apple Magic Keyboard #135
Comments
Can you try an older version of the library? See #122 (comment) |
Thanks for telling me to try the older library! That fixed it, it now enumerates and captures keystrokes as expected :) |
Looking at these USB dumps may give a hint at the actual problem that happening here. In the working capture there is
but in the non-working captures there is
In the pio_usb_host.c we find
suggesting that after you suspend the host, you need to reset the bus. |
Describe the bug you encountered:
I tried connecting the Apple Magic Keyboard to the HID Remapper project, and it didn't respond. Therefore I cloned the capture_hid_report example, to monitor the serial debug output. I got error CONTROL_ERROR even after adding busy_wait_us(1000);.
What did you expect to happen instead?
I expected the keyboard to enumerate.
What actually happened in your case?
Additional information
The keyboard does not have a built-in USB hub. I believe that the keyboard chip is the STM32F103VB.
The text was updated successfully, but these errors were encountered: