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

[Bug] Keychron C1 (White) can't wake computer from suspend #266

Closed
Plombo opened this issue Jun 1, 2022 · 2 comments
Closed

[Bug] Keychron C1 (White) can't wake computer from suspend #266

Plombo opened this issue Jun 1, 2022 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Plombo
Copy link

Plombo commented Jun 1, 2022

Describe the Bug

With firmware built from the latest sn32_master branch, the Keychron C1 (white backlight version) can't wake my computer from a suspended state. The keyboard's backlight and LEDs also don't turn off like they should when the computer is suspended. Neither of these problems happens with precompiled firmware from here, based on an older revision, so it seems to be a regression. I can't bisect it, though, due to problems building working firmware from any git revisions older than a certain point.

System Information

  • Keyboard: Keychron C1 (White)
    • Revision (if applicable):
  • Operating system: Linux Mint
  • AVR GCC version: 5.4.0
  • ARM GCC version: 9.2.1
  • QMK Firmware version: 0.7.101
  • Any keyboard related software installed? no

Additional Context

@Plombo Plombo added bug Something isn't working help wanted Extra attention is needed labels Jun 1, 2022
@Plombo
Copy link
Author

Plombo commented Jun 3, 2022

Since filing this bug, I've confirmed that the problem with the backlight and LEDs is unrelated to the problem with USB remote wakeup.

@Plombo
Copy link
Author

Plombo commented Jun 7, 2022

The issue turned out to be some remote wakeup code trying to sleep for 2 milliseconds instead of busywaiting through that time. This ChibiOS-Contrib pull request fixes the bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants