-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Wake from suspend stopped working #756
Comments
Can you try adb_usb_rev1_unimap.hex and show full debug log? |
Confirmed the bug. You are right, the commit introduced it. This change should fix the bug. I'll update code in repo soon. Thanks.
|
@mek-apelsin Can you share M0118 debug log at startup like below?
|
|
The fix in ecf5298 works as expected. |
Thanks for the log. I confirmed that M0118 has hanlder ID:0x04 and ISO Layout of the keyboard should be supported by current firmware. |
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
The text was updated successfully, but these errors were encountered: