can't get standby (S1) to work
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
A message that is not in the archive (sent off-list or not yet received): 200312201644.hBKGiX228156-vziUDZACzaCQ8O33ekXIjvZ8FUJU4vz8@public.gmane.org
Quoted 11 lines · Nirmal Govind
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.
Quoted 5 lines
Thanks,
nirmal
Quoted 10 lines
-------------------------------------------------------
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 [email protected]
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
A message that is not in the archive (sent off-list or not yet received): [email protected]
Thus wrote Micha Feigin:
Quoted 2 lines
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,
Signature · 9 lines
Karol 'sziwan' Kozimor sziwan-DETuoxkZsSqrDJvtcaxF/[email protected] ------------------------------------------------------- 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
A message that is not in the archive (sent off-list or not yet received): 20031221020430.GA24021-DETuoxkZsSqrDJvtcaxF/[email protected]
Quoted 9 lines · Karol Kozimor
Thus wrote Micha Feigin:
Quoted 2 lines
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 ;-)
Quoted 15 lines
Signature · 13 lines
Karol 'sziwan' Kozimor sziwan-DETuoxkZsSqrDJvtcaxF/[email protected] ------------------------------------------------------- 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 [email protected] 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