Bug 26022 - closing the lid doesn't hibernate the system on a small Asus notebook (6.0.0 beta 2011-06-20)
Summary: closing the lid doesn't hibernate the system on a small Asus notebook (6.0.0 ...
Status: CLOSED FIXED
Alias: None
Product: Simply Linux
Classification: Distributions
Component: bugs (show other bugs)
Version: 6.0
Hardware: all Linux
: P3 major
Assignee: mex3
QA Contact: Andrey Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-10 05:08 MSK by Ivan Zakharyaschev
Modified: 2011-09-05 20:27 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
(Настройки->Диспетчер настроек->Менеджер питания)