NeXT-USB: Wakeup problem on Mac and Remote Wakeup
tmk opened this issue · 1 comments
Found that NeXT-USB has two problems on suspend/wakeup.
1. Wakeup problem on Mac
reported by some user. The converter stops working after wakeup on Mac.
On Windows 10 and Linux(Ubuntu 22.04.2 LTS) it has no problem.
I don't own Mac to test and could not look into.
without the build option below LUFA on atmega32u2 cannot provide suspend and wake event. This seems to lead wake problem on Mac.
Delay after RemoteWakeup on QMK
Also this 200ms delay would be interested if further wake/sleep issue still exists, but not tested by me.
2. Remote Wakeup
The converter cannot RemoteWakeup computer by pressing a key at least on Windows 10 and Linux(Ubuntu 22.04.2 LTS).
Not tested on Mac.
Cause
Makefile in next_usb define variable MCU like: MCU ?= atmega32u2 # TMK converter
in this case tmk_core/protocol/lufa.mk fails to define build option NO_LIMITED_CONTROLLER_CONNECT
for LUFA.
This prevents RemoteWakeup on atmega32u2:
#361