Subject: Re: ACPI: Possible VGA reinit workaround on resume
To: None <current-users@NetBSD.org>
From: Jared D. McNeill <jmcneill@invisible.ca>
List: port-i386
Date: 08/07/2007 23:52:39
On Tue, 7 Aug 2007, Jared D. McNeill wrote:
>  3. Create a script, "s2r.sh", that does the following:
>
> #!/bin/sh
> /sbin/vbetool vbestate save > /tmp/vbestate
> sysctl -w machdep.sleep_state=3
> /sbin/vbetool post
> /sbin/vbetool vbestate restore < /tmp/vbestate

If this fails for you, please try simply the following:

#!/bin/sh
sysctl -w machdep.sleep_stat=3
/sbin/vbetool post

Cheers,
Jared