public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Nick Lidakis <nlidakis-H+0wwilmMs3R7s880joybQ@public.gmane.org>
To: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Desktop and S3 suspend the Holy Grail of ACPI?
Date: Wed, 03 Mar 2004 19:42:54 -0500	[thread overview]
Message-ID: <40467B8E.7060709@verizon.net> (raw)
In-Reply-To: <20040302223446.GG1225-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>

Pavel Machek wrote:

>Hi!
>
>  
>
>>As a test I suspened the machine twice; each time the machine was off 
>>for approximately 5 minutes. It resumed twice without any problems (into 
>>X with a mozilla and xmms)
>>As another test, I opned up a few apps in different workspaces: abiword 
>>with a document, mozilla browser and mail, xmms playing an internet 
>>stream. I then suspended in hopes of resuming the next day after school. 
>>After about 14hrs I tried to resume, and everything seemed fine, excpet 
>>my USB mouse was unrespnsive. I was able to brinx X down into a working 
>>console, startx again, but still no mouse.
>>
>>In debian kernel 2.6.3 I have the NIC and USB options compiled in. 
>>Should these be modules that are removed before swsusp?
>>There's aslo mention of a swsusp script, but was unable to find one in 
>>../Documentation/power or via apt-cache search; I'm assuming that I need 
>>this script, which will remove the modules before swsusp and modprobe 
>>them after resume.
>>    
>>
>
>You should not need any script; but it probably has better chance
>working with USB modules removed. Anyway that's a bug in USB support,
>ask on USB list.
>
>								Pavel
>  
>
OK, heres what works so far on plain vanilla 2.6.3 with 2.6.3 acpi patch 
applied; smp ans preemption disabled, eth0 e1000 and usb as modules.

S1 goes into standyby, after issuing /etc/init.d/acpi stop, but the fans 
stay on (as they also do in Win2k when standby is set to S1 in bios); 
seems to reliably resume, but it's too niosy for a computer that is 
essentialy in the bedroom.

S4 works , but I have to unload the USB modules buy hand ( I also unload 
eth0 e1000 to be safe) and modprobe them after resume. Resume takes a 
little longer than a normal boot up, but it saves me time insofar as 
opening the applications I comonly use.

Still no S3, which is what I'm really gunning for; either echo -n mem > 
/sys/power/state or echo 3 > /proc/acpi/sleep now results in the machine 
locking up after a series of messages,
something to the effect of: resuming from /dev/hda4
                                           Resuming from device hda4
                                           Resume Machine: This is 
normal swap
                                           ACPI: (supports S0 S1 S3 S4 S5)
                                           Stopping tasks: 
==========================|
                                           hdd: start_power_step (step.o)
 and a few more lines concerning hdd and hdc, I had to copy all this 
down on pen and paper.

A couple of things I noticed, with the Debian 2.6.3 kernel trying to S3 
resulted in a shutdown, now with ACPI patch and vanilla 2.6.3, it hangs 
and results in said messages. S4 takes takes more than couple of minutes 
longer to compete with the vanillas kernel, I thought the machine locked 
up, but decided to wait a few more minutes, and it seemed to finish the 
swsusp.
I did see a few messages relating to "Badness" but didn't get a chance 
to write them down.

So if there's anything you guys -- who have been more than helpful btw 
-- would like me to try as far as getting S3 functional, I'm all ears. 
I'm also assuming I need some kind of script for S4 to unload the USB 
and NIC modules, stop acpid, then revers all that upon resume. Is this 
something I'm going to have to write myself?

Thanks in advance.

Nick


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

  parent reply	other threads:[~2004-03-04  0:42 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-22 18:27 Desktop and S3 suspend the Holy Grail of ACPI? nick
     [not found] ` <4038F499.2060302-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-02-22 20:25   ` Bruno Ducrot
     [not found]     ` <20040222202519.GB2869-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-23  2:02       ` Nick Lidakis
     [not found]         ` <40395F51.9060101-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-02-23  8:45           ` Bruno Ducrot
2004-02-23  6:31   ` Len Brown
     [not found]     ` <1077517907.12673.43.camel-D2Zvc0uNKG8@public.gmane.org>
2004-02-24  5:06       ` Nick Lidakis
     [not found]         ` <403ADBCC.9060108-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-02-25  5:17           ` Len Brown
     [not found]             ` <1077686228.5911.93.camel-D2Zvc0uNKG8@public.gmane.org>
2004-02-25  5:50               ` Huw Rogers
2004-02-27  3:20               ` Nick Lidakis
2004-02-25 18:20   ` Pavel Machek
     [not found]     ` <20040225182030.GG1214-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-02-28 21:38       ` Nick Lidakis
     [not found]         ` <40410A69.3070800-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-02-28 22:04           ` Pavel Machek
     [not found]             ` <20040228220435.GD10530-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-02-28 22:17               ` Nick Lidakis
     [not found]                 ` <4041136B.9000904-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-02-28 23:09                   ` Pavel Machek
     [not found]                     ` <20040228230941.GA488-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-02-29  0:19                       ` count0-tC47gz4GrgtWk0Htik3J/w
     [not found]                         ` <1950.66.108.215.112.1078013994.squirrel-2RFepEojUI20LjuDPgauC1aTQe2KTcn/@public.gmane.org>
2004-02-29  7:20                           ` Pavel Machek
2004-03-02  2:08                       ` Nick Lidakis
     [not found]                         ` <4043ECB4.7080203-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-03-02 10:19                           ` Pavel Machek
     [not found]                             ` <20040302101904.GA303-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-03-02 21:51                               ` Nick Lidakis
     [not found]                                 ` <404501D8.8090506-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-03-02 22:34                                   ` Pavel Machek
     [not found]                                     ` <20040302223446.GG1225-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-03-04  0:42                                       ` Nick Lidakis [this message]
     [not found]                                         ` <40467B8E.7060709-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-03-04  0:51                                           ` Nick Lidakis
2004-03-04 10:52                                           ` Pavel Machek
     [not found]                                             ` <20040304105233.GA308-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-03-09 22:52                                               ` Nick Lidakis
  -- strict thread matches above, loose matches on Subject: below --
2004-02-25  9:43 Yu, Luming
2004-03-02  2:55 Ow Mun Heng
     [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA045C6E7B-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
2004-03-02  2:56   ` Nick Lidakis
2004-03-02  3:12 Ow Mun Heng
     [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA045C6E87-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
2004-03-02  3:17   ` Nick Lidakis
2004-03-02  3:33 Ow Mun Heng
     [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA045C6E94-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
2004-03-02  3:29   ` Nick Lidakis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40467B8E.7060709@verizon.net \
    --to=nlidakis-h+0wwilmms3r7s880joybq@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=pavel-+ZI9xUNit7I@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox