How to wake computer with USB HID (R Pi Pico)

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
cadet702
 
Posts: 2
Joined: Wed Jan 19, 2022 3:05 am

How to wake computer with USB HID (R Pi Pico)

Post by cadet702 »

Hello! First time posing a question on any forum... ever. Thanks for making this such a welcoming place!

I followed the examples for turning my Raspberry Pi Pico into a USB keyboard (link below). I'm using it with a windows 10 laptop and it works perfectly when the computer is on, but is unable to wake the computer from sleep like other USB keyboards and mice are able to. How to I enable this capability in CircuitPython? Do I need to download the source code for the libraries, modify something, and compile them myself? Or is there a way to enable this capability from the code.py file directly?

https://learn.adafruit.com/diy-pico-mec ... o-keyboard

User avatar
danhalbert
 
Posts: 4649
Joined: Tue Aug 08, 2017 12:37 pm

Re: How to wake computer with USB HID (R Pi Pico)

Post by danhalbert »

We know how to do this, we just haven't implemented it yet: https://github.com/adafruit/circuitpython/issues/5380.

Now that we are doing a lot more keyboard work, we should implement this. I will bump its priority. Thanks for the reminder.

User avatar
danhalbert
 
Posts: 4649
Joined: Tue Aug 08, 2017 12:37 pm

Re: How to wake computer with USB HID (R Pi Pico)

Post by danhalbert »

We know how to do this, we just haven't implemented it yet: https://github.com/adafruit/circuitpython/issues/5380.

Now that we are doing a lot more keyboard work, we should implement this. I will bump its priority. Thanks for the reminder.

User avatar
cadet702
 
Posts: 2
Joined: Wed Jan 19, 2022 3:05 am

Re: How to wake computer with USB HID (R Pi Pico)

Post by cadet702 »

That's awesome! Can't wait!

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”