VESA display resume support (Re: cvs commit: src/sys/dev/fb vgareg.h src/sys/isa vga_isa.c)

Ian Dowse iedowse at maths.tcd.ie
Mon Feb 28 21:17:08 GMT 2005


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


More information about the freebsd-mobile mailing list