Skip to contentSkip to conversation

2.6.5, ACPI, suspend and ThinkPad R40

DISCUSSION Olivier Bornet 3 participants 5 messages Apr 4, 2004 – Apr 7, 2004

lore
Share & tools
lore
#0 lore raw

Hello,

I have an IBM ThinkPad R40, with kernel 2.6.5 and ACPI enabled. The system is a GNU/Debian testing up-to-date, with acpid debian package 1.0.3-2.

I can suspend with Fn-F4, thanks to a acpi config doing:

echo 3 > /proc/acpi/sleep

The laptop goes to sleep as execpted: all the lights goes off, and the light with the moon goes on. All is OK until this. :-)

The problem is that I can't resume it. I have found no way. Pressing Fn don't work. The power button don't work. Closing and opening the display don't work. The only way to re-start the computer is to remove the battery. Of course, this cause a reboot.

Has anyone some suggestion for me ?

Thanks in advance.

Olivier

Signature · 5 lines
Olivier Bornet                |    français : http://puck.ch/f
Swiss Ice Hockey Results      |    english  : http://puck.ch/e
http://puck.ch/               |    deutsch  : http://puck.ch/g
[email protected]        |    italiano : http://puck.ch/i
Get my PGP-key at http://puck.ch/pgp or at http://pgp.mit.edu/
#1 lore raw
Quoted 6 lines · Olivier Bornet

Hello,

I have an IBM ThinkPad R40, with kernel 2.6.5 and ACPI enabled. The system is a GNU/Debian testing up-to-date, with acpid debian package 1.0.3-2.

I have an R40 too (model 2681-HSG).

Quoted 4 lines

I can suspend with Fn-F4, thanks to a acpi config doing:

echo 3 > /proc/acpi/sleep

Quoted 8 lines

The laptop goes to sleep as execpted: all the lights goes off, and the light with the moon goes on. All is OK until this. :-)

The problem is that I can't resume it. I have found no way. Pressing Fn don't work. The power button don't work. Closing and opening the display don't work. The only way to re-start the computer is to remove the battery. Of course, this cause a reboot.

I had exactly the same problem.

Quoted 2 lines

Has anyone some suggestion for me ?

Yes, see:
http://bugzilla.kernel.org/show_bug.cgi?id=1415
There is a patch which worked for me.

Quoted 3 lines

Thanks in advance.

Olivier

Michal Schmidt

#2 lore raw

Hi,

Quoted 3 lines · Michal Schmidt

Yes, see:
http://bugzilla.kernel.org/show_bug.cgi?id=1415
There is a patch which worked for me.

Thanks a lot. :-) This patch is working as expected for me. Now, after doing a:

echo LID > /proc/acpi/wakeup_devices
echo SLPB > /proc/acpi/wakeup_devices

I can resume by opening the laptop, or by using the Fn button, or by using the power button. :-)

This patch seems "very" old (first release 2003-10-28).

Anyone know why this patch is not in the kernel source tree at this time ?

Good day, and thanks for your help.

Olivier

Signature · 5 lines
Olivier Bornet                |    français : http://puck.ch/f
Swiss Ice Hockey Results      |    english  : http://puck.ch/e
http://puck.ch/               |    deutsch  : http://puck.ch/g
[email protected]        |    italiano : http://puck.ch/i
Get my PGP-key at http://puck.ch/pgp or at http://pgp.mit.edu/
#3 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Olivier" == Olivier Bornet <[email protected]> writes:

Olivier> Hi,

Quoted 2 lines · Michal Schmidt
Quoted 2 lines

Yes, see: http://bugzilla.kernel.org/show_bug.cgi?id=1415 There is a patch which worked for me.

Olivier> Thanks a lot. :-) This patch is working as expected for Olivier> me. Now, after doing a:

Olivier> echo LID > /proc/acpi/wakeup_devices echo SLPB >
Olivier> /proc/acpi/wakeup_devices

Olivier> I can resume by opening the laptop, or by using the Fn Olivier> button, or by using the power button. :-)

Alas, I would like to report it doesn't work for me.

My laptop suspends, but never comes back from suspend as well. It doesn't seem like the LID or power buttons are a possible setting for me. Doing a 'cat /proc/acpi/wakeup_devices' gives:

Device  Speep state     Status
C04E       5            disabled
C0A0       3            disabled
C0A6       3            disabled
C0A9       3            disabled
C161       3            disabled
C162       3            disabled
C177       4            disabled
C11E       4            disabled

C11E is my suspend button, but it doesn't seem like it will allow S3? I have no idea what the other addresses are. I tried enabling them all, and got a big pile of oopses (which I can duplicate if anyone wants)

Any ideas?

Olivier> This patch seems "very" old (first release 2003-10-28).

Olivier> Anyone know why this patch is not in the kernel source tree Olivier> at this time ?

Yeah, if it helps some people then it should go in I would think.

It would be nice if we could just set the list of wakeup devices to a sane list for everyone tho. Power/lid/suspend button.

Back to using nigels swsusp2... at least it's quite fast and the latest one seems pretty stable with 2.6 for me at least. ;)

kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFAciPl3imCezTjY0ERApkWAJ4xZFmTDgXsq7cvrXOQ/HR70Fs5PQCeJshD uc1kiMwhqGUhn0fDD7FDHko=
=E51X
-----END PGP SIGNATURE-----

#4 lore raw
In reply to Olivier Bornet

Hello,

Quoted 6 lines · Olivier Bornet
Quoted 3 lines · Michal Schmidt

Yes, see:
http://bugzilla.kernel.org/show_bug.cgi?id=1415
There is a patch which worked for me.

Thanks a lot. :-) This patch is working as expected for me.

A correction: I can now suspend to ram and resume. But it seems that the laptop is not in a good state after suspend to ram. I have let it in this mode the whole day, and when I was back at home, the battery was empty. :-(

I don't have use this laptop (or even another one) with another configuration for suspending to ram, so I don't realy know how much time we can have it in the suspend to ram state before the battery is empty. But talking with one friend, he say that with 2.4 kernel and APM, this will be many weeks.

I'm ready to help with the ACPI stuff if this may be usefull. Just let me know what I can test.

Good day, and thanks for your help.

Olivier

Signature · 5 lines
Olivier Bornet                |    français : http://puck.ch/f
Swiss Ice Hockey Results      |    english  : http://puck.ch/e
http://puck.ch/               |    deutsch  : http://puck.ch/g
[email protected]        |    italiano : http://puck.ch/i
Get my PGP-key at http://puck.ch/pgp or at http://pgp.mit.edu/