Bug 26022

Summary: closing the lid doesn't hibernate the system on a small Asus notebook (6.0.0 beta 2011-06-20)
Product: Simply Linux Reporter: Ivan Zakharyaschev <imz>
Component: bugsAssignee: mex3 <mex3>
Status: CLOSED FIXED QA Contact: Andrey Cherepanov <cas>
Severity: major    
Priority: P3 CC: sem
Version: 6.0   
Hardware: all   
OS: Linux   

Description Ivan Zakharyaschev 2011-08-10 05:08:40 MSK
After installing Simply Linux 6.0.0 beta 2011-06-20, sleeping/hibernation didn't work on an Asus small notebook (NoteBook PC / S200) when closing the lid.

(Also, I didn't understand whether hibernation worked when done from the menu: the system went down, the power was off, but when I tuned the power on the next time by pushing the poser button on the computer, the computer just booted normally, the previous state wasn't restored.)
Comment 1 Ivan Zakharyaschev 2011-09-04 21:30:53 MSK
(В ответ на комментарий №0)

> (Also, I didn't understand whether hibernation worked when done from the menu:
> the system went down, the power was off, but when I tuned the power on the next
> time by pushing the poser button on the computer, the computer just booted
> normally, the previous state wasn't restored.)

And /etc/sysconfig/grub2 doesn't contain a "resume" option in the kernel command line:

$ fgrep -i cmdline /etc/sysconfig/grub2 
GRUB_CMDLINE_LINUX_DEFAULT='panic=30 splash'
GRUB_CMDLINE_LINUX='failsafe vga=normal'
$ 

I don't know why suspend&resume hasn't been configured by the installation...
Comment 2 Ivan Zakharyaschev 2011-09-04 22:09:39 MSK
And after I have appended resume=/dev/sda1 option to GRUB_CMDLINE_LINUX_DEFAULT, pm-hibernate and resume works. Why wasn't this done by the installation?

How do I make closing of the lid make the system hibernate now?..
Comment 3 Mikhail Efremov 2011-09-04 22:24:41 MSK
> And after I have appended resume=/dev/sda1 option to
> GRUB_CMDLINE_LINUX_DEFAULT, pm-hibernate and resume works. Why wasn't this done
> by the installation?

Yes, there was a bug, but this was fixed in later versions.

> How do I make closing of the lid make the system hibernate now?..

You can chose the desired behavior in the power manager's settings.
Comment 4 Ivan Zakharyaschev 2011-09-04 22:56:51 MSK
(В ответ на комментарий №3)

> > How do I make closing of the lid make the system hibernate now?..
> 
> You can chose the desired behavior in the power manager's settings.

Thanks, I have set it up in xfce4-power-manager-settings. 

(The only remaining problem is that there is no such menu entry in the Xfce deskop environment.)
Comment 5 Mikhail Efremov 2011-09-05 20:27:52 MSK
> (The only remaining problem is that there is no such menu entry in the Xfce
> deskop environment.)

Settings->Settings Manager->Power Manager
(Настройки->Диспетчер настроек->Менеджер питания)