Subject: Re: ACPI suspend support.
To: Kentaro A. Kurahone <>
From: Jared D. McNeill <>
List: tech-kern
Date: 01/25/2005 11:59:57
On Tue, 2005-01-25 at 15:55 +0000, Kentaro A. Kurahone wrote:
> On Tue, Jan 25, 2005 at 10:29:35AM -0400, Jared D. McNeill wrote:
> [snip] 
> > My knowledge of x86 assembler is limited, but with the following patch I
> > am able to resume, and my machine works for about 5 seconds before all
> > of my devices start spewing errors and key input stops working. Could
> > someone review this patch and let me know why it seems to work (and
> > certainly, what I'm doing that's very wrong).
> Oh ok.  I'm guessing that's why the FreeBSD code I swiped this stuff from
> has "hw.acpi.reset_video".   My laptop's LCD wouldn't come up unless
> I reset it, and I left the sysctl out.
> I've gotten this code to the point where I can reliably suspend when X11
> is running, and the box comes up, and X11 is still running without issues.
> Unfortunately I still need to fix pccbb and auich.  (Also see the traffic on
> port-i386 regarding the driver/powerhooks stuff.)

Mine resumes fine with my patch but my system locks hard as soon as I
try to touch the disk ('lost interrupt' from piixide). Without my patch
the machine freezes before ever initializing the display.