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.)
(В ответ на комментарий №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...
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?..
> 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.
(В ответ на комментарий №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.)
> (The only remaining problem is that there is no such menu entry in the Xfce > deskop environment.) Settings->Settings Manager->Power Manager (Настройки->Диспетчер настроек->Менеджер питания)