Author Topic: Laptops: Suspend, Hibernate and DSDT  (Read 45973 times)

Offline Ɗα√ϵς§

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5524
  • PCLinuxOS: A revolution in personal computing
Re: Laptops: Suspend, Hibernate and DSDT
« Reply #30 on: July 07, 2007, 06:23:37 AM »
A useful trick is to install/re-install all the suspend programs but in the final dialogue box set synaptic to "download only". You will then have the RPMs in /var/cache/apt/archives. It is then possible to open each rpm using kpackage and look at the file list. The ones in /usr/bin are executable files, and you can run them in a terminal with "--help" added. Sometimes this gives you some ideas.
PCLinuxOS has no wealthy sponsors and can only survive with your donations! Don't wait it might be too late.

Running PCLOS on Athlon II/250 with 2Gb Ram using ASUS M2N68-AM Plus Mobo with Nvidia GF7600GT graphics, and Samsung NC10 Netbook

rebbi

  • Guest
Re: Laptops: Suspend, Hibernate and DSDT
« Reply #31 on: July 24, 2007, 08:19:10 AM »
Where are all of you folks finding Kpowersave?? I have a paid PASS subscription but Kpowersave doesn't show up for me in synaptic; only "powersave" and "libpowersave10."

SF

Offline Ex Nihilo

  • Hero Member
  • *****
  • Posts: 1513
    • Change a child's life today
Re: Laptops: Suspend, Hibernate and DSDT
« Reply #32 on: July 24, 2007, 08:28:11 PM »
Reload the repos... it is there

miks

  • Guest
Re: Laptops: Suspend, Hibernate and DSDT
« Reply #33 on: July 26, 2007, 07:04:43 AM »
Hi davecs, I have followed the instructions in this thread for my Dell 6400, but the aisl came back with errors:

[mike@mike-b2d1ca7b17 Desktop]$ iasl Dell.asl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20061109 [Feb  6 2007]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a

Dell.asl  1067:             Name (_HID, "*pnp0c14")
Error    4001 -                                  ^ String must be entirely alphanumeric (*pnp0c14)

Dell.asl  2857:                         And (Local0, 0x0F)
Warning  1104 -                                   ^ Result is not used, operator has no effect

+ several similar

I renamed the file "Dell" for simplicity. Don't think that would affect the results though.

So, I was wondering about the new testing kernel which is likely to improve suspend/hibernate, and whether it is (or will soon be) available to test.
Cheers, miks

KloBass

  • Guest
Re: Laptops: Suspend, Hibernate and DSDT
« Reply #34 on: August 03, 2007, 03:54:17 AM »
as i said in another thread suspend/hibernate worked flawlesly out of box (pclos2007final)  after i installed all updates its really problem now... from KLaptop suspend wont do anything and hibernate well it will hibernate once and if i try to hibernate second time it wont boot into X... so i wanna try to reinstall or reset settings to default ones from livecd but i dont wanna reinstall whole system so iam curious which packages are dealing with acpi-suspend/hibernate things (also tried first advice here with dsdt without succes)- so i can refresh/reborn/ressurect/reload/orwhatever them

EDIT: as i said
Code: [Select]
klaptop_acpi_helper --suspend worked great when it was clean install now it gives
Code: [Select]
Machine is unknown.
This machine can be identified by:
    sys_vendor   = "Hewlett-Packard"
    sys_product  = "                                "
    sys_version  = "F.08"
    bios_version = "68YDU Ver. F.08"
See http://en.opensuse.org/S2ram for details.
bit weird it is same machine all the time and it worked..

and where to get   
Code: [Select]
#klaptop_acpi_helper --software-suspend
Can't find /usr/sbin/hibernate
hibernate ? it isnt in repos (or it is hidden?)
« Last Edit: August 03, 2007, 05:28:14 PM by KloBass »

zacha

  • Guest
Re: Laptops: Suspend, Hibernate and DSDT
« Reply #35 on: September 03, 2007, 03:56:17 AM »
Is it possible for my laptop to wake itself up from hibernation at a set time?

jrbusuttil

  • Guest
Re: Laptops: Suspend, Hibernate and DSDT
« Reply #36 on: September 05, 2007, 02:57:25 PM »
I am very new to Linux, but like what I see. The only thing I don't like is that  there are so many manual configurations that are needed. I don't know all the commands and what files to edit. For this particular problem, I can only use the suspend when I click on the icon with the right mouse button. Once I touch anything, it comes out of suspend. But when i set it to suspend when I close the lid, it will not come out of suspend and i need to cycle the power. >:( I've read many of your posts. Is there a program that can be installed to try some of the modifications you guys are doing? Or can one of you make one so that when someone has this problem, you can share the program? :-\ This just seems so much easier to me???? ???

kmc610

  • Guest
Re: Laptops: Suspend, Hibernate and DSDT
« Reply #37 on: September 18, 2007, 03:34:26 PM »
just installed pclinuxos 2007 final on my laptop, a dell inspiron 8100.  i was pleasantly suprised that wpa personal wireless encryption worked right out of the box (beklin wireless g pcmcia card) but sadden that I lost two features that worked very well in .93 big daddy:  Klaptop battery indicator and one-button shut down.

klaptop doesn't seem to recognize I have a battery, even when I am running on only battery power, it wrongly thinks there is no battery present.

the one button shut down was a very useful feature--in .93 big daddy, i would close all applications and then rather than logging out to shut down, i could just tap the power button and it would automatically log out and properly shut down for me.  now if i try the same thing in pclos 2007, it will effectively pull the plug without proper logout.

anyone else have any similar problems they were able to solve?

kmc610

  • Guest
Re: Laptops: Suspend, Hibernate and DSDT
« Reply #38 on: September 18, 2007, 03:45:04 PM »
problem solved!  enabling acpi from the bootloader solved both problems.

thanks for the great forum everyone!

Offline Ɗα√ϵς§

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5524
  • PCLinuxOS: A revolution in personal computing
Re: Laptops: Suspend, Hibernate and DSDT
« Reply #39 on: October 10, 2007, 09:19:23 AM »
I haven't added to this thread for a while, so I thought I had better bring a problem to people's attention.

There is a bug in KLaptop, not because of PCLOS, but in the original code. I expect it will be fixed. It makes extra unnecessary checks to see whether your hardware can hibernate, and with later kernels, 2.6.22.x for example, it gives the info that the computer is not capable of hibernating when actually it is. All of a sudden, KLaptop doesn't include Hibernate on its menu after the kernel upgrade.

There are a number of programs which may control Suspend/Hibernate in your laptop and even some desktops. Look back through this thread. Look in Synaptic. The problem is that some may work on your laptop and some may not. If you have 20 different laptops laid out you may well have 20 different solutions. Sometimes you have to experiment.

If it's really desperate, you may have to either forget it or go for DSDT (see thread from beginning). Our kernel supports it, but again the solutions may vary a little.

If you need to post, start a new thread and put the name/number of your laptop in the title. With any luck, someone may have already solved the problem.

Where distros vary, it's often how they interact with different hardware. No-one here will be offended if another Linux works better with your lappy. An internet search may provide this kind of solution for you. As far as we are concerned, it's not Windows, it's all Linux and it's all Good.

Of course the developers will continue to do their best to make PCLOS work with as much hardware as possible, but we are a small team and only human...
PCLinuxOS has no wealthy sponsors and can only survive with your donations! Don't wait it might be too late.

Running PCLOS on Athlon II/250 with 2Gb Ram using ASUS M2N68-AM Plus Mobo with Nvidia GF7600GT graphics, and Samsung NC10 Netbook

Offline malcolmcelyn

  • Jr. Member
  • **
  • Posts: 42
    • Netgear Wireless Router DG834 Setup
Re: Laptops: Suspend, Hibernate and DSDT
« Reply #40 on: January 18, 2008, 06:50:19 AM »
I've just come back to this subject after a while away. If I might make the following observation, for the sake of clarity :
1. If I close the lid on my Dell Inspiron 1150, I want the laptop to go to 'Standby', meaning screen switches off, hard drive switches off etc. Then, when I open the lid, I want the screen to turn back on and the system to be as it was prior to switching off, ie the same programs running, wireless connection re-made and so on.
2. I've gone through some of the suggestions in this thread. Originally I couldn't get anything to work, but now I have got to the following stage - a) To 'Standby', I must right click on KLaptop and choose suspend. This works as I require, but how can I make it work just by closing the lid, rather than by using KLaptop? I have set KPowersave options to Suspend on Lid close, but no joy. - b) When I open the lid, the system restores as required except that my wireless connection doesn't restart, requiring a manual selection. How can I get it to start automatically?
Malcolmcelyn.

Offline t20racerman

  • Sr. Member
  • ****
  • Posts: 332
    • My T20 Suzuki website.
Re: Laptops: Suspend, Hibernate and DSDT
« Reply #41 on: February 02, 2008, 02:15:26 PM »
Hi all

I can't hibernate my laptop and I'd love to be able to.
If I right click on klaptop i have a lock and suspend option and a suspend option.... but no hibernate one!  If I go to the configure option, all the options under acpi are ticked on - including Hibernate

I have acpi=on on my boot options.

I have read all the above, but can't see anything relevant.  What am I missing?   ???

Thanks
We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true. - Robert Wilensky

Offline Ɗα√ϵς§

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5524
  • PCLinuxOS: A revolution in personal computing
Re: Laptops: Suspend, Hibernate and DSDT
« Reply #42 on: April 13, 2008, 06:06:31 AM »
It's a very difficult subject, and recent kernels just won't allow hibernation on my laptop at all, but suspend works OK. I originally put this thread here for those who want to try more ways of getting Hibernate and Suspend to work, then found I just needed to change a few packages on my Laptop.

This thread may even be obsolete now. Which isn't much help, I know. :-(

PCLinuxOS has no wealthy sponsors and can only survive with your donations! Don't wait it might be too late.

Running PCLOS on Athlon II/250 with 2Gb Ram using ASUS M2N68-AM Plus Mobo with Nvidia GF7600GT graphics, and Samsung NC10 Netbook

boredHousewife

  • Guest
Re: Laptops: Suspend, Hibernate and DSDT
« Reply #43 on: July 21, 2008, 07:54:20 AM »
I just thought I'd add my own experiences to this list. I have a Fujitsu Siemens amilo LI 1818 and I couldn't get it to suspend at all with klaptop and if I selected hibernate or pressed the hibernate button, it would, but  it wouldn't wake up. It was very annoying having to shutdown and boot up each time. So I looked at what  klaptop did and ran it from the command line:
Code: [Select]
[mum@localhost Downloads]$ klaptop_acpi_helper --suspend
Machine is unknown.
This machine can be identified by:
    sys_vendor   = "FUJITSU SIEMENS"
    sys_product  = "AMILO Li 1818"
    sys_version  = "                                "
    bios_version = "1.14C"
See http://en.opensuse.org/S2ram for details.

If you report a problem, please include the complete output above.
I guess s2ram doesn't work for me. I had a look at the dsdt page that's mentioned somewhere in this post, and couldn't find my model and I'm not about to start modifying files that I don't  know anything about.

So I installed kpowersave and it works just like that, no fiddling, goes dim when I unplug the power, hibernates, suspends and, most importantly, resumes as well.  Of course there are a few quirks, but  I can live with  them. It doesn't suspend when I close the lid - never mind. When it resumes I get a blank screen, but if I do <ctrl><alt><F2> and then <alt><F7> to take me out and then back into X its fine. Its still a sight quicker than rebooting. I hope this helps someone.

Ros

Natalie

  • Guest
Re: Laptops: Suspend, Hibernate and DSDT
« Reply #44 on: July 22, 2008, 08:04:49 PM »
While waiting for PCLinux2008 to arrive, I downloaded and installed Mandriva 2008.1 (Spring) and VIOLA!
Suspend to disk works great.  My thinkpad t20 stays cool, too.  Didn't have to fiddle a bit.  Can't wait for PCLinuxOS 2008 and try it's hibernate.  This is slick and something I've been waiting years for.