From owner-freebsd-current@FreeBSD.ORG Wed Jan 28 05:49:47 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBF8A16A4CE for ; Wed, 28 Jan 2004 05:49:47 -0800 (PST) Received: from sarevok.webteckies.org (node123e0.a2000.nl [24.132.35.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 557DD43D1F for ; Wed, 28 Jan 2004 05:49:44 -0800 (PST) (envelope-from mdev@sarevok.webteckies.org) Received: by sarevok.webteckies.org (Postfix, from userid 100) id 337CBB82A; Wed, 28 Jan 2004 14:49:43 +0100 (CET) From: Melvyn Sopacua Organization: WebTeckies.org To: current@FreeBSD.org Date: Wed, 28 Jan 2004 14:49:34 +0100 User-Agent: KMail/1.5.94 References: <200401272247.59306.freebsd-current@webteckies.org> <200401281010.41264.freebsd-current@webteckies.org> <20040128045816.Y1089@alpha.siliconlandmark.com> In-Reply-To: <20040128045816.Y1089@alpha.siliconlandmark.com> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_237FAVxk/qTdZRd"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200401281449.42810.freebsd-current@webteckies.org> Subject: Re: API to turn off the display X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 13:49:48 -0000 --Boundary-02=_237FAVxk/qTdZRd Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 28 January 2004 11:05, Andre Guibert de Bruet wrote: > On Wed, 28 Jan 2004, Melvyn Sopacua wrote: > > On Wednesday 28 January 2004 05:07, Seth Chandler wrote: > > > >currently closing the lid doesn't properly turn off the display (when > > > > running X it gets to console mode, but doesn't turn off completely). > > > > > > > >I'd like to get tackle this by hooking into devd until this hopefully > > > > is resolved, but cannot find any information on a userland utility = or > > > > system API for the vga/syscons/screen drivers to accomplish that. > > > > > > > >Is there such a thing? > > > > > > It really depends on the video card you're using. If your laptop has= a > > > radeon, i suggest checking out radeontool from > > > > > > http://fdd.com/software/radeon/ > > > > Nope, I have an nvidia GeForce 4200Go. Is there really no generic hook > > for a videocard/monitor to suspend/poweroff? How did apm handle this? > > Through functionality provided by the BIOS. A 30-second search through the > source would have shown the answer in /usr/src/sys/i386/bios/apm.c:334 > with apm_display(). Hmm. Disabling ACPI and turning APM on doesn't make a difference (tried tha= t=20 some time ago). I'll doublecheck my BIOS settings and otherwise turn on ACPI_DEBUG and=20 concentrate on acpi_powerres.c:290. =2D-=20 Melvyn =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =46reeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue De= c 30=20 14:31:47 CET 2003 =20 root@sarevok.idg.nl:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG i386 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D --Boundary-02=_237FAVxk/qTdZRd Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAF732Ov9JNmfFN5URAjk5AJ40xNODyMGEAC5KCW9w3zRP0SRGmQCeIIti euDmFUo7/bqnPGIeLKc4TJE= =nCbv -----END PGP SIGNATURE----- --Boundary-02=_237FAVxk/qTdZRd--