Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2005 21:17:06 +0000
From:      Ian Dowse <iedowse@maths.tcd.ie>
To:        current@freebsd.org, freebsd-mobile@freebsd.org
Subject:   VESA display resume support (Re: cvs commit: src/sys/dev/fb vgareg.h src/sys/isa vga_isa.c)
Message-ID:  <200502282117.aa52128@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Mon, 28 Feb 2005 21:06:14 GMT." <200502282106.j1SL6EjM066161@repoman.freebsd.org> 

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

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



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