Talk:APM vs. ACPI

From ThinkWiki
Revision as of 16:24, 15 March 2005 by 69.199.111.24 (Talk)
Jump to: navigation, search

Just wondering...what exactly do headings in this table mean?

  • Blank = `Ability to turn off the LCD'
  • Sleep = `Ability to (under at least some circumstances, or, `in theory' perform a SUSPEND-TO-RAM)'
  • Hibernate = `Ability to perform a SUSPEND-TO-DISK via the Phoenix NoteBIOS'
  • Battery = `Ability to get statistics on remaining battery life'

If these are correct, I'd be interested in knowing how hibernation (as described) works under ACPI.

- chris


Hei,

i just added explanations of how it is meant to the page. Do you want to know how to make it work under ACPI? Or under APM using the BIOS internal hibernation support? AFAIK in the T4x series models everything works both ways.

Wyrfel 02:10, 15 Mar 2005 (CET)


Ah. I was wondering if there was a way to get the internal (BIOS) hibernation to work when ACPI is enabled. If this is what you mean, I'm all for an explanation as it would be the best of both worlds, and too good to be true all at once. If you mean SWSUSP, (although I probably won't use it for reliability reasons), an explaination would be great as well.

Thanks,

- chris


There used to be a "S4Bios" state in /proc/acpi/sleep, which is exactly as you describe. My laptop (770x) offers it, but it dissapeared out of the ACPI support at somepoint. Definitely back in Linux 2.4.x it was there, and would trigger the BIOS to hibernate the laptop. Linux didn't make it out of suspend but that was 2.4.x ACPI, so you didn't really expect it to. google://s4bios gives a few things that should tell you more, and a patch. Personally though I could try to get this to work, I'm sticking with swsup2, which is probably what everyone means when they say they're hibernating using ACPI.

lentinj

Thanks for the pointer...I think I'll go ahead and make an account here. This site is pretty helpful.


Hrm...guess this machine (T40p) doesn't support s4bios...only S4. I'll give it a try and see how many comprimises it involves. In any event, judging by this ( http://seclists.org/lists/linux-kernel/2005/Mar/2287.html ) it appears that the person who put the support into 2.6 ( http://lwn.net/Articles/2428/ ) is pretty much ready to take it back out, citing instability, and a non-existant user base. If you ask me, there're probably no users because the APM equivalent of s4bios works flawlessly but oh well...

ct