-
-
Notifications
You must be signed in to change notification settings - Fork 39.4k
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] Tofu60 unable to wake from sleep on Linux #23347
Comments
@KarlK90 Thanks! Using Edit: Tested again with a non-QMK keyboard and the first character goes to the lockscreen as well, so it seems to be unrelated to QMK :) |
@Limero Great that it solved your issue.
This is actually a bug in QMK as the key presses used to wake up the host are not suppressed. Before the new async usb endpoints it was a bit of a gamble depending on keyboard MCU and OS if the key press used to wake the host actually reached the host. For the new async USB handling, which should guarantee the delivery, I just implemented #23389 which suppresses all wakeup key presses. Please try if this fixes the issue. |
@KarlK90 Just tried out your branch, that works perfectly! 🎉 |
Describe the Bug
I recently purchased a Tofu60 2.0 and with the stock QMK firmware I had trouble that the keyboard would wake the computer from sleep, but then stop functioning until it was unplugged and plugged in again.
In an attempt to resolve this I built QMK from scratch (the product id changed from OG60 to TOFU60, so stock firmware must've been built with an old version). The problem now is that the keyboard is unable to wake the computer from sleep, but once woken with the computer power button, the keyboard functions as intended.
This issue is possibly only affecting Linux, as I'm able to wake a Mac from sleep. I'm not able to test with Windows.
Same issue happens with the pre-built via firmware
Keyboard Used
dztech/tofu60
Link to product page (if applicable)
No response
Operating System
Fedora 39. Linux 6.7.9
qmk doctor Output
No response
Is AutoHotKey / Karabiner installed
Other keyboard-related software installed
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: