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

Hotfix for Idle Wake issue #304

Closed
wants to merge 1 commit into from
Closed

Hotfix for Idle Wake issue #304

wants to merge 1 commit into from

Conversation

drashna
Copy link
Collaborator

@drashna drashna commented Aug 17, 2020

This is pulled from qmk#9962, as a hotfix to fix the issue where the board has issues waking up or initializing.

I'm not sure this is the best way to handle this, but ... we need something sooner rather than later.

@drashna drashna requested review from ezuk and fdidron August 17, 2020 03:16
@drashna drashna added the bug Something isn't working label Aug 17, 2020
@@ -232,7 +232,7 @@ int main(void) {
suspend_power_down(); // on AVR this deep sleeps for 15ms
/* Remote wakeup */
if (suspend_wakeup_condition()) {
usbWakeupHost(&USB_DRIVER);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

usbWakeupHost() must be used to send a resume signal to host (from J state to K state)

https://www.nxp.com/docs/en/application-note/AN5385.pdf

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A good question is, is this actually required, because, the lack of it doesn't seem to adversely affect the keyboard, nor it's ability to wake the system.

@drashna drashna closed this Aug 18, 2020
@drashna drashna deleted the bug/wake_fix branch September 8, 2020 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants