Re: can't get linux to perform a bios suspend (was: Re: [FIX, please test] Re: 2.5.70-bk16 - nfs interferes with s4bios suspend)

CaT (cat@zip.com.au)
Mon, 23 Jun 2003 19:58:37 +1000


On Mon, Jun 23, 2003 at 11:50:58AM +0200, Pavel Machek wrote:
> >
> > And it activated bios suspend just fine. It didn't resume properly though.
> > The bios resume screen was left behind and the whole setup hung. I've
> > been using the suspend2disk functionality of this laptop under apm and 2.4.x
> > just fine (for months really - I rarely 'rebooted' my laptop) so I don't
> > think it's the bios that's b0rked.
>
> And did you use S4bios with 2.4.X? apm and acpi are really different.

No. Never really used acpi under 2.4.x cos it all seemed like a bit mess
to me and the couple of times I tried it it just didn't do much of anything.
apm worked so I stuck with it. When I moved to 2.5.x I decided to test-run
as much as possible and so started using acpi.

As a note: at least the screen displayed and the requirements from the
bios are both thesame when apm and acpi are used.

> Modification you did is wrong; I'd try
>
> #ifdef CONFIG_SOFTWARE_SUSPEND
> if ((state == 4) && (state_string[1] != 'b')) {
> software_suspend();
> goto Done;
> }
> #endif

I had that in my original testing. It hung. I'll try again and tell
you where.

> Does s3 work for you? s3 and s4bios should be really similar.

Haven't tried s3. Will do so asap.

-- 
Martin's distress was in contrast to the bitter satisfaction of some
of his fellow marines as they surveyed the scene. "The Iraqis are sick
people and we are the chemotherapy," said Corporal Ryan Dupre. "I am
starting to hate this country. Wait till I get hold of a friggin' Iraqi.
No, I won't get hold of one. I'll just kill him."
	- http://www.informationclearinghouse.info/article2479.htm
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/