-
Notifications
You must be signed in to change notification settings - Fork 1.3k
How to enable keyboard to wake sleeping computer? #5380
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
Comments
Transferring to https://github.com/adafruit/circuitpython, as this is a core issue. |
@hathach What would we need to do to make USB wake work? I assume we are not doing USB at all when we detect that the host has gone away (disconnect or suspend, I guess, I'm not sure which). Thanks. |
Just a pointer to what perhaps does it... It's arduino code example on Tinyusb: https://github.com/adafruit/Adafruit_TinyUSB_Arduino/blob/master/examples/HID/hid_composite/hid_composite.ino#L87 @hathach to confirm if that's the API to implement for the wake up. |
@dhalbert
|
Bumped priority to do https://forums.adafruit.com/viewtopic.php?f=60&t=187399 and perhaps some other requests I have forgotten. |
|
Super interesting to discover the lower level USB stuff. I have a Fomu FPGA running CircuitPython. I was able to wake up my screen, but not yet wakeup my device from sleep and I guess it is just not yet implemented. Is this task just about sending a wakeup message before sending a key press or is it more involved to implement this? |
I think we just need to do what is described in #5380 (comment) |
Hi,
I'm trying to figure out how to make an emulated USB keyboard (using a neokey 1x4) wake the computer it's attached to. I've verified the QT PY RP2040 is getting power and behaves normally when the computer is on, but it seems to go haywire when the pc is asleep and i press a key (windows 10).
Is this possible to support somehow with the current libraries?
The text was updated successfully, but these errors were encountered: