Sleep and standby in Linux

Source: Internet
Author: User
Article Title: Sleep and standby in Linux. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems and open-source and other basic classification kernel 2.6.23 before to use suspend2-source, then use tuxonice-source.
 
1. Install tuxonice-source and hibernate-script
 
The former is the kernel source package with sleep and standby patches, and the latter provides scripts for users to execute sleep and standby.
 
2. Compile the kernel
 
Below is my configuration
 
  
     
      * Power Management support │ │ │ │ [ ] Legacy Power Management API (DEPRECATED) │ │ │ │ [ ] Power Management Debug Support │ │ │ │ *] Suspend to RAM and standby │ │ │ │ *] Hibernation (aka 'suspend to disk') │ │ │ │ () Default resume partition │ │ │ │ <*> Enhanced Hibernation (TuxOnIce) --->--- Enhanced Hibernation TuxOnIce) │ │ │ │ --- Image Storage (you need at least one allocator) │ │ │ │ <*> File Allocator │ │ │ │ <*> Swap Allocator │ │ │ │ --- General Options │ │ │ │ <*> Compression support │ │ │ │ <*> Userspace User Interface support │ │ │ │ (/usr/local/sbin/tuxonice_fbsplash) Default userui program location │ │ │ │ [ ] Allow Keep Image Mode │ │ │ │ *] Replace swsusp by default │ │ │ │ < > Cluster support ---> │ │ │ │ *] Checksum pageset2 │ │ │ │ (25) Default waiting time for emergency boot messages │ │
     

 
3. Use the new kernel
 
Used in terminal and X
 
Try hibernate-n and hibernate-ram-n respectively. If everything is normal, it indicates that the configuration is correct and can be used normally (remove the following-n)
 
4. The problem that hibernate-ram cannot resume -- vbetool
 
At the beginning, after standby on my dell 1400 book, the screen will become very dark and dark, and there will be no things in the terminal, but the machine is running. After searching, we found that we needed to use vbetool to install vbetool, and then open
 
  

     
      ### vbetoolEnableVbetool yes
     

 
Try again and everything will be normal.
 
The notebook has the standby and sleep functions to reflect its value!
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.