Skip to contentSkip to conversation

Compaq 2552EA suspend/resume

DISCUSSION Hein-Pieter van Braam 4 participants 8 messages Oct 6, 2005 – Oct 12, 2005 7 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hi all!

I've got a compaq 2552EA laptop, and I have been trying to get suspend to ram and suspend to disk to work forever, and, well, failed :)

I've patched my DSDT, and it is a little better now, but I think there's a bit more wrong with it than just syntax :) but.

Anyway, I would really like to debug this problem, either from my DSDT or from linux's acpi implementation. But, I've got no real clue where to start. The AML language is pretty simple, but not really understandable without intimate knowledge of the hardware I feel :)

anyway, what happens when I try to enter S3, is (without patched DSDT) it tried to resume, then just sits there doing nothing. I can then switch to another console, and continue working, but I can't suspend again.
With my patched DSDT it suspends then immediately wakes up again.

Hibernation just crashes during disk write (I think, can't be sure as there is no output) but the harddisk led just keeps burning without generating any actual harddisk activity (I can tell because the disks isn't making 'writing noises') :)

I would really appreciate some pointers as to where to start looking for trouble.

thanks in advance

hp

A message that is not in the archive (sent off-list or not yet received): 1128581461.8134.7.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/[email protected]

#2 lore raw

Hi!

Quoted 4 lines

anyway, what happens when I try to enter S3, is (without patched DSDT) it tried to resume, then just sits there doing nothing. I can then switch to another console, and continue working, but I can't suspend again.

So S3 works for you, once? Okay, so add printks to debug where it hangs, than fix that :-).
Pavel

Signature · 8 lines
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms         



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

A message that is not in the archive (sent off-list or not yet received): 20051006093525.GB10865-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org

#4 lore raw

Actually, the problem is that it does everything but actually GO in S3, it just hangs on the console. Without patched DSDT S3 it keeps hanging on the console, with patches DSDT it comes out of the 'suspend' immediately...

Quoted 10 lines · Pavel Machek

Hi!

Quoted 4 lines

anyway, what happens when I try to enter S3, is (without patched DSDT) it tried to resume, then just sits there doing nothing. I can then switch to another console, and continue working, but I can't suspend again.

So S3 works for you, once? Okay, so add printks to debug where it hangs, than fix that :-).
Pavel

A message that is not in the archive (sent off-list or not yet received): 1128884950.12703.3.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/[email protected]

#6 lore raw
Quoted 4 lines · Hein-Pieter van Braam

Actually, the problem is that it does everything but actually GO in S3, it just hangs on the console. Without patched DSDT S3 it keeps hanging on the console, with patches DSDT it comes out of the 'suspend' immediately...

Okay, you'll probably have to debug this yourself, or at least file it in osdl bugzilla.
Pavel

Quoted 11 lines · Pavel Machek
Quoted 10 lines

Hi!

Quoted 4 lines

anyway, what happens when I try to enter S3, is (without patched DSDT) it tried to resume, then just sits there doing nothing. I can then switch to another console, and continue working, but I can't suspend again.

So S3 works for you, once? Okay, so add printks to debug where it hangs, than fix that :-).
Pavel

Signature · 7 lines
if you have sharp zaurus hardware you don't need... you know my address


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

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

#8 lore raw

The problem is that I don't really have any idea on where to start... I've got the feeling that my DSDT is really screwed, and I'm trying to learn AML, but it's not a very transparent language :)

I would really appreciate some pointers, or a couple of links on the subject, I've done a lot of googling already, but I can't really come up with a good place to start.

thanks in advance,

Hp

Quoted 24 lines · Pavel Machek
Quoted 4 lines · Hein-Pieter van Braam

Actually, the problem is that it does everything but actually GO in S3, it just hangs on the console. Without patched DSDT S3 it keeps hanging on the console, with patches DSDT it comes out of the 'suspend' immediately...

Okay, you'll probably have to debug this yourself, or at least file it in osdl bugzilla.
Pavel

Quoted 11 lines · Pavel Machek
Quoted 10 lines

Hi!

Quoted 4 lines

anyway, what happens when I try to enter S3, is (without patched DSDT) it tried to resume, then just sits there doing nothing. I can then switch to another console, and continue working, but I can't suspend again.

So S3 works for you, once? Okay, so add printks to debug where it hangs, than fix that :-).
Pavel

A message that is not in the archive (sent off-list or not yet received): 1128940620.12703.7.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/[email protected]

#10 lore raw
Quoted 3 lines · Hein-Pieter van Braam

The problem is that I don't really have any idea on where to start... I've got the feeling that my DSDT is really screwed, and I'm trying to learn AML, but it's not a very transparent language :)

In my experience, suspend to RAM failures are usually not caused by DSDT problems (i have yet to see such a case), so you better start learning C.

Quoted 3 lines

I would really appreciate some pointers, or a couple of links on the subject, I've done a lot of googling already, but I can't really come up with a good place to start.

/usr/src/linux/ ;-)

Signature · 8 lines
Stefan Seyfried



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

A message that is not in the archive (sent off-list or not yet received): 20051012113309.GB9401-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org

#12 lore raw

I know C, there's just rather a lot of it in the linux kernel, and I'm not sure where to start looking :)

Quoted 13 lines · Stefan Seyfried
Quoted 3 lines · Hein-Pieter van Braam

The problem is that I don't really have any idea on where to start... I've got the feeling that my DSDT is really screwed, and I'm trying to learn AML, but it's not a very transparent language :)

In my experience, suspend to RAM failures are usually not caused by DSDT problems (i have yet to see such a case), so you better start learning C.

Quoted 3 lines

I would really appreciate some pointers, or a couple of links on the subject, I've done a lot of googling already, but I can't really come up with a good place to start.

/usr/src/linux/ ;-)

A message that is not in the archive (sent off-list or not yet received): 1129126825.6202.27.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/[email protected]

#14 lore raw
Quoted 2 lines · Hein-Pieter van Braam

I know C, there's just rather a lot of it in the linux kernel, and I'm not sure where to start looking :)

kernel/power/*

Signature · 8 lines
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms         



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl