public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* can't get standby (S1) to work
@ 2003-12-20 16:44 Nirmal Govind
       [not found] ` <200312201644.hBKGiX228156-vziUDZACzaCQ8O33ekXIjvZ8FUJU4vz8@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Nirmal Govind @ 2003-12-20 16:44 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi.. I have acpi compiled into the kernel and also have swsusp. Now, when I try
echo 1 > /proc/acpi/sleep, nothing happens. I'm running Mandrake 9.2, 2.4.22-21
kernel that I compiled with (almost?) all the acpi options enabled. The laptop
is a Fujitsu Lifebook S6120D. Is there any way to get the laptop to standby? I
move around a lot with this computer and really would like to get the standby
working. The swsusp seems to work with the suspend to disk, i.e. when I do an
echo 1 > /proc/swsusp/activate .. however, after the computer suspended, I
couldn't bring it back up - when I hit the power button, it tried to resume,
did something, and then gave me a blank screen -- had to do a hard reboot after
that.

Thanks,
nirmal



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: can't get standby (S1) to work
       [not found] ` <200312201644.hBKGiX228156-vziUDZACzaCQ8O33ekXIjvZ8FUJU4vz8@public.gmane.org>
@ 2003-12-21  1:54   ` Micha Feigin
       [not found]     ` <20031221015427.GC3587-4cxDFgrrBECgSpxsJD1C4w@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Micha Feigin @ 2003-12-21  1:54 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Sat, Dec 20, 2003 at 11:44:33AM -0500, Nirmal Govind wrote:
> Hi.. I have acpi compiled into the kernel and also have swsusp. Now, when I try
> echo 1 > /proc/acpi/sleep, nothing happens. I'm running Mandrake 9.2, 2.4.22-21
> kernel that I compiled with (almost?) all the acpi options enabled. The laptop
> is a Fujitsu Lifebook S6120D. Is there any way to get the laptop to standby? I
> move around a lot with this computer and really would like to get the standby
> working. The swsusp seems to work with the suspend to disk, i.e. when I do an
> echo 1 > /proc/swsusp/activate .. however, after the computer suspended, I
> couldn't bring it back up - when I hit the power button, it tried to resume,
> did something, and then gave me a blank screen -- had to do a hard reboot after
> that.
> 

swsusp doesn't give you S1 and S3, only S4. For S1 and S3 you'll need
2.6 or apm and a dedicated partition (if your bios supports it).
If its swsusp from mandrake then you should get the latest swsusp
patches and try with those (don't know what version the mandrake kernel
has). You'll probably need to get a vanilla kernel for that (mandrakes
is heavily patched afaik). I would also suggest upgrading to 2.4.23 as
2.4.22 has a security bug.
Do you have a resume=<swap partition> in your lilo/grub/whatever config?
Are there any messages in /var/log/syslog saying what happened after
wakeup? Do you even see the beginning of the resume process? (you
should see the kernel starting up). Are you using the suspend script?
whats the output of /proc/swsusp/debug_info or /proc/swsusp/version (if
they don't exist then its a really old version).
Also try on the swsusp-devel list (look at swsusp.sf.net), there is
lots more of good help there then you would be able to find here as
this is not an acpi issue.

> Thanks,
> nirmal
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
> 


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: can't get standby (S1) to work
       [not found]     ` <20031221015427.GC3587-4cxDFgrrBECgSpxsJD1C4w@public.gmane.org>
@ 2003-12-21  2:04       ` Karol Kozimor
       [not found]         ` <20031221020430.GA24021-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Karol Kozimor @ 2003-12-21  2:04 UTC (permalink / raw)
  To: Micha Feigin, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Thus wrote Micha Feigin:
> swsusp doesn't give you S1 and S3, only S4. For S1 and S3 you'll need
> 2.6 or apm and a dedicated partition (if your bios supports it).

Actually, S-states are ACPI-specific and have nothing to do with APM.
Moreover, a dedicated partition is needed only for S4BIOS or APM
hibernation and certainly not for S1, S3 or APM suspend / stand-by.
Best regards,

-- 
Karol 'sziwan' Kozimor
sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: can't get standby (S1) to work
       [not found]         ` <20031221020430.GA24021-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
@ 2003-12-21 14:29           ` Micha Feigin
  0 siblings, 0 replies; 5+ messages in thread
From: Micha Feigin @ 2003-12-21 14:29 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f; +Cc: Micha Feigin

On Sun, Dec 21, 2003 at 03:04:30AM +0100, Karol Kozimor wrote:
> Thus wrote Micha Feigin:
> > swsusp doesn't give you S1 and S3, only S4. For S1 and S3 you'll need
> > 2.6 or apm and a dedicated partition (if your bios supports it).
> 
> Actually, S-states are ACPI-specific and have nothing to do with APM.
> Moreover, a dedicated partition is needed only for S4BIOS or APM
> hibernation and certainly not for S1, S3 or APM suspend / stand-by.
> Best regards,
> 

Sorry, I missed on the partition thing.

As for S1 and S3 you are right, although I was meaning to the suspend
to ram state more then the acpi state.
To be more correct, afaik suspend to ram is only possible on 2.4 with
apm since S1 and S3 are only enabled in 2.6 and not 2.4.
Suspend to disk is possible either with apm (if the bios supports it
using the dedicated partition) and using the swsusp patch which
suspends to swap space.
I hope I got it right this time ;-)

> -- 
> Karol 'sziwan' Kozimor
> sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
> 


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: can't get standby (S1) to work
@ 2003-12-23  6:49 Yu, Luming
  0 siblings, 0 replies; 5+ messages in thread
From: Yu, Luming @ 2003-12-23  6:49 UTC (permalink / raw)
  To: Nirmal Govind, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

>Hi.. I have acpi compiled into the kernel and also have swsusp. Now,
when I try
>echo 1 > /proc/acpi/sleep, nothing happens. 

Maybe you system doesn't support S1. Check your dmesg with information
like  "ACPI: System [ACPI] (supports S3 S4 S5)".


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-12-23  6:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-20 16:44 can't get standby (S1) to work Nirmal Govind
     [not found] ` <200312201644.hBKGiX228156-vziUDZACzaCQ8O33ekXIjvZ8FUJU4vz8@public.gmane.org>
2003-12-21  1:54   ` Micha Feigin
     [not found]     ` <20031221015427.GC3587-4cxDFgrrBECgSpxsJD1C4w@public.gmane.org>
2003-12-21  2:04       ` Karol Kozimor
     [not found]         ` <20031221020430.GA24021-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2003-12-21 14:29           ` Micha Feigin
  -- strict thread matches above, loose matches on Subject: below --
2003-12-23  6:49 Yu, Luming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox