Skip to content

Wake from suspend stopped working #756

@mek-apelsin

Description

@mek-apelsin

I suspect commit 781e2df introduced a bug which inhibits the ability to wake from sleep. I can't get my computer (running Ubuntu) to wake from sleep when using a m0118, a teensy2 and the "vanilla" keymap.

I can reliably trigger the "buggy" behavior by doing the following:
git checkout 781e2dfc && ( git submodule update && cd converter/adb_usb/ && make --silent clean && MCU=atmega32u4 make --silent teensy ) && sleep 5 && systemctl suspend

I re-enable the ability to wake from suspend by doing the following:
git checkout 781e2dfc~ && ( git submodule update && cd converter/adb_usb/ && make --silent clean && MCU=atmega32u4 make --silent teensy ) && sleep 5 && systemctl suspend

Haven't had the time to do much debugging, so far I got this:

  • GOOD
    ** PWR then SPACE during ordinary usage:
    7F7F FFFF 31FF B1FF
    ** PWR then SPACE during suspend:
    F7F FFFF 1FF

  • BAD
    ** PWR then SPACE during ordinary usage:
    $E:7F7F $E:FFFF $E:31FF $E:B1FF
    ** PWR then SPACE during suspend:
    $E:7F7F $E:FFFF $E:31B1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions