Fix USB autosuspend causing peripheral disconnection issues (#906)

* Fix USB autosuspend causing peripheral disconnection issues

Add configuration to disable USB autosuspend by setting usbcore.autosuspend=-1
in modprobe.d configuration. This prevents USB devices from being automatically
suspended which can cause keyboards, mice, and other peripherals to disconnect
unexpectedly.

* Add migration to apply autosuspend to existing systems

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
jw
2025-08-22 07:14:46 -05:00
committed by GitHub
parent 1942ac68dc
commit 16b0919418
3 changed files with 10 additions and 0 deletions

3
migrations/1755494432.sh Normal file
View File

@@ -0,0 +1,3 @@
echo "Disable USB autosuspend"
$OMARCHY_PATH/install/config/usb-autosuspend.sh