Skip to contentSkip to conversation

Support for "standby" in ACPI4Linux

DISCUSSION Spam Guard 2 participants 2 messages Nov 17, 2005 1 message not in the archive ACPI

lore
Share & tools
lore

Spam Guard

author
#0 lore raw

Hi,

I'm have a Thinkpad T42, and on it I'm running a kernel compiled from the Debian "linux-source-2.6.14" package, which is basically the latest 2.6.14.2 kernel with Debian some patches (security, stability, etc.). As I understand it, a pretty recent ACPI4Linux version should be included in this kernel by default. Also, I've patched this kernel with Suspend2 (www.suspend2.net), in case that's of consequence.

ACPI "sleeping" to memory works pretty well on my computer, but I was wondering about the "standby" mode. My /sys/power/state reports that it's capable of both "mem" and "standby," but "mem" is the only option that seems to work. With "standby" all I get is a message that reads "acpi_pm_prepare does not support 1" on virtual terminal 63.

Is there still enough demand to continue development of this feature, or has it kind of fallen off the map because users get enough functionality out of sleeping to memory? Or should standby be functioning now? Is there possibly something wrong with my configuration?

Thanks for your help,
Sukant Hajra

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hello!

Quoted 1 line · Spam Guard

I'm have a Thinkpad T42, and on it I'm running a kernel compiled

[...]

Quoted 1 line

Suspend2 (www.suspend2.net), in case that's of consequence.

I've a T42p with Debian unstable, vanilla kernels 2.6.13, 2.6.14 and 2.6.15-rc1, compiled with the Debian-way (make-kpkg).

Quoted 3 lines

ACPI "sleeping" to memory works pretty well on my computer, but I was wondering about the "standby" mode. My /sys/power/state reports that it's capable of both "mem" and "standby,"

AFAIK, S1 (aka standby) is not supported on the T42p:
=====

luca@gismo:~$ grep S3 /var/log/syslog
Nov 17 08:44:46 gismo kernel: ACPI: (supports S0 S3 S4 S5)
Nov 17 09:02:47 gismo kernel: ACPI: (supports S0 S3 S4 S5)
luca@gismo:~$ 
=====

But strangely:
=====

luca@gismo:~$ cat /sys/power/state 
standby mem disk 
luca@gismo:~$ 
=====

IIRC this is a bug in the sleep state showing function.

Quoted 3 lines

but "mem" is the only option that seems to work. With "standby" all I get is a message that reads "acpi_pm_prepare does not support 1" on virtual terminal 63.

I use S3 (suspend-to-ram) and S4 (suspend-to-disk) without any problem since 2.6.12 (or before, I don't remember), directly from X.org with the FLOSS radeon driver (and with all the driver but the modem installed, included the ipw2100). And the machine survives to multiple sleep cycles :-D

I've never tried suspend2, because the vanilla ACPI is working perfectly.

Thx, bye,
Gismo / Luca