Skip to content

Commit f12cb6d

Browse files
committed
System76PayloadPkg: Stall before connecting devices
USB devices are not being detected when booting. Pause a bit for them to be initialized and detected by EfiBootManagerConnectAll(). Signed-off-by: Tim Crawford <tcrawford@system76.com>
1 parent 877842e commit f12cb6d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

System76PayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ PlatformBootManagerAfterConsole (
139139
);
140140
}
141141

142+
// FIXME: USB devices are not being detected unless we wait a bit.
143+
gBS->Stall (100 * 1000);
144+
142145
EfiBootManagerConnectAll ();
143146
EfiBootManagerRefreshAllBootOption ();
144147

0 commit comments

Comments
 (0)