Skip to contentSkip to conversation

[Fwd: Re: Dell Inspiron 510m sleep states S3/S4 not working]

Fwd: Re: Dell Inspiron 510m sleep states S3/S4 not working Nate Lawson 1 participant 1 message Mar 6, 2005 ACPI

lore
Share & tools
lore
#0 lore raw

I have reports that Linux works for S3 on these machines but FreeBSD does not. The Dell Inspiron 510M at least has a problem where the write to PM1A in hwsleep.c resets the system instead of entering S3. I heard that Linux had similar problems in the past but now works. Can someone let me know what was going on?

Thanks much,
Nate

-------- Original Message --------
Subject: Re: Dell Inspiron 510m sleep states S3/S4 not working
Date: Sat, 05 Mar 2005 20:02:44 -0500
From: Igor Partola <[email protected]>
To: [email protected]

Quoted 7 lines · Ulrich Spörlein
Quoted 4 lines · Nate Lawson

Easiest way to test for resets is to stick this loop in the C code, pushing it farther down until you identify the line of code that resets instead of hanging.

hang: goto hang;

Quoted 7 lines
Quoted 2 lines

Try this in AcpiEnterSleepState().

Been there, done that. See
http://lists.freebsd.org/mailman/htdig/freebsd-acpi/2004-December/000949.html

Ulrich Spoerlein

I just did some testing just to make sure that my system resets on the same line. Sadly that is the problem, writing PM1A resets the machine.

I also compared the code with hwsleep.c from linux 2.6.10. They almost exactly the same, except for at one point but that should only affect S5. Everything else is the same.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click