Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2005 09:39:20 -0800
From:      David Horwitt <david@aogsquid.ucsd.edu>
To:        freebsd-mobile@freebsd.org
Subject:   Re: Using VESA to restore display settings on resume
Message-ID:  <42235748.8050403@aogsquid.ucsd.edu>
In-Reply-To: <200502270431.aa10917@salmon.maths.tcd.ie>
References:  <200502270431.aa10917@salmon.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
Ian Dowse wrote:
> It's possible that the experimantal patch below may help on some
> notebooks where the display does not recover from a suspend-resume
> cycle. It makes use of the VESA BIOS to save the display settings
> before the system suspends and then restores them on resume. The
> patch is against -CURRENT, but might apply against RELENG_5 without
> too much trouble.
> 
> I have a JVC laptop here where this is the only way I have found
> so far to bring the LCD back to life after resuming, so maybe it
> will help on other systems too.
> 
> To test it, apply the patch and rebuild your kernel + modules. You
> need to either have 'options VESA' in the kernel config or else
> load the vesa module. It may also be worth trying with the
> hw.acpi.reset_video sysctl set to 0, since rerunning the VGA POST
> should be unnecessary.
> 
> Ian
>
> Patch also at: http://people.freebsd.org/~iedowse/vesa_restore.diff
> 
>
Thank you here as well.

This patch allows my Vaio TR3 to now resume correctly, modulo some fxp and mouse issues.
5.3-STABLE, hw.acpi.reset_video=0

DH




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