Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2010 20:51:16 +0000
From:      Bruce Cran <bruce@cran.org.uk>
To:        Lars Engels <lars.engels@0x20.net>
Cc:        freebsd-multimedia@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: 8.1-RELEASE: snd_hda works as module only, suspend/resume leaves display off
Message-ID:  <20101116205116.000032a6@unknown>
In-Reply-To: <20101116204644.GR56407@e.0x20.net>
References:  <20101115093709.GA1452@birne.dunkelkammer.void> <201011161444.00227.bruce@cran.org.uk> <20101116190601.GE1435@birne.dunkelkammer.void> <20101116204644.GR56407@e.0x20.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Nov 2010 21:46:44 +0100
Lars Engels <lars.engels@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101116205116.000032a6>