From owner-freebsd-stable@FreeBSD.ORG Wed Nov 17 03:37:42 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAE95106566C; Wed, 17 Nov 2010 03:37:42 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id AABEF8FC21; Wed, 17 Nov 2010 03:37:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id oAH3KXtE053743; Wed, 17 Nov 2010 14:20:34 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 17 Nov 2010 14:20:33 +1100 (EST) From: Ian Smith To: Bruce Cran In-Reply-To: <20101116205116.000032a6@unknown> Message-ID: <20101117141403.P39988@sola.nimnet.asn.au> References: <20101115093709.GA1452@birne.dunkelkammer.void> <201011161444.00227.bruce@cran.org.uk> <20101116190601.GE1435@birne.dunkelkammer.void> <20101116204644.GR56407@e.0x20.net> <20101116205116.000032a6@unknown> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-multimedia@freebsd.org, freebsd-stable@freebsd.org, Lars Engels , Stefan Walter Subject: Re: 8.1-RELEASE: snd_hda works as module only, suspend/resume leaves display off X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2010 03:37:42 -0000 On Tue, 16 Nov 2010, Bruce Cran wrote: > On Tue, 16 Nov 2010 21:46:44 +0100 > Lars Engels 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. Perhaps this might be one of those machines (I have two) that respond positively to setting sysctl hw.syscons.sc_no_suspend_vtswitch=1 ? cheers, Ian