Default to 5 seconds before sleeping to give some machines time to stabilize.
This doesn't break anything on my laptop and some claim it helps them.
This commit is contained in:
parent
7fbff95c04
commit
bf0c18ec43
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118642
@ -433,8 +433,13 @@ acpi_attach(device_t dev)
|
||||
SYSCTL_ADD_INT(&sc->acpi_sysctl_ctx, SYSCTL_CHILDREN(sc->acpi_sysctl_tree),
|
||||
OID_AUTO, "disable_on_poweroff", CTLFLAG_RD | CTLFLAG_RW,
|
||||
&sc->acpi_disable_on_poweroff, 0, "ACPI subsystem disable on poweroff");
|
||||
|
||||
/*
|
||||
* Default to 5 seconds before sleeping to give some machines time to
|
||||
* stabilize.
|
||||
*/
|
||||
sc->acpi_sleep_delay = 5;
|
||||
sc->acpi_disable_on_poweroff = 1;
|
||||
sc->acpi_sleep_delay = 0;
|
||||
sc->acpi_s4bios = 1;
|
||||
if (bootverbose)
|
||||
sc->acpi_verbose = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user