Skip to content

Commit

Permalink
modules/kernel: fix random boot hangs by disabling autosuspend on SD …
Browse files Browse the repository at this point in the history
…reader
  • Loading branch information
tpwrules committed Feb 27, 2024
1 parent e7f0326 commit 0195494
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apple-silicon-support/modules/kernel/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,15 @@
efiInstallAsRemovable = true;
device = "nodev";
};

# autosuspend was enabled as safe for the PCI SD card reader
# "Genesys Logic, Inc GL9755 SD Host Controller [17a0:9755] (rev 01)"
# by recent systemd versions, but this has a "negative interaction"
# with our kernel/SoC and causes random boot hangs. disable it!
services.udev.extraHwdb = ''
pci:v000017A0d00009755*
ID_AUTOSUSPEND=0
'';
};

imports = [
Expand Down

0 comments on commit 0195494

Please sign in to comment.