8000 USB Keyboard no longer sends keystrokes after windows machine go to sleep · Issue #97 · adafruit/Adafruit_CircuitPython_HID · GitHub
[go: up one dir, main page]

Skip to content
USB Keyboard no longer sends keystrokes after windows machine go to sleep #97
Open
@dillondriskill

Description

@dillondriskill

Issue is occurring with a RPi Pico running the most up to date circuit python, and hid library. The issue does not occur on mac machines (haven't tested linux) A power cycle of the RPi resolves the issue, however, unplugging and replugging my macro pad every time my pc goes to sleep is getting a little annoying.

I'm not really sure why this happens. I imagine it has to do with how windows handles "sleep" mode, probably still powering the device in some way, and somehow this messes with the device recognition, whereas mac probably just powers off the usb device? I'm not entirely sure..

In order to replicate this it's pretty simple:

  • Put circuitpython on a rpi pico
  • Put keyboard code device
  • Ensure the board works as expected
  • Put windows machine to sleep
  • Wake windows machine
  • Notice keyboard no longer sends keypresses

It could very well be sending the key presses, but windows isn't recognizing them. I have no idea, and I haven't been able to see anything about it online.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0