Review: PR #754 - Invert USB wakeup_on_write default to prevent DWC2 lockup#1
Closed
Copilot wants to merge 1 commit intofix/usb-hid-wakeup-disconnectfrom
Closed
Conversation
Copilot
AI
changed the title
[WIP] Review changes in pull request 754
Review: PR #754 - Invert USB wakeup_on_write default to prevent DWC2 lockup
Feb 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Review Summary
Status: APPROVED ✅
PR sipeed#754 fixes USB HID lockup during host reboot by inverting
wakeup_on_writefrom opt-out to opt-in.Problem
DWC2 controller spams USB remote wakeup signals during host restart/BIOS. Host rejects these, causing:
dwc2_hsotg_ep_stop_xfr)Changes
Logic inversion in 2 files, 6 lines total:
Applied to keyboard/mouse/touchpad in:
kvmapp/system/init.d/S03usbdevkvmapp/system/init.d/S03usbhidReview Findings
/boot/usb.wakeupRecommendation
Merge. Acceptable trade-off—current default causes crashes for many users. USB HID functions correctly without remote wakeup.
Optional: Document
/boot/usb.wakeupflag in follow-up.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.