From owner-freebsd-mobile@FreeBSD.ORG Mon Feb 28 21:17:08 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E95616A4CE; Mon, 28 Feb 2005 21:17:08 +0000 (GMT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 6AA6243D54; Mon, 28 Feb 2005 21:17:07 +0000 (GMT) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 28 Feb 2005 21:17:06 +0000 (GMT) To: current@freebsd.org, freebsd-mobile@freebsd.org In-Reply-To: Your message of "Mon, 28 Feb 2005 21:06:14 GMT." <200502282106.j1SL6EjM066161@repoman.freebsd.org> Date: Mon, 28 Feb 2005 21:17:06 +0000 From: Ian Dowse Message-ID: <200502282117.aa52128@salmon.maths.tcd.ie> Subject: VESA display resume support (Re: cvs commit: src/sys/dev/fb vgareg.h src/sys/isa vga_isa.c) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 21:17:08 -0000 FYI, this and the previous commit to sys/i386/isa vesa.c may help notebooks displays that don't recover from a suspend/resume. You probably need to enable VESA support for it to make a difference, and may need to set hw.acpi.reset_video=0 also. Let me know if this causes any problems - due to the variety of VESA implementations out there, this may need a sysctl knob to disable it on problem hardware. Ian In message <200502282106.j1SL6EjM066161@repoman.freebsd.org>, Ian Dowse writes: >iedowse 2005-02-28 21:06:14 UTC > > FreeBSD src repository > > Modified files: > sys/dev/fb vgareg.h > sys/isa vga_isa.c > Log: > Save and restore the VGA state across a suspend-resume cycle. This > is particularly useful when VESA is available (either `options VESA' > or load the vesa module), as BIOSes in some notebooks may correctly > save and restore LCD panel settings using VESA in cases where calling > the video BIOS POST is not effective. On some systems it may also > be necessary to set the hw.acpi.reset_video sysctl to 0. > > Revision Changes Path > 1.8 +1 -0 src/sys/dev/fb/vgareg.h > 1.33 +55 -0 src/sys/isa/vga_isa.c