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

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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