Subject: Re: ACPI suspend support.
To: Kentaro A. Kurahone <kurahone@sigusr1.org>
From: Jared D. McNeill <jmcneill@invisible.ca>
List: tech-kern
Date: 01/27/2005 14:53:37
On Wed, 2005-01-26 at 22:25 -0400, Jared D. McNeill wrote:
> I may have a solution that will fix it so we don't need to initialize
> the VBIOS in the wakecode at all.. going to take me a bit of time to
> figure out how I want it done, but basically I'm running into some
> problems. With the laptop in a docking station, S3 sleep/resume works
> like a charm. Without a docking station, the video fails to recover on a
> resume. Resetting the video BIOS in the wakecode causes my laptop to
> reboot on resume.
> 
> It seems that I need to defer my video BIOS initialization until _after_
> 1. the PCI chipset is reinitialized, and 2. pci_conf_state is restored
> to vga_pci. I plan on adding an MD powerhook to drop back to real mode
> after the standard powerhooks run so I can reinitialize the display
> adapter then. Stay tuned for a patch for this.

I found some information confirming my suspicions:
http://lists.freedesktop.org/pipermail/xserver/2003-December/000496.html

Looks like a buggy BIOS is the reason why I can't resume all of the
time, and I'm going to have to resort to a bit of hackery to recover
properly.

Cheers,
Jared