8.1-RELEASE: snd_hda works as module only, suspend/resume leaves display off

Bruce Cran bruce at cran.org.uk
Tue Nov 16 20:51:20 UTC 2010


On Tue, 16 Nov 2010 21:46:44 +0100
Lars Engels <lars.engels at 0x20.net> wrote:

> Download && compile the code (gcc -o chvt chvt.c).
> Add "$path/$to/chvt 1" to /etc/rc.suspend and "$path/$to/chvt 9" to
> /etc/rc.resume, so that your machine automatically changes to ttyv0
> before going to sleep and changes back to X after waking up.

The acpi code already does this: if you run acpiconf from within X
you'll see ttyv0 appear, the system turns off and when resuming ttyv0
appears before X11.

-- 
Bruce Cran


More information about the freebsd-stable mailing list