HomeFreeBSD

Minor tweaks to the resume code that might help people debug.

Description

Minor tweaks to the resume code that might help people debug.

  • Add hw.acpi.resume_beep tunable and sysctl, default to 0. Beeps the PC

speaker soon after waking to diagnose whether the wakeup code is even
getting run before other drivers possibly hang the system. To stop the beep,
cause another beep (i.e. keyboard bell). Submitted by takawata@, I changed
the frequency to be lower.

  • Use 4096 instead of 4 byte alignment. Might be useful although doesn't

seem to be necessary.

  • Remove a useless assignment to acpi_reset_video. It was overwritten by

the default sysctl value anyway.

Details

Provenance
Nate Lawson <njl@FreeBSD.org>Authored on Jun 8 2006, 5:54 PM
Parents
rGbb34821048f1: Fix gratuitous compiler warning.
Branches
Unknown
Tags
Unknown

Event Timeline