From owner-freebsd-stable@FreeBSD.ORG Tue Nov 16 20:46:43 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 619531065670; Tue, 16 Nov 2010 20:46:43 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.freebsd.org (Postfix) with ESMTP id 1F6738FC12; Tue, 16 Nov 2010 20:46:42 +0000 (UTC) Received: by mail.0x20.net (Postfix, from userid 1002) id 4A6A23A581; Tue, 16 Nov 2010 21:46:44 +0100 (CET) Date: Tue, 16 Nov 2010 21:46:44 +0100 From: Lars Engels To: freebsd-stable@freebsd.org, freebsd-multimedia@freebsd.org Message-ID: <20101116204644.GR56407@e.0x20.net> References: <20101115093709.GA1452@birne.dunkelkammer.void> <201011161444.00227.bruce@cran.org.uk> <20101116190601.GE1435@birne.dunkelkammer.void> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VPQfEUzMwMjjKNbV" Content-Disposition: inline In-Reply-To: <20101116190601.GE1435@birne.dunkelkammer.void> X-Editor: VIM - Vi IMproved 7.2 X-Operation-System: FreeBSD 5.5-RELEASE-p19 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: 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: Tue, 16 Nov 2010 20:46:43 -0000 --VPQfEUzMwMjjKNbV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 16, 2010 at 08:06:01PM +0100, Stefan Walter wrote: > Bruce Cran, 16.11.10, 15:44h CET: >=20 > > On Monday 15 November 2010 09:37:09 Stefan Walter wrote: > >=20 > > > Suspend To RAM (S3) works by using "acpiconf -s 3", and pushing the p= ower > > > button wakes the system up again. Everything seems to work, only the = LCD > > > monitor remains off. (There also seem to be occasional cases in which= the > > > keyboard doesn't work any more, but I haven't really looked at that, = yet. > > > Usually, the system comes back up properly.) Loading dpms(4) doesn't = seem > > > to make a difference. The only way to turn the display on again seems= to > > > be typing "shutdown -r now" blindly. > >=20 > > What graphics card do you have? If it's nVidia, try building the driver= with=20 > > ACPI_PM enabled and running "acpiconf -s3" from X11. That boots the vid= eo chip=20 > > up on my laptop at least - though it seems some corruption occurs becau= se I've=20 > > had some odd panics afterwards in the fs and vm subsystems, and attempt= ing to=20 > > suspend for a second time results in the system rebooting instead. >=20 > It's an ATI Radeon HD 4200 integrated on the mainboard, using > x11-drivers/xf86-video-ati. It now works from the console with > hw.acpi.reset_video=3D1. From within X11, it doesn't. You could try this: http://lists.debian.org/debian-bsd/2009/11/msg00006.html 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. --VPQfEUzMwMjjKNbV Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkzi7bQACgkQKc512sD3afhR8QCfZgydJzFB7lN6rZw16S1C9Mlu PFsAoLjSUE+O8MAcRz4JkEy7dFxACGEK =7csl -----END PGP SIGNATURE----- --VPQfEUzMwMjjKNbV--