LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LinuxAnswers Discussion (https://www.linuxquestions.org/questions/linuxanswers-discussion-27/)
-   -   DISCUSSION: Mini HOW-TO: Hibernate and resume (https://www.linuxquestions.org/questions/linuxanswers-discussion-27/discussion-mini-how-to-hibernate-and-resume-424125/)

cwwilson721 03-12-2006 11:46 AM

DISCUSSION: Mini HOW-TO: Hibernate and resume
 
This thread is to discuss the article titled:
Mini HOW-TO: Hibernate and resume

Quote:

Mini HOW-TO: Hibernate and resume Problem: You have a system that you need to put to sleep, for whatever reason ( Need to conserve power on a laptop, or want a possibly quicker 'shutdown and reboot'). Solution: Hibernate. It saves everything (Hopefully!) to a file on your hard drive, and when you bring it back up, it was just as you left it. Sound good? Well, it can be. It can also drive you insane. I'm going to talk about one route to possible success Successful hibernation requires a few things in Linux: * An ACPI compliant system (BIOS, HDD,etc) Well beyond the scope of this post. Check on the web, or take it up with your system manufacturer.

macemoneta 03-12-2006 11:49 AM

You have a bad link in your post.

Should point here.

XavierP 03-12-2006 04:47 PM

URL is now fixed.

Old_Fogie 04-22-2006 12:53 AM

Thanks for posting cwwilson. I just did this tonight and I can now get standby via the battery icon in KDE.

I can't get suspend working yet (I freeze, I get black screen and lose X I'm glad I have control+alt+del to do reboot), but I do have two things not in line with your recommended kernel settings. So I was not surprised that I may have a glitch somewhere as I don't meet the minimum recommended.

BUT OMG! YOU INADVERTANTLY GAVE ME BACK MY TAP+DRAG WITH MY TOUCHPAD

Before doing this, I used to have to hit Function+F4 on my laptop to make the mobo initiate the standby (I did not have the option in KDE), which worked well but I could not have the touchpad custom drivers installed, as when I resumed I would totally lose my touchpad! Even control+alt+backspace didnt reset the touchpad! I had to reboot. So up until now I've been running the laptop without the custom touchpad drivers installed, and just using the default touchpad driver in X, but I had no tap + drag.

So after I got my standby to work I decided to experiment and re-try installing the touchpad drivers, thinking to myself "well maybe my touchpad was freezing becuase it looks for a standby signal from KDE and not my mobo. Maybe now it will see some signal from the KDE battery icon and will now standby/resume nicely."

Well to my surprise my guess was right! After installing the touchpad drivers for my custom kernel I can do standby and when I resume I can do tap and drag ! :D

One question if you don't mind, as you are my compile kernel guru hahah :D

My question is, to get my kernel options "in-line" with your recommended settings, do I simply go into my 2.4 kernel that came with slackware, go to my 2.6.15.3 kernel source directory, run "make xconfig" and just tweak those settings, hit save, then run make and then run make modules install again. Effectively that would in my mind overwrite my 2.6.15.3 kernel and it's respective modules.

Assuming that the above is correct, will I need to re-install my wireless drivers, guarddog firewall, & touchpad drivers. Those are the only items I have actually run an install of while being in this kernel as of present.

Or, should I just copy out the config file, delete the 2.6.15.3 kernel and run a full make all over and reinstall the touchpad, wireless, guarddog.

Thank you in advance. Again sorry if I typed to much, I tend to ramble on. :D

cwwilson721 04-22-2006 07:38 AM

Personally, I would start fresh, going from 2.4 to the newest 2.6 kernel with a 'blank' config. But leave the old kernel because I can just about guarantee that the first compile either won't boot, or you'll forget to compile in something like mouse support (Yes, I've done that...)

And good to hear about your touchpad.

And I STILL cannot suspend mine either. Maybe in the coming months.

Old_Fogie 04-23-2006 02:47 AM

lol yea right now everything is great I just dont have a "pen-goo-in" (penguin) if I boot in 2.6 kernel :(

cwwilson721 04-23-2006 02:49 AM

Need to configure your framebuffer and video chipset


All times are GMT -5. The time now is 06:21 AM.