Re: new laptop: how2 enable suspend / hibernate?
On Tue, Jun 25, 2024 at 3:34 PM Van Snyder wrote: > > On Tue, 2024-06-25 at 09:47 -0400, Lee wrote: > > My old laptop died - a tiny little pop and it powered off. So I've > lost my implementation reference. > > If you can get the disk drive out of your old laptop, get a USB adapter for > it. Then you can look at your installation logs. I hadn't thought of that -- thanks! > But I can't suspend or hibernate the laptop :( Both options are > greyed out. How do I enable suspend / hibernate? Not being able to do suspend or hibernate seems to be a function of UEFI boot. I never figured out how to do UEFI boot before, so I never had a problem with suspend or hibernate. I seem to have found a work-around tho.. lee@laptop:~$ cat /etc/sudoers.d/adm-grp-privs # members of the adm group can run certain commands as root without supplying # a password # Andrei POPESCU Sun, Dec 5, 2021 at 10:46 AM # To: debian-user@lists.debian.org # Re: Don't try this at home kids Cmnd_AliasADM_COMMANDS = /usr/bin/dmesg, \ /usr/bin/apt list, \ /usr/bin/apt update, \ /usr/bin/systemctl suspend /usr/sbin/checkrestart, \ /usr/sbin/needrestart, \ /usr/sbin/reboot, \ %adm ALL = (root) NOPASSWD: ADM_COMMANDS lee@laptop:~$ cat ~/bin/sleep #!/bin/bash # put the machine to sleep (i hope. how to know **for sure**?? sudo systemctl suspend and make a keyboard shortcut so that s calls ~/lee/bin/sleep so members of the adm group can do certain commands with sudo privs and then Lee
Re: new laptop: how2 enable suspend / hibernate?
On Tue, 2024-06-25 at 09:47 -0400, Lee wrote: > My old laptop died - a tiny little pop and it powered off. So I've > lost my implementation reference. If you can get the disk drive out of your old laptop, get a USB adapter for it. Then you can look at your installation logs. > My new laptop is a Lenovo v15 G3 - installing > debian-12.5.0-amd64-netinst.iso from a flash drive was trivially > easy. > Whoever worked on the how to install Debian from flash did an > excellent job. > > But I can't suspend or hibernate the laptop :( Both options are > greyed out. How do I enable suspend / hibernate? > > TIA, > Lee >
new laptop: how2 enable suspend / hibernate?
My old laptop died - a tiny little pop and it powered off. So I've lost my implementation reference. My new laptop is a Lenovo v15 G3 - installing debian-12.5.0-amd64-netinst.iso from a flash drive was trivially easy. Whoever worked on the how to install Debian from flash did an excellent job. But I can't suspend or hibernate the laptop :( Both options are greyed out. How do I enable suspend / hibernate? TIA, Lee
Re: Help! Borked suspend/hibernate after adding swap partition
Le 14/12/2019 à 16:35, Ottavio Caruso a écrit : On Sat, 14 Dec 2019 at 13:47, Pascal Hambourg wrote: Le 14/12/2019 à 14:20, Ottavio Caruso a écrit : I've also added: GRUB_CMDLINE_LINUX_DEFAULT="resume d823f1ee-2e16-4327-b0c1-639f377002bb" Wrong syntax. It should be "resume=UUID=d823...". This will override the RESUME value embedded into the initramfs by update-initramfs. Thanks. So, if it is already embedded in initramfs, does it make sense to have that line in /etc/default/grub? Only if you need to override the resume value embedded in the initramfs. Shall I just use the default boot option? Either is fine.
Re: Help! Borked suspend/hibernate after adding swap partition
On Sat, 14 Dec 2019 at 13:47, Pascal Hambourg wrote: > > Le 14/12/2019 à 14:20, Ottavio Caruso a écrit : > (...) > > I've also added: > > GRUB_CMDLINE_LINUX_DEFAULT="resume d823f1ee-2e16-4327-b0c1-639f377002bb" > > Wrong syntax. It should be "resume=UUID=d823...". > This will override the RESUME value embedded into the initramfs by > update-initramfs. Thanks. So, if it is already embedded in initramfs, does it make sense to have that line in /etc/default/grub? Shall I just use the default boot option? -- Ottavio Caruso
Re: Help! Borked suspend/hibernate after adding swap partition
Le 14/12/2019 à 14:20, Ottavio Caruso a écrit : $ sudo update-initramfs -u -k all update-initramfs: Generating /boot/initrd.img-4.9.0-11-amd64 I: The initramfs will attempt to resume from /dev/sda7 I: (UUID=d823f1ee-2e16-4327-b0c1-639f377002bb) I: Set the RESUME variable to override this. (...) I've also added: GRUB_CMDLINE_LINUX_DEFAULT="resume d823f1ee-2e16-4327-b0c1-639f377002bb" Wrong syntax. It should be "resume=UUID=d823...". This will override the RESUME value embedded into the initramfs by update-initramfs. to /etc/default/grub and "sudo update-grub" but I don't have "/etc/initramfs-tools/conf.d/resume" Is this file necessary? No. This file used to define the RESUME variable, but it is not created by the installer any more and RESUME can be defined in any other configuration file in /etc/initramfs-tools/conf.d or in /etc/initramfs-tools/initramfs.conf. If RESUME is not defined, update-initramfs will use the active swap.
Re: Help! Borked suspend/hibernate after adding swap partition
Le 14/12/2019 à 12:26, Ottavio Caruso a écrit : $ sudo update-initramfs -u -k all update-initramfs: Generating /boot/initrd.img-4.9.0-11-amd64 I: The initramfs will attempt to resume from /dev/sda7 I: (UUID=d823f1ee-2e16-4327-b0c1-639f377002bb) I: Set the RESUME variable to override this. I'll reboot and test it and we'll take it from there. (Not sure if reboot is needed) Reboot is needed to run the new initramfs.
Re: Help! Borked suspend/hibernate after adding swap partition
Le 14/12/2019 à 10:43, Alexander V. Makartsev a écrit : Simple swap partition creation is not enough for hibernation to work, it also has to be configured in initrd. [2] Despite the file name it is no longer an initrd but an initramfs. https://wiki.debian.org/Hibernation#Changing_or_moving_the_swap_partition The advice of reinstalling initramfs-tools given in this wiki page is just crazy. You only need to rebuild the initramfs with update-initramfs -u -k all However I fail to understand the relationsip between the swap and suspend-to-RAM.
Re: Help! Borked suspend/hibernate after adding swap partition
On 13.12.2019 23:44, Ottavio Caruso wrote: > Hi, > > I'm running LMDE3 (based on Debian oldstable) on Thinkpad Edge E130. > I'm not getting much support lately from the Mint forums and that's > why I'm posting here. > > This laptop had been running happily with a mere 4GB RAM and no swap > until a few weeks ago, when I had to compile a big programme (Liferea) > and the compiler complained that it was running out of virtual memory. > > So I made a 8GB partition and formatted it as swap. This is where all > problems started. Since then, suspend to ram has stopped working as it > was (the laptop resumes spontaneously overnight without any > interactions; the battery drains and the laptop shuts down, creating > filesystem corruption). > > Hibernate doesn't work either. When I open the lid, instead of > resuming from disk, the laptop just reboots, and, from dmesg I can see > that it wasn't shut down properly. > > This is giving me headaches, as you can imagine. If I manually disable > swap (sudo swapoff -a), all goes back to normal and suspend works > beautifully. > > At the moment, the only workaround is to disable swap before suspending. > > I have the latest kernel. Where do I start troubleshooting? Any ideas? > Best way is to start here. [1] Dealing with powerstates\hibernation could be complicated, because it depends on many factors. Simple swap partition creation is not enough for hibernation to work, it also has to be configured in initrd. [2] [1] https://www.kernel.org/doc/html/latest/power/basic-pm-debugging.html [2] https://wiki.debian.org/Hibernation#Changing_or_moving_the_swap_partition -- With kindest regards, Alexander. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄
Re: pm-utils by default on Xfce for suspend/hibernate
Le 18/10/2017 à 17:32, Alexander V. Makartsev a écrit : > I have PC with Debian 9 "stretch" x86_64 + Xfce and I never needed to > have pm-utils installed, but hibernation\suspend feature works normally > through xfce4 GUI once I set up all prerequisites for hibernation to > work (such as at least working swap and initramfs resume variable). I > also removed packages such as "uswsusp", "hibernate". I have used them > previously, but now they are unnecessary for hibernation to work on my > computer. It is the nvidia proprietary driver which causes the issue. I have no problem to suspend and hibernate with the free driver "nouveau" but the free driver is buggy (see my other question on this list) so I cannot use it. After installing the proprietary (340) one, I have no graphical bug but suspend or hibernate don't work all the time (they fails sometimes). Suspend or hibernate seems to work all the times when I triggers them with pm-utils tools. So I would like to make it the default ones. > How you start Xfce DE and did you installed "xfce4-power-manager" package? > You've said hibernation works when you trigger it manually, so check if > hibernation works via systemd: > $ systemctl hibernate I start xfce with lightdm and I have xfce4-power-manager installed. systemctl hibernate and systemctl suspend seems to work. Pétùr
Re: pm-utils by default on Xfce for suspend/hibernate
I have PC with Debian 9 "stretch" x86_64 + Xfce and I never needed to have pm-utils installed, but hibernation\suspend feature works normally through xfce4 GUI once I set up all prerequisites for hibernation to work (such as at least working swap and initramfs resume variable). I also removed packages such as "uswsusp", "hibernate". I have used them previously, but now they are unnecessary for hibernation to work on my computer. How you start Xfce DE and did you installed "xfce4-power-manager" package? You've said hibernation works when you trigger it manually, so check if hibernation works via systemd: $ systemctl hibernate On 18.10.2017 18:26, Pétùr wrote: > On my computer (Debian sid), with a nvidia graphical card and the 340 > proprietary driver, suspend/hibernate does not work with xfce tools. > > I means that xfce4-session-logout --suspend does not work for example. > > But pm-suspend or pm-hibernate works perfectly. > > And I can launch them as user because I edited my /etc/sudoers file with: > > my_user ALL = NOPASSWD: /usr/sbin/pm-hibernate > my_user ALL = NOPASSWD: /usr/sbin/pm-suspend > > So I would like to make pm-utils tools the default ones for > suspend/hibernate in Xfce. pm-utils commands should be triggered when > clicking "suspend/hibernate" on the xfce logout window. > > How can I do that? > -- With kindest regards, Alexander. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄
pm-utils by default on Xfce for suspend/hibernate
On my computer (Debian sid), with a nvidia graphical card and the 340 proprietary driver, suspend/hibernate does not work with xfce tools. I means that xfce4-session-logout --suspend does not work for example. But pm-suspend or pm-hibernate works perfectly. And I can launch them as user because I edited my /etc/sudoers file with: my_user ALL = NOPASSWD: /usr/sbin/pm-hibernate my_user ALL = NOPASSWD: /usr/sbin/pm-suspend So I would like to make pm-utils tools the default ones for suspend/hibernate in Xfce. pm-utils commands should be triggered when clicking "suspend/hibernate" on the xfce logout window. How can I do that?
Re: suspend / hibernate
I have obsession installed on my Debian 8.1 Fluxbox system and it works great. Check the package server repository with contrib and non-free added to the /etc/sources.list file (su nano) and update w/ apt-get update. Then download/install the obsession package. It will list two executables in /usr/bin. obsession-logout and obsession-exit. I use obsession-logout. It displays a selection with buttons for the various choices. It's a session management application for lightweight window managers. -- Mail -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150811101723.5f80e6a460e330ca35965...@frontier.com
Re: All roads to suspend/hibernate lead through systemd?
On Oct 18, 2014 2:00 PM, "Nate Bargmann" wrote: > > No, this is not a troll (seems like that is necessary to state up > front). I have been experimenting with dropping systemd from my laptop > running Sid but find that even with xfce4-power-manager suspend nor > hibernate are available any more unless I install the policykit-1 > package recommended by the upower package which depends on > libpam-systemd which, even if I install systemd-shim, also installs the > systemd package as a dependency, even though it won't run as PID 1. > > Has anyone worked out a way to enable suspend in xfce4-power-manager > without ultimately installing systemd? > I faced the same thing when I removed systemd. So I instead got acpi working to do a suspend when I close the lid (just like I used to in the good old days)
Re: All roads to suspend/hibernate lead through systemd?
On Sat, 18 Oct 2014 19:53:38 -0700 (PDT) Rusi Mody wrote: > On Saturday, October 18, 2014 11:40:01 PM UTC+5:30, Nate Bargmann > wrote: > > No, this is not a troll (seems like that is necessary to state up > > front). I have been experimenting with dropping systemd from my > > laptop running Sid but find that even with xfce4-power-manager > > suspend nor hibernate are available any more unless I install the > > policykit-1 package recommended by the upower package which depends > > on libpam-systemd which, even if I install systemd-shim, also > > installs the systemd package as a dependency, even though it won't > > run as PID 1. > > Just a heads up. > xfce on jessie with systemd > > A couple of weeks ago in trying to get round some dependency issues > I needed to install policykit that did: > > libpolkit-agent-1-0 (0.105-6.1) > libpolkit-backend-1-0 (0.105-6.1) > policykit-1 (0.105-6.1) > > After that direct poweroff from the xfce panel has stopped working > ie whether I choose logout or shutdown, it only logs out, ie closes > startx and puts me back in console shell. > > [Oh and BTW about 6 months or so back gdm stopped working and Ive > switched to startx > ] > > Datum: up-to-date sid, systemd, xfce, same policykit stuff plus a bit more at 0.105-7, GUI shutdown still OK. I gave up on gdm when it went to gdm3, I'm using kdm. -- Joe -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141019111828.4f3bf...@jresid.jretrading.com
insane hibernation policy (war: Re: All roads to suspend/hibernate lead through systemd?)
Hi Joe, Am Samstag, 18. Oktober 2014, 21:17:48 schrieb Joe: > On Sat, 18 Oct 2014 12:44:23 -0500 > > Nate Bargmann wrote: > > No, this is not a troll (seems like that is necessary to state up > > front). I have been experimenting with dropping systemd from my > > laptop running Sid but find that even with xfce4-power-manager > > suspend nor hibernate are available any more unless I install the > > policykit-1 package recommended by the upower package which depends on > > libpam-systemd which, even if I install systemd-shim, also installs > > the systemd package as a dependency, even though it won't run as PID > > 1. > > > > Has anyone worked out a way to enable suspend in xfce4-power-manager > > without ultimately installing systemd? > > No, but this sheds a little light elsewhere. About a year ago I was on > LXDE, and suddenly the GUI shutdown and reboot stopped working. I spent > a month or so typing in a password in order to shut down my single-user > workstation, then got fed up with it. There seemed to be no suggestion > as to when it might be fixed, nor any hint that I needed to install > anything else, so I switched to Xfce. > > I've never got suspend, hibernate etc. to stay working properly on sid > for any length of time, and the only non-sid Linux installation I have > is a server, so I don't use them. Look here: Bug #727645 [polkit-kde-1] polkit-kde-1: requires root password for hibernate, wrongly reports other users are logged https://bugs.debian.org/727645 Bug #717731 [upower] upower: authentification is required for hibernating while other users are logged in https://bugs.debian.org/717731 and more recently here: Bug#747939: systemd: prevents hibernation without password with open screen session in other login session https://bugs.debian.org/747939 I am not even sure that has been all reports of mine. I had it with a second KDE session, I have it with a screen session inside a KDE session, in any account it was so dire insane it isn´t even funny anymore. I still have the following polkit in there, cause with two KDE sessions open I think I still have the issue: merkaba:/etc/polkit-1> cat ./localauthority/50- local.d/org.freedesktop.upower.pkla [Suspend/hibernate permissions] Identity=unix-group:sudo Action=org.freedesktop.login1.hibernate-multiple- sessions;org.freedesktop.login1.suspend-multiple-sessions ResultAny=yes ResultInactive=yes ResultActive=yes I think any asking for a password on a *single seat* machine for hibernation is a bug, is a bug, is a bug. I am the only one with a keyboard on it, and I am the only one allowed to SSH into it, so I am the only one permitted to hibernate the system. And if I do this from a unlocked desktop session, I am authenticated already, so please just leave me *alone*. I dislike software that tries to be more intelligent as me. I dislike policies like this limiting my freedom. And I invite you to comment or add to the bug reports I mentioned, or if they are closed already, and you still have an issue, open a new one and tell me. So far it feels to me that I have been the only one yelling to the developers regarding that dire policy insanity. Its as insane as requiring a root login for Linus daughter in order to set up a printer in some OpenSUSE version. I may one day try again without the above file to make policykit policy sane. It might even be important, cause if Jessie gets released with that insanity, I can only imagine the uproar here on this list, in bug tracker, and elsewhere. Well, maybe it has been fixed meanwhile, I didn´t try removing the file for a while. Cause honestly I couldn´t be bothered with this kind of dire insanity anymore. But on any account, people, please report bugs. Please make your voice regarding systemd and/or policykit troubles be heard. As long as I am one of the few reporting things there… chances are I might get ignored again. Of course it also depends on the tone. Express your anger and your frustration in a "I am" way? Sure. But avoid accusing or insulting people. So please don´t just use above work-around – or policy *correction* – also voice your concern, and if it is a simple "I have this issue two with this and that…" mail to one of the existing bug reports. Thanks, -- Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1590834.76OczWI13J@merkaba
Re: All roads to suspend/hibernate lead through systemd?
On Sat, 18 Oct 2014 19:53:38 -0700 (PDT) Rusi Mody wrote: > On Saturday, October 18, 2014 11:40:01 PM UTC+5:30, Nate Bargmann > wrote: > > No, this is not a troll (seems like that is necessary to state up > > front). I have been experimenting with dropping systemd from my > > laptop running Sid but find that even with xfce4-power-manager > > suspend nor hibernate are available any more unless I install the > > policykit-1 package recommended by the upower package which depends > > on libpam-systemd which, even if I install systemd-shim, also > > installs the systemd package as a dependency, even though it won't > > run as PID 1. > > Just a heads up. > xfce on jessie with systemd > > A couple of weeks ago in trying to get round some dependency issues > I needed to install policykit that did: > > libpolkit-agent-1-0 (0.105-6.1) > libpolkit-backend-1-0 (0.105-6.1) > policykit-1 (0.105-6.1) > > After that direct poweroff from the xfce panel has stopped working > ie whether I choose logout or shutdown, it only logs out, ie closes > startx and puts me back in console shell. > > [Oh and BTW about 6 months or so back gdm stopped working and Ive > switched to startx > ] There's a certain irony. First, IMHO startx is better than booting directly to GUI. Secondly, now that stopping X gets you to the command prompt, you can type whatever shutdown/reboot/poweroff command you want. Unless those were messed up too. SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141019002453.34efc...@mydesq2.domain.cxm
Re: All roads to suspend/hibernate lead through systemd?
On Saturday, October 18, 2014 11:40:01 PM UTC+5:30, Nate Bargmann wrote: > No, this is not a troll (seems like that is necessary to state up > front). I have been experimenting with dropping systemd from my laptop > running Sid but find that even with xfce4-power-manager suspend nor > hibernate are available any more unless I install the policykit-1 > package recommended by the upower package which depends on > libpam-systemd which, even if I install systemd-shim, also installs the > systemd package as a dependency, even though it won't run as PID 1. Just a heads up. xfce on jessie with systemd A couple of weeks ago in trying to get round some dependency issues I needed to install policykit that did: libpolkit-agent-1-0 (0.105-6.1) libpolkit-backend-1-0 (0.105-6.1) policykit-1 (0.105-6.1) After that direct poweroff from the xfce panel has stopped working ie whether I choose logout or shutdown, it only logs out, ie closes startx and puts me back in console shell. [Oh and BTW about 6 months or so back gdm stopped working and Ive switched to startx ] -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/698e102e-2d11-43a0-80ce-d7b7fc390...@googlegroups.com
Re: All roads to suspend/hibernate lead through systemd?
On Sat, Oct 18, 2014 at 09:17:48PM +0100, Joe wrote: > On Sat, 18 Oct 2014 12:44:23 -0500 > Nate Bargmann wrote: > > > No, this is not a troll (seems like that is necessary to state up > > front). I have been experimenting with dropping systemd from my > > laptop running Sid but find that even with xfce4-power-manager > > suspend nor hibernate are available any more unless I install the > > policykit-1 package recommended by the upower package which depends on > > libpam-systemd which, even if I install systemd-shim, also installs > > the systemd package as a dependency, even though it won't run as PID > > 1. > > > > Has anyone worked out a way to enable suspend in xfce4-power-manager > > without ultimately installing systemd? > > > > > > No, but this sheds a little light elsewhere. About a year ago I was on > LXDE, and suddenly the GUI shutdown and reboot stopped working. I spent > a month or so typing in a password in order to shut down my single-user > workstation, then got fed up with it. There seemed to be no suggestion > as to when it might be fixed, nor any hint that I needed to install > anything else, so I switched to Xfce. > > I've never got suspend, hibernate etc. to stay working properly on sid > for any length of time, and the only non-sid Linux installation I have > is a server, so I don't use them. > No, but the last time I've tried to say that and quote Slav, who claimed similar problem, my message did not reach the list. signature.asc Description: Digital signature
Re: All roads to suspend/hibernate lead through systemd?
On Sat, 18 Oct 2014 12:44:23 -0500 Nate Bargmann wrote: > No, this is not a troll (seems like that is necessary to state up > front). I have been experimenting with dropping systemd from my > laptop running Sid but find that even with xfce4-power-manager > suspend nor hibernate are available any more unless I install the > policykit-1 package recommended by the upower package which depends on > libpam-systemd which, even if I install systemd-shim, also installs > the systemd package as a dependency, even though it won't run as PID > 1. > > Has anyone worked out a way to enable suspend in xfce4-power-manager > without ultimately installing systemd? > > No, but this sheds a little light elsewhere. About a year ago I was on LXDE, and suddenly the GUI shutdown and reboot stopped working. I spent a month or so typing in a password in order to shut down my single-user workstation, then got fed up with it. There seemed to be no suggestion as to when it might be fixed, nor any hint that I needed to install anything else, so I switched to Xfce. I've never got suspend, hibernate etc. to stay working properly on sid for any length of time, and the only non-sid Linux installation I have is a server, so I don't use them. -- Joe -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141018211748.1a0bf...@jresid.jretrading.com
All roads to suspend/hibernate lead through systemd?
No, this is not a troll (seems like that is necessary to state up front). I have been experimenting with dropping systemd from my laptop running Sid but find that even with xfce4-power-manager suspend nor hibernate are available any more unless I install the policykit-1 package recommended by the upower package which depends on libpam-systemd which, even if I install systemd-shim, also installs the systemd package as a dependency, even though it won't run as PID 1. Has anyone worked out a way to enable suspend in xfce4-power-manager without ultimately installing systemd? - Nate -- "The optimist proclaims that we live in the best of all possible worlds. The pessimist fears this is true." Ham radio, Linux, bikes, and more: http://www.n0nb.us -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141018174423.gl3...@n0nb.us
Suspend/hibernate menu options missing from KDE
Dear Debian User, I am using a Jessie, and largely have KDE 4.11. I am trying to configure my KDE to allow sleep on lid close and such goodness. In the Power Management section of my KDE System Settings, I am unable to find any sleep/suspend options. Likewise, the K Menu's Leave section also has only "Restart" and "Shut Down" in the relevant sections. However, sudo pm-suspend and sudo pm-hibernate and sudo pm-suspend, indeed, do what I want. >From searching online, I found that the output of both of these commands in "false": qdbus org.freedesktop.PowerManagement /org/freedesktop/PowerManagementorg.freedesktop.PowerManagement.CanHibernate qdbus org.freedesktop.PowerManagement /org/freedesktop/PowerManagement org.freedesktop.PowerManagement.CanSuspend In addition, my /etc/default/acpi-support has this: ACPI_SLEEP=true ACPI_HIBERNATE=true LOCK_SCREEN=true LID_SLEEP=true #LID_SHUTDOWN=true DISPLAY_DPMS=xset XRANDR_OUTPUT=LVDS #DISPLAY_DPMS_NO_USER=true However, closing the lid only locks my screen, and doesn't "suspend" my computer. Would you be able to suggest something? Thanks. Kumar -- Anyone want the new supermount? :) whats new aboutit klogd: It cleans whiter than white. :) -- Seen on #Linux -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140817070756.GA15207@odessa
[SOLVED] Re: Nouveau Resume from Suspend/Hibernate Screen Corruption
On Wed, 23 Jul 2014 03:15:04 +, Dan Sommers wrote: > The thought of less proprietary software is nice ... https://wiki.debian.org/NvidiaGraphicsDrivers#Installation -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/lr0gn6$61a$1...@ger.gmane.org
Re: Nouveau Resume from Suspend/Hibernate Screen Corruption
On Tue, 22 Jul 2014 16:59:08 +0200, Vincent Lefevre wrote: > On 2014-07-22 05:29:48 +, Dan Sommers wrote: >> I just upgraded from the proprietary nvidia video driver to nouveau, >> and > > I wouldn't call that an upgrade (except that nouveau is free). I feel a little forced into it. After a normal apt-get update, apt-get upgrade cycle, some of the nvidia stuff disappeared, and after a new kernel and a reboot, I didn't have any X at all. >> now I am experiencing another variation of a screen corruption issue >> when resuming from suspend/hibernate [...] > Something related to the following bug? > > https://bugs.freedesktop.org/show_bug.cgi?id=72979 Similar, but my symptoms are *not* after a cold boot or a logout, *only* after a suspend/resume or hibernate/resume cycle. > I plan to switch to the nvidia driver because of this bug. The thought of less proprietary software is nice, but I may be heading back to the nvidia driver soon, too. Thanks, Dan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/lqn9bo$joa$1...@ger.gmane.org
Re: Nouveau Resume from Suspend/Hibernate Screen Corruption
On 2014-07-22 05:29:48 +, Dan Sommers wrote: > I just upgraded from the proprietary nvidia video driver to nouveau, and I wouldn't call that an upgrade (except that nouveau is free). > now I am experiencing another variation of a screen corruption issue > when resuming from suspend/hibernate. When I resume, the screen saver > takes over, and then I enter my password, and everything seems to work, > except that the display is all messed up. I can see the outlines of > windows, menus, terminal cursors, and other UI elements, but large > patches of window content is either just black, or looks like random > noise, or sort of looks recognizable but not quite. Something related to the following bug? https://bugs.freedesktop.org/show_bug.cgi?id=72979 I plan to switch to the nvidia driver because of this bug. -- Vincent Lefèvre - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140722145908.ga31...@xvii.vinc17.org
Re: Nouveau Resume from Suspend/Hibernate Screen Corruption
On 07/22/2014 01:29 AM, Dan Sommers wrote: Greetings, I just upgraded from the proprietary nvidia video driver to nouveau, and now I am experiencing another variation of a screen corruption issue when resuming from suspend/hibernate. When I resume, the screen saver takes over, and then I enter my password, and everything seems to work, except that the display is all messed up. I can see the outlines of windows, menus, terminal cursors, and other UI elements, but large patches of window content is either just black, or looks like random noise, or sort of looks recognizable but not quite. If I log out, lightdm comes up just fine, and then everything is okay. When the screen is messed up, none of xrefresh, xrandr, or switching to a different virtual terminal fixes it. My /var/log/Xorg.0.log file is about 32k, so I hesitate to post it in its entirety, but I can do so if it will help, or I can search for specific information and just post that. Hardware-wise, I'm running on a Sager NP-8130, aka Clevo P151HM1. The video card is an nVIDIA GeForce GTX 560M. Kernel-wise, I'm running 3.14.12-1 straight out of Debian's "testing" distribution. What other information can I provide? Any thoughts or suggestions? I finally ripped out (purge) every package that had anything to do with nvidia, removed /etc/X11/xorg,conf and installed the run package (vers 340.24) straight from nvidia. I am pleased to report that everything runs just peachy and that java OpenWonderland 3D app that was failing right and left now work perfectly. I have not experienced one problem at all and I'm running two GT-520 cards with four monitors. If you have nvidia, try the source when all else fails from the repo. Ric -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/53ce0ffe.2010...@gmail.com
Nouveau Resume from Suspend/Hibernate Screen Corruption
Greetings, I just upgraded from the proprietary nvidia video driver to nouveau, and now I am experiencing another variation of a screen corruption issue when resuming from suspend/hibernate. When I resume, the screen saver takes over, and then I enter my password, and everything seems to work, except that the display is all messed up. I can see the outlines of windows, menus, terminal cursors, and other UI elements, but large patches of window content is either just black, or looks like random noise, or sort of looks recognizable but not quite. If I log out, lightdm comes up just fine, and then everything is okay. When the screen is messed up, none of xrefresh, xrandr, or switching to a different virtual terminal fixes it. My /var/log/Xorg.0.log file is about 32k, so I hesitate to post it in its entirety, but I can do so if it will help, or I can search for specific information and just post that. Hardware-wise, I'm running on a Sager NP-8130, aka Clevo P151HM1. The video card is an nVIDIA GeForce GTX 560M. Kernel-wise, I'm running 3.14.12-1 straight out of Debian's "testing" distribution. What other information can I provide? Any thoughts or suggestions? Thanks, Dan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/lqkssb$o8p$1...@ger.gmane.org
Re: KDE suspend / hibernate just executes the screensaver
On Wed, 12 Sep 2012 07:39:23 +0200, Matthias Bodenbinder wrote: > I am running Mint LMDE with incoming repos = basically debian testing. Basically? Mmm... :-) > On the commandline I can suspend and hibernate the computer with > pm-suspend and pm-hibernate. But when I click on the Suspend or > Hibernate button in the KDE exit dialog only the screensaver gets > started. > > What is missing? It sounds like a possible bug from one of the kde workspace packages. AFAIK, those buttons are not meant to be editable by the user and my guess is that both call some kind of d-bus command (→ powerdevil) to suspend/hibernate the system which is failing here. I would report this at your distribution bug tracking system. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/k2q9nk$3v1$1...@ger.gmane.org
Re: KDE suspend / hibernate just executes the screensaver
On Wed, 2012-09-12 at 07:39 +0200, Matthias Bodenbinder wrote: > I am running Mint And I'm running AV Linux. I experienced that AV Linux is more Debian, than Mint is ;). Andrei already explained in German, that the help you can get from Debian users is limited. Mint isn't Debian, while AV Linux is Debian, but cobbled together, something that's also has it's drawbacks. Regards, Ralf -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1347462001.1250.54.camel@localhost.localdomain
Re: KDE suspend / hibernate just executes the screensaver
On Mi, 12 sep 12, 07:39:23, Matthias Bodenbinder wrote: > Hi, > > I have posted the same question today in german language. Sorry for > that. Here it is in english. > > I am running Mint LMDE with incoming repos = basically debian testing. As I mentioned in my other mail, just because LMDE is based on Debian there is no way for us to know if any advise applicable to Debian will work there. Have you tried asking in LMDE forums? > On the commandline I can suspend and hibernate the computer with > pm-suspend and pm-hibernate. But when I click on the Suspend or > Hibernate button in the KDE exit dialog only the screensaver gets started. > > What is missing? Kind regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
KDE suspend / hibernate just executes the screensaver
Hi, I have posted the same question today in german language. Sorry for that. Here it is in english. I am running Mint LMDE with incoming repos = basically debian testing. On the commandline I can suspend and hibernate the computer with pm-suspend and pm-hibernate. But when I click on the Suspend or Hibernate button in the KDE exit dialog only the screensaver gets started. What is missing? Ciao Matthias -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/k2p76b$87o$1...@ger.gmane.org
Re: [Solved] Suspend/Hibernate under Debian
On Fri, 29 Jan 2010 21:06:42 + (UTC) T o n g wrote: > On Fri, 29 Jan 2010 14:17:06 -0500, Celejar wrote: > > >> shutdown method = shutdown > > > > Don't really understand this stuff well, but have you tried the > > 'platform' method? > > I'm able to shut down fine, so that irrelevant. Right. > >> $ blkid | grep sda9 > >> /dev/sda9: LABEL="swap" UUID="05858bd5-e713-421a-a4c3-02fda431ec44" > >> TYPE="swap" > > . . . > > I see that I have a file /etc/initramfs-tools/conf.d/resume, containing > > the line: > > > > RESUME=UUID=4b33b853-b245-4ec1-b649-c14f9a9b9907 > > > > Do you have such a file, with similar contents? > > Ok, just created one (don't know if it is necessary though), then re- > create initramfs: > > $ cat /etc/initramfs-tools/conf.d/resume > RESUME=UUID=05858bd5-e713-421a-a4c3-02fda431ec44 > > % update-initramfs -u > update-initramfs: Generating /boot/initrd.img-2.6.31-grml64 > > $ tail -3 /boot/grub/menu.lst > title os1 :: Debian kernel 2.6.31-grml64 > kernel /boot/vmlinuz-2.6.31-grml64 root=/dev/sda6 ro vga=normal > initrd /boot/initrd.img-2.6.31-grml64 > > Hooray!!! > > It resumes fine!!! > > The only difference is the /etc/initramfs-tools/conf.d/resume file. > > Thanks a lot, Celejar. Glad we got it sorted out, but I wonder why that file wasn't automatically created. I'm pretty sure that I never had to do it manually. Celejar -- foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Suspend/Hibernate under Debian
On Fri, 29 Jan 2010 21:06:42 +, T o n g wrote: > - > "Please recommend a good article/blog/site for me to follow". > > The best places are the included docs, ie, > > /usr/share/doc/uswsusp/README > /usr/share/doc/uswsusp/README.Debian > /usr/share/doc/uswsusp/README.s2ram-whitelist.gz And the hibernate package will help to avoid all the quirks. Question: ,- | If you are using the hibernate script with vanilla swsusp or | Software Suspend 2, then it is strongly recommended that you | install the script init.d/hibernate-cleanup.sh into | /etc/init.d (or the relevant place on your distribution), and | arrange for it to be run on boot from rcS.d, somewhere before | enabling swap or clearing out /var/run, but after mounting your | filesystems (/var in particular). `- Any one knows what number should I prefix hibernate-cleanup.sh in rcS.d to satisfy above? -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
[Solved] Suspend/Hibernate under Debian
On Fri, 29 Jan 2010 14:17:06 -0500, Celejar wrote: >> shutdown method = shutdown > > Don't really understand this stuff well, but have you tried the > 'platform' method? I'm able to shut down fine, so that irrelevant. >> $ blkid | grep sda9 >> /dev/sda9: LABEL="swap" UUID="05858bd5-e713-421a-a4c3-02fda431ec44" >> TYPE="swap" > . . . > I see that I have a file /etc/initramfs-tools/conf.d/resume, containing > the line: > > RESUME=UUID=4b33b853-b245-4ec1-b649-c14f9a9b9907 > > Do you have such a file, with similar contents? Ok, just created one (don't know if it is necessary though), then re- create initramfs: $ cat /etc/initramfs-tools/conf.d/resume RESUME=UUID=05858bd5-e713-421a-a4c3-02fda431ec44 % update-initramfs -u update-initramfs: Generating /boot/initrd.img-2.6.31-grml64 $ tail -3 /boot/grub/menu.lst title os1 :: Debian kernel 2.6.31-grml64 kernel /boot/vmlinuz-2.6.31-grml64 root=/dev/sda6 ro vga=normal initrd /boot/initrd.img-2.6.31-grml64 Hooray!!! It resumes fine!!! The only difference is the /etc/initramfs-tools/conf.d/resume file. Thanks a lot, Celejar. BTW, just for the archive, - I took a closer look, but I didn't spot anything relevant on resume info in /var/log/dmesg or /var/log/syslog. - > "Please recommend a good article/blog/site for me to follow". The best places are the included docs, ie, /usr/share/doc/uswsusp/README /usr/share/doc/uswsusp/README.Debian /usr/share/doc/uswsusp/README.s2ram-whitelist.gz cheers -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Suspend/Hibernate under Debian
On Fri, 29 Jan 2010 14:10:19 -0500, Celejar wrote: >> What does you kernel line look like in your lilo/grub1/grub2 >> configuration. I think it may be helpful to have a resume= argument >> there somewhere. > > I actually don't have 'resume' arguments in my kernel lines, yes, the resume= argument is only useful for suspend2/tuxonice. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Suspend/Hibernate under Debian
On Fri, 29 Jan 2010 18:52:37 + (UTC) T o n g wrote: > On Fri, 29 Jan 2010 13:32:53 -0500, Celejar wrote: > > >> and s2disk preserves the system and shuts down fine. > >> > >> However, on turning on the machine, everything goes back to old routine > >> and does a normal boot, instead of resuming from my suspension. What > >> I've missed? > > > > It looks like the kernel / initrd isn't properly configured to use the > > resume image. I'm not really expert on this stuff, but please post: > > > > a) your uswsusp.conf > > $ cat /etc/uswsusp.conf > # /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both > resume device = /dev/sda9 > compress = y > early writeout = y > image size = 1786029178 > shutdown method = shutdown > #compute checksum = y Don't really understand this stuff well, but have you tried the 'platform' method? > I've double checked again that "resume device" and "image size" settings > are appropriate: > > $ blkid | grep sda9 > /dev/sda9: LABEL="swap" UUID="05858bd5-e713-421a-a4c3-02fda431ec44" > TYPE="swap" > > $ cat /proc/meminfo | grep MemTotal > MemTotal:3791672 kB > > > b) (relevant parts of) the dmesg / syslog from a boot after a suspend > > Hmm... I didn't spot anything relevant in /var/log/dmesg or /var/log/ > syslog. Could you post yours so that I know what to look for pleae? I'll see if I can get any useful dmesg output next time I resume. You mentioned running update-initramfs - forgive a dumb question, but did you do that after configuring uswsusp? I see that I have a file /etc/initramfs-tools/conf.d/resume, containing the line: RESUME=UUID=4b33b853-b245-4ec1-b649-c14f9a9b9907 Do you have such a file, with similar contents? Celejar -- foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Suspend/Hibernate under Debian
On Fri, 29 Jan 2010 13:03:57 -0600 "Boyd Stephen Smith Jr." wrote: > On Friday 29 January 2010 12:32:53 Celejar wrote: ... > > It looks like the kernel / initrd isn't properly configured to use the > > resume image. > > What does you kernel line look like in your lilo/grub1/grub2 configuration. > I > think it may be helpful to have a resume= argument there somewhere. I actually don't have 'resume' arguments in my kernel lines, e.g. (from my grub menu.lst): kernel /vmlinuz-2.6.32-lizzie cryptopts=target=hda4_crypt,source=/dev/hda4,lvm=lizzie-root root=/dev/m apper/lizzie-root ro i915.modeset=0 In fact, I have no mention of resume anywhere in the file (except in a documentation comment / example). Celejar -- foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Suspend/Hibernate under Debian
On Friday 29 January 2010 12:32:53 Celejar wrote: > On Fri, 29 Jan 2010 17:59:13 + (UTC) > T o n g wrote: > > Thanks, I managed to successfully > > > > - install uswsusp > > - configed /etc/uswsusp.conf > > - did update-initramfs -u > > > > and s2disk preserves the system and shuts down fine. > > > > However, on turning on the machine, everything goes back to old routine > > and does a normal boot, instead of resuming from my suspension. > > What I've missed? > > It looks like the kernel / initrd isn't properly configured to use the > resume image. What does you kernel line look like in your lilo/grub1/grub2 configuration. I think it may be helpful to have a resume= argument there somewhere. -- Boyd Stephen Smith Jr. ,= ,-_-. =. b...@iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/\_/ signature.asc Description: This is a digitally signed message part.
Re: Suspend/Hibernate under Debian
On Fri, 29 Jan 2010 13:32:53 -0500, Celejar wrote: >> and s2disk preserves the system and shuts down fine. >> >> However, on turning on the machine, everything goes back to old routine >> and does a normal boot, instead of resuming from my suspension. What >> I've missed? > > It looks like the kernel / initrd isn't properly configured to use the > resume image. I'm not really expert on this stuff, but please post: > > a) your uswsusp.conf $ cat /etc/uswsusp.conf # /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both resume device = /dev/sda9 compress = y early writeout = y image size = 1786029178 shutdown method = shutdown #compute checksum = y I've double checked again that "resume device" and "image size" settings are appropriate: $ blkid | grep sda9 /dev/sda9: LABEL="swap" UUID="05858bd5-e713-421a-a4c3-02fda431ec44" TYPE="swap" $ cat /proc/meminfo | grep MemTotal MemTotal:3791672 kB > b) (relevant parts of) the dmesg / syslog from a boot after a suspend Hmm... I didn't spot anything relevant in /var/log/dmesg or /var/log/ syslog. Could you post yours so that I know what to look for pleae? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Suspend/Hibernate under Debian
On Fri, 29 Jan 2010 17:59:13 + (UTC) T o n g wrote: ... > Thanks, I managed to successfully > > - install uswsusp > - configed /etc/uswsusp.conf > - did update-initramfs -u > > and s2disk preserves the system and shuts down fine. > > However, on turning on the machine, everything goes back to old routine > and does a normal boot, instead of resuming from my suspension. > What I've missed? It looks like the kernel / initrd isn't properly configured to use the resume image. I'm not really expert on this stuff, but please post: a) your uswsusp.conf b) (relevant parts of) the dmesg / syslog from a boot after a suspend Celejar -- foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Suspend/Hibernate under Debian
On Thu, 28 Jan 2010 22:53:28 -0500, Celejar wrote: >> I'm trying to get Suspend/Hibernate works with my Debian Laptop. Please >> recommend a good article/blog/site for me to follow. . . > > YMMV, but in my experience, s2disk "just works", while s2ram has never > really worked for me. IIUC, s2disk is much less dependent on > undocumented, mysterious hardware quirks than s2ram. Thanks, I managed to successfully - install uswsusp - configed /etc/uswsusp.conf - did update-initramfs -u and s2disk preserves the system and shuts down fine. However, on turning on the machine, everything goes back to old routine and does a normal boot, instead of resuming from my suspension. What I've missed? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Suspend/Hibernate under Debian
On Fri, 29 Jan 2010 10:11:29 +0100 Sven Joachim wrote: ... > The uswsusp package does not seem to be well maintained and has > accumulated six release critical bugs¹ which prevent it from being in > squeeze. What's really worrisome is that there is no visible reaction > from the maintainer. Hm, I had no idea. I'm not sure why apt-listbugs didn't howl when I upgraded to 0.8-1.2, but so far, I haven't been bitten by these bugs - I guess that I've been lucky. In any event, when I originally wrote 's2disk', I really meant the in-kernel suspend-to-disk functionality, which can be invoked in various other ways. Moreover, in the most common use case for suspending, where a machine will be disconnected from its external power source, it's not a great idea to use suspend-to-ram without a working suspend-to-disk backup, since if the internal battery drains before the external power source is reconnected, the system will crash, with possible data loss, etc. Celejar -- foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Suspend/Hibernate under Debian
On 2010-01-29 05:45 +0100, Celejar wrote: > On Fri, 29 Jan 2010 04:10:28 + (UTC) > T o n g wrote: > >> On Thu, 28 Jan 2010 22:53:28 -0500, Celejar wrote: >> >> > YMMV, but in my experience, s2disk "just works" >> >> I'm afraid that's old solution -- >> >> You have searched for files named s2disk in suite squeeze, all sections, >> and all architectures. >> >> Sorry, your search gave no results > > It's certainly not an "old solution". s2disk is in the uswsusp package, > and I use it several times a day on my uptodate Sid system. The uswsusp package does not seem to be well maintained and has accumulated six release critical bugs¹ which prevent it from being in squeeze. What's really worrisome is that there is no visible reaction from the maintainer. Sven ¹ http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=uswsusp&sev-inc=critical&sev-inc=grave&sev-inc=serious -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Suspend/Hibernate under Debian
On Fri, 29 Jan 2010 04:10:28 + (UTC) T o n g wrote: > On Thu, 28 Jan 2010 22:53:28 -0500, Celejar wrote: > > > YMMV, but in my experience, s2disk "just works" > > I'm afraid that's old solution -- > > You have searched for files named s2disk in suite squeeze, all sections, > and all architectures. > > Sorry, your search gave no results It's certainly not an "old solution". s2disk is in the uswsusp package, and I use it several times a day on my uptodate Sid system. Celejar -- foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Suspend/Hibernate under Debian
On Thu, 28 Jan 2010 22:53:28 -0500, Celejar wrote: > YMMV, but in my experience, s2disk "just works" I'm afraid that's old solution -- You have searched for files named s2disk in suite squeeze, all sections, and all architectures. Sorry, your search gave no results -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Suspend/Hibernate under Debian
On Thu, 28 Jan 2010 23:23:56 + (UTC) T o n g wrote: > Hi, > > I'm trying to get Suspend/Hibernate works with my Debian Laptop. Please > recommend a good article/blog/site for me to follow. > > I've done some extensive search, but it's still not working. I first > tried suspend to ram (because I know suspend to disk need extra work), > but the symptom is similar to YMMV, but in my experience, s2disk "just works", while s2ram has never really worked for me. IIUC, s2disk is much less dependent on undocumented, mysterious hardware quirks than s2ram. Celejar -- foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Suspend/Hibernate under Debian
Hi, I'm trying to get Suspend/Hibernate works with my Debian Laptop. Please recommend a good article/blog/site for me to follow. I've done some extensive search, but it's still not working. I first tried suspend to ram (because I know suspend to disk need extra work), but the symptom is similar to Laptop won't resume from suspend to ram http://thread.gmane.org/gmane.linux.debian.user/370058/focus=370097 My case: the machine won't resume from a suspend to ram. It's not just a problem with a blank screen upon resuming; the machine actually gets completely frozen. I can hear the hard disk spinning though. and I can see the the wireless LED come on when resuming, then nothing else. Ctrl-Alt-F1, Ctrl-Alt-Del, and even Caplock keys won't respond. Following suggestions from it, I did PM_DEBUG=1 pm-suspend (as root) and check the log file /var/log/pm-suspend.log, and it seems to have suspended fine. The last several meaningful lines are: + [ Thu Jan 28 17:48:01 EST 2010: performing suspend = -n ] + printf %s\n Thu Jan 28 17:48:01 EST 2010: performing suspend Thu Jan 28 17:48:01 EST 2010: performing suspend + sync + do_suspend + echo -n mem And after that all garbage. The Suspend/resume works out of box in Unbunto, on my Acer Aspire (AS5536). I wasn't able to test Hibernation under Unbunto because it is not available. Please help. Thanks PS. I'll quote one page that I found that precisely express my frustration: "I’ve been working with Linux for ten years now. I have seen issues come and I have seen them go. But there’s one issue that has always surprised me because it just seems to never go away: Suspend/Hibernate. I am always so surprised about this because it just seems like a fundamental issue on laptops - and let’s face it, laptops are standard issue for many people - you close the lid, the laptop suspends. ... it seems to me that hibernate and suspend IS a need that should be given a high priority. And it seems it is starting to gain some traction. There’s a new site called the Ubuntu Brainstorm that allows users to add ideas for Ubuntu and vote up or down ideas that are already posted (as well as comment on ideas)..." http://blogs.techrepublic.com.com/opensource/?p=175&tag=rbxccnbtr1 -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: How to make suspend/hibernate buttons work
On Thursday 19 February 2009 11:28:49 Aneurin Price wrote: > On Wed, Feb 18, 2009 at 10:46 PM, David Jarvie wrote: > > On Wednesday 18 February 2009 22:37:56 you wrote: > >> On Wednesday 18 February 2009 11:48:38 am David Jarvie wrote: > >> > No - PowerDevil is the replacement in KDE4 for KPowerSave. It looks as > >> > if global shortcuts to control it is something which still needs to be > >> > implemented. > >> > >> Did you try adding yourself to the powerdev group though? You will need > >> to logout and login to get the change recognized. > > > > I am already in the powerdev group. I can use the KDE4 menu options to > > suspend or hibernate - it's just the buttons which don't work. There is a > > KDE bug requesting global shortcuts to be added to PowerDevil > > (https://bugs.kde.org/show_bug.cgi?id=182538). > > Is there a command line to suspend or hibernate? Does PowerDevil have a > dbus interface for those actions? If either of those is yes, then you > could use KHotkeys, which allows you to create global shortcuts for > arbitrary commands. In systemsettings, go to 'Input Actions', then > right-click in the blank space on the left-hand pane (yes, the area that > doesn't look interactive in any way), and create a new global shortcut. If > PowerDevil does expose those actions via dbus then that's probably the > best route, in case it doesn't like something else hibernating the > machine. There's a dbus browser which seems alright. > > Nye > > (PS. Thanks for motivating me to figure out WTH the Input Actions control > module is for, and how to wrestle with its dire UI) Thank you. I too once looked at KHotkeys and couldn't figure out how it was supposed to be used. I managed to configure a suspend D-Bus action set up as follows: Remote application: org.kde.powerdevilsystem Remote object: /modules/powerdevil Function: suspend Arguments: 2 Hibernate is set up exactly the same but the argument is 4 instead of 2. There are also other options available (shutdown, etc.) - see the enum IdleAction in PowerDevil's source code kdebase/workspace/powerdevil/daemon/PowerDevilDaemon.h -- David Jarvie -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: How to make suspend/hibernate buttons work
On Wed, Feb 18, 2009 at 10:46 PM, David Jarvie wrote: > On Wednesday 18 February 2009 22:37:56 you wrote: >> On Wednesday 18 February 2009 11:48:38 am David Jarvie wrote: >> > No - PowerDevil is the replacement in KDE4 for KPowerSave. It looks as if >> > global shortcuts to control it is something which still needs to be >> > implemented. >> >> Did you try adding yourself to the powerdev group though? You will need to >> logout and login to get the change recognized. > > I am already in the powerdev group. I can use the KDE4 menu options to suspend > or hibernate - it's just the buttons which don't work. There is a KDE bug > requesting global shortcuts to be added to PowerDevil > (https://bugs.kde.org/show_bug.cgi?id=182538). > Is there a command line to suspend or hibernate? Does PowerDevil have a dbus interface for those actions? If either of those is yes, then you could use KHotkeys, which allows you to create global shortcuts for arbitrary commands. In systemsettings, go to 'Input Actions', then right-click in the blank space on the left-hand pane (yes, the area that doesn't look interactive in any way), and create a new global shortcut. If PowerDevil does expose those actions via dbus then that's probably the best route, in case it doesn't like something else hibernating the machine. There's a dbus browser which seems alright. Nye (PS. Thanks for motivating me to figure out WTH the Input Actions control module is for, and how to wrestle with its dire UI) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: How to make suspend/hibernate buttons work
On Wednesday 18 February 2009 22:37:56 you wrote: > On Wednesday 18 February 2009 11:48:38 am David Jarvie wrote: > > No - PowerDevil is the replacement in KDE4 for KPowerSave. It looks as if > > global shortcuts to control it is something which still needs to be > > implemented. > > Did you try adding yourself to the powerdev group though? You will need to > logout and login to get the change recognized. I am already in the powerdev group. I can use the KDE4 menu options to suspend or hibernate - it's just the buttons which don't work. There is a KDE bug requesting global shortcuts to be added to PowerDevil (https://bugs.kde.org/show_bug.cgi?id=182538). -- David Jarvie -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: How to make suspend/hibernate buttons work
On Wednesday 18 February 2009 18:26:09 you wrote: > On Wednesday 18 February 2009 10:27:32 am David Jarvie wrote: > > Unfortunately I can't find any power management functions in the global > > shortcuts in System Settings. Are there any alternative ways of setting > > up hotkeys? > > Are you using KPowersave? If so, you can set the key events in the General > Settings tab of the configuration. If those options are set, you also need > to make sure that your user is a member of the powerdev group. I ran into > this problem with my Lenovo and all I needed to do was add myself to the > powerdev group. No - PowerDevil is the replacement in KDE4 for KPowerSave. It looks as if global shortcuts to control it is something which still needs to be implemented. -- David Jarvie. KAlarm author and maintainer. http://www.astrojar.org.uk/kalarm -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: How to make suspend/hibernate buttons work
On Wednesday 18 February 2009 13:44:31 Aneurin Price wrote: > On Wed, Feb 18, 2009 at 12:49 PM, David Jarvie wrote: > > On my Lenovo 3000 N200 laptop, the suspend and hibernate functions work > > when I invoke them from the KDE4 logout dialog. However, the Sleep and > > Hibernate keys (Fn-F4 and Fn-F12) do nothing when pressed. They don't > > seem to generate ACPI events - the system log shows nothing when they are > > pressed. How can I set up these keys to work? I'm running lenny. > > I'm not currently at a machine where I can check this, but assuming they > generate the correct keypress events you should be able to set up global > shortcuts in systemsettings to do this. (Under 'Keyboard and Mouse'>'Global > Keyboard Shortcuts', IIRC) > > Or possibly you've already tried that and there are no power management > functions there after all... Unfortunately I can't find any power management functions in the global shortcuts in System Settings. Are there any alternative ways of setting up hotkeys? -- David Jarvie. KAlarm author and maintainer. http://www.astrojar.org.uk/kalarm -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: How to make suspend/hibernate buttons work
On Wed, Feb 18, 2009 at 12:49 PM, David Jarvie wrote: > On my Lenovo 3000 N200 laptop, the suspend and hibernate functions work when I > invoke them from the KDE4 logout dialog. However, the Sleep and Hibernate keys > (Fn-F4 and Fn-F12) do nothing when pressed. They don't seem to generate ACPI > events - the system log shows nothing when they are pressed. How can I set up > these keys to work? I'm running lenny. > I'm not currently at a machine where I can check this, but assuming they generate the correct keypress events you should be able to set up global shortcuts in systemsettings to do this. (Under 'Keyboard and Mouse'>'Global Keyboard Shortcuts', IIRC) Or possibly you've already tried that and there are no power management functions there after all... Nye -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
How to make suspend/hibernate buttons work
On my Lenovo 3000 N200 laptop, the suspend and hibernate functions work when I invoke them from the KDE4 logout dialog. However, the Sleep and Hibernate keys (Fn-F4 and Fn-F12) do nothing when pressed. They don't seem to generate ACPI events - the system log shows nothing when they are pressed. How can I set up these keys to work? I'm running lenny. -- David Jarvie -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: suspend/hibernate in gnome-lenny
El Wednesday 10 September 2008 02:51:42 Cassiano Leal escribió: > Did you check that your user is in the powerdev group? > > $ groups > > Check that powerdev is in the list of groups. If not, > > $ sudo adduser powerdev > > Log out and in again, and retry. > > Cheers, > Cassiano Leal Thank you for your answers, I'm on the powerdev group and I've already tweak visudo to run s2ram/s2disk without propmpting for a password... I'm figuring what is called when performing an action through gnome-power-manager (i.e., when clicking the shutdown button and selecting suspend or hibernate in the gnome window that appears). I'll keep searching... Regards -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: suspend/hibernate in gnome-lenny
On Tue, Sep 9, 2008 at 4:46 PM, fraydiógenes <[EMAIL PROTECTED]> wrote: > El Tuesday 09 September 2008 20:34:32 Richard Möhn escribió: > > On Tue, Sep 09, 2008 at 07:46:03PM +0200, Moisés Redondo wrote: > > > Hello, I'm trying to make my laptop (Dell Precision M65) suspend and > > > hibernate in gnome. > > > > > > The problem is that I can't make gnome to use s2ram/s2disk commands > > > automatically. I can suspend and hibernate from a terminal but I can't > do > > > it through gnome applets or the shutdown button (when it asks you if > you > > > want to suspend,hibernate,reboot,cancel or shutdown). > > > > > > I' ve read that tweaking the scripts in /usr/lib/hal/scripts/linux > could > > > do the trick, but it doesn't work. I've changed > > > hal-system-power-suspend-linux to use a custom script using s2ram but > it > > > simply ignores it. > > > > > > The only thing I can get is a nice popup error message. > > > > > > I remember having done this before in other installations of lenny/etch > > > and being able to suspend/hibernate but now it is imposible. Is it that > > > gnome-power-manager doesn't uses hal-scripts anymore? > > > > > > Any ideas? > > > > > > fray diógenes > > > > I think doing this with some manipulations in /etc/sudoers it will > > work, so you can run these commands as normal user. But since I haven't > > already done something with this file I can't say how you have to do > > this and if it would be the right way. > > > > With the best greetings > > > > Richard > > > > Thank you for your answer, but I've already done that. > > In fact, I've made a custom script with s2ram and put it > in /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux, > replacing the original one, but gnome seems to ignore it. I can run the > script > from the command line without problems but when I do it through the > button-applet it doesn't work. > > Regards > > fray diógenes > Did you check that your user is in the powerdev group? $ groups Check that powerdev is in the list of groups. If not, $ sudo adduser powerdev Log out and in again, and retry. Cheers, Cassiano Leal
Re: suspend/hibernate in gnome-lenny
El Tuesday 09 September 2008 20:34:32 Richard Möhn escribió: > On Tue, Sep 09, 2008 at 07:46:03PM +0200, Moisés Redondo wrote: > > Hello, I'm trying to make my laptop (Dell Precision M65) suspend and > > hibernate in gnome. > > > > The problem is that I can't make gnome to use s2ram/s2disk commands > > automatically. I can suspend and hibernate from a terminal but I can't do > > it through gnome applets or the shutdown button (when it asks you if you > > want to suspend,hibernate,reboot,cancel or shutdown). > > > > I' ve read that tweaking the scripts in /usr/lib/hal/scripts/linux could > > do the trick, but it doesn't work. I've changed > > hal-system-power-suspend-linux to use a custom script using s2ram but it > > simply ignores it. > > > > The only thing I can get is a nice popup error message. > > > > I remember having done this before in other installations of lenny/etch > > and being able to suspend/hibernate but now it is imposible. Is it that > > gnome-power-manager doesn't uses hal-scripts anymore? > > > > Any ideas? > > > > fray diógenes > > I think doing this with some manipulations in /etc/sudoers it will > work, so you can run these commands as normal user. But since I haven't > already done something with this file I can't say how you have to do > this and if it would be the right way. > > With the best greetings > > Richard > Thank you for your answer, but I've already done that. In fact, I've made a custom script with s2ram and put it in /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux, replacing the original one, but gnome seems to ignore it. I can run the script from the command line without problems but when I do it through the button-applet it doesn't work. Regards fray diógenes -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: suspend/hibernate in gnome-lenny
El Tuesday 09 September 2008 20:34:32 Richard Möhn escribió: > On Tue, Sep 09, 2008 at 07:46:03PM +0200, Moisés Redondo wrote: > > Hello, I'm trying to make my laptop (Dell Precision M65) suspend and > > hibernate in gnome. > > > > The problem is that I can't make gnome to use s2ram/s2disk commands > > automatically. I can suspend and hibernate from a terminal but I can't do > > it through gnome applets or the shutdown button (when it asks you if you > > want to suspend,hibernate,reboot,cancel or shutdown). > > > > I' ve read that tweaking the scripts in /usr/lib/hal/scripts/linux could > > do the trick, but it doesn't work. I've changed > > hal-system-power-suspend-linux to use a custom script using s2ram but it > > simply ignores it. > > > > The only thing I can get is a nice popup error message. > > > > I remember having done this before in other installations of lenny/etch > > and being able to suspend/hibernate but now it is imposible. Is it that > > gnome-power-manager doesn't uses hal-scripts anymore? > > > > Any ideas? > > > > fray diógenes > > I think doing this with some manipulations in /etc/sudoers it will > work, so you can run these commands as normal user. But since I haven't > already done something with this file I can't say how you have to do > this and if it would be the right way. > > With the best greetings > > Richard > Thank you for your answer, but I've already done that. In fact, I've made a custom script with s2ram and put it in /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux, replacing the original one, but gnome seems to ignore it. I can run the script from the command line without problems but when I do it through the button-applet it doesn't work. Regards -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: suspend/hibernate in gnome-lenny
On Tue, Sep 09, 2008 at 07:46:03PM +0200, Moisés Redondo wrote: > Hello, I'm trying to make my laptop (Dell Precision M65) suspend and > hibernate > in gnome. > > The problem is that I can't make gnome to use s2ram/s2disk commands > automatically. I can suspend and hibernate from a terminal but I can't do it > through gnome applets or the shutdown button (when it asks you if you want to > suspend,hibernate,reboot,cancel or shutdown). > > I' ve read that tweaking the scripts in /usr/lib/hal/scripts/linux could do > the trick, but it doesn't work. I've changed hal-system-power-suspend-linux > to use a custom script using s2ram but it simply ignores it. > > The only thing I can get is a nice popup error message. > > I remember having done this before in other installations of lenny/etch and > being able to suspend/hibernate but now it is imposible. Is it that > gnome-power-manager doesn't uses hal-scripts anymore? > > Any ideas? > > fray diógenes > I think doing this with some manipulations in /etc/sudoers it will work, so you can run these commands as normal user. But since I haven't already done something with this file I can't say how you have to do this and if it would be the right way. With the best greetings Richard > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- Richard Möhn, Laußnitz in Sachsen Public Key-ID: 4385C7FB Fingerprint: D74B F0D6 52BD C802 F5E2 B5BF 78AB 5563 4385 C7FB signature.asc Description: Digital signature
suspend/hibernate in gnome-lenny
Hello, I'm trying to make my laptop (Dell Precision M65) suspend and hibernate in gnome. The problem is that I can't make gnome to use s2ram/s2disk commands automatically. I can suspend and hibernate from a terminal but I can't do it through gnome applets or the shutdown button (when it asks you if you want to suspend,hibernate,reboot,cancel or shutdown). I' ve read that tweaking the scripts in /usr/lib/hal/scripts/linux could do the trick, but it doesn't work. I've changed hal-system-power-suspend-linux to use a custom script using s2ram but it simply ignores it. The only thing I can get is a nice popup error message. I remember having done this before in other installations of lenny/etch and being able to suspend/hibernate but now it is imposible. Is it that gnome-power-manager doesn't uses hal-scripts anymore? Any ideas? fray diógenes PD: excuses for my English... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: suspend / hibernate
On Fri, Aug 08, 2008 at 10:44:14AM -0400, Rob Mahurin wrote: > On Aug 8, 2008, at 12:40 AM, Dale wrote: >> 2008/8/6 Dale <[EMAIL PROTECTED]>: >>> Hi all, >>> >>> I have had this problem for a little while now, when I come out of >>> suspend / hibernation on on my Acer Aspire 5601AWLMi laptop I have >>> very high system load. I am wondering if any one else has or noticed >>> this problem. I have been informed it is a kernel problem and I am >>> at >>> a lost how to debug it. >>> >>> If am one can help with this problem it be very appreciated >> [.] >> >> After doing some research and testing I still have not been able to >> stop the initial system load when coming out of suspend / hibernate. >> The commands 'ps aux' and 'top' are to showing me what is causing the >> system load. > > from the proc(5) man page: > >> /proc/loadavg >>The load average numbers give the number of jobs in the >>run queue (state R) or waiting for disk I/O (state D) >>averaged over 1, 5, and 15 minutes. They are the same >>as the load average numbers given by uptime(1) and other >>programs. > > While your machine is suspended, isn't every process waiting? So if > your machine has 150 processes running and a normal load of 0, and the > suspend/resume occupies the processor for 0.1 minutes = six seconds, the > one-minute load average should jump up to 15? Even if no processes are > waiting after the resume, the one-minute average won't go back down for > ... a minute. > > Have you actually tried a benchmark, instead of looking at the system > load? Something like > > $ for i in $(seq 10) ; do date ; time head -c 100 /dev/urandom | > md5sum ; done 2>&1 | grep ^real > $ sudo suspend ; for i in $(seq 10) ; do date ; time head -c 100 / > dev/urandom | md5sum ; done 2>&1 | grep ^real > > This would give you an idea of how long soon after the suspend your > machine gets back to its normal speed. The "load average" may not mean > what it usually does here. > > I haven't followed the thread closely, apologies if this is duplicate > information. very nice deduction. I'll run that next time I suspend... thanks A signature.asc Description: Digital signature
Re: suspend / hibernate
On Aug 8, 2008, at 12:40 AM, Dale wrote: 2008/8/6 Dale <[EMAIL PROTECTED]>: Hi all, I have had this problem for a little while now, when I come out of suspend / hibernation on on my Acer Aspire 5601AWLMi laptop I have very high system load. I am wondering if any one else has or noticed this problem. I have been informed it is a kernel problem and I am at a lost how to debug it. If am one can help with this problem it be very appreciated [.] After doing some research and testing I still have not been able to stop the initial system load when coming out of suspend / hibernate. The commands 'ps aux' and 'top' are to showing me what is causing the system load. from the proc(5) man page: /proc/loadavg The load average numbers give the number of jobs in the run queue (state R) or waiting for disk I/O (state D) averaged over 1, 5, and 15 minutes. They are the same as the load average numbers given by uptime(1) and other programs. While your machine is suspended, isn't every process waiting? So if your machine has 150 processes running and a normal load of 0, and the suspend/resume occupies the processor for 0.1 minutes = six seconds, the one-minute load average should jump up to 15? Even if no processes are waiting after the resume, the one-minute average won't go back down for ... a minute. Have you actually tried a benchmark, instead of looking at the system load? Something like $ for i in $(seq 10) ; do date ; time head -c 100 /dev/urandom | md5sum ; done 2>&1 | grep ^real $ sudo suspend ; for i in $(seq 10) ; do date ; time head -c 100 / dev/urandom | md5sum ; done 2>&1 | grep ^real This would give you an idea of how long soon after the suspend your machine gets back to its normal speed. The "load average" may not mean what it usually does here. I haven't followed the thread closely, apologies if this is duplicate information. Cheers, Rob -- Rob Mahurin Dept. of Physics & Astronomy University of Tennessee phone: 865 207 2594 Knoxville, TN 37996 email: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: suspend / hibernate
... > > And the other problem I have noticed is that when I come out of > suspend or hibernate it does not notice whether I am I am on AC or not > and if I am on AC and come out suspend or hibernate it set my HDD > power management to 128 instead of 254. not much help, but I configured laptop mode to force laptop mode all the time. Basically it never acts like it's on AC, even when it is. It was better than having to force it into one more or another. I haven't played with that for a while though. A signature.asc Description: Digital signature
Re: suspend / hibernate
Hi all, 2008/8/6 Dale <[EMAIL PROTECTED]>: > Hi all, > > I have had this problem for a little while now, when I come out of > suspend / hibernation on on my Acer Aspire 5601AWLMi laptop I have > very high system load. I am wondering if any one else has or noticed > this problem. I have been informed it is a kernel problem and I am at > a lost how to debug it. > > If am one can help with this problem it be very appreciated [.] After doing some research and testing I still have not been able to stop the initial system load when coming out of suspend / hibernate. The commands 'ps aux' and 'top' are to showing me what is causing the system load. I have worked out that 'pm-utils' is what is controlling my suspend / hibernate. and this what the log has to say which is not a lot really. $ cat /var/log/pm-suspend.log Initial commandline parameters: Thu Aug 7 22:18:19 CST 2008: Running hooks for suspend. /usr/lib/pm-utils/sleep.d/00clear suspend: disabled. /usr/lib/pm-utils/sleep.d/05led suspend: not applicable. /usr/lib/pm-utils/sleep.d/10NetworkManager suspend: success. /usr/lib/pm-utils/sleep.d/49bluetooth suspend: not applicable. /usr/lib/pm-utils/sleep.d/50modules suspend: not applicable. /usr/lib/pm-utils/sleep.d/90clock suspend: success. /usr/lib/pm-utils/sleep.d/94cpufreq suspend: success. /usr/lib/pm-utils/sleep.d/95led suspend: not applicable. /usr/lib/pm-utils/sleep.d/98smart-kernel-video suspend: success. /usr/lib/pm-utils/sleep.d/99video suspend: disabled. Thu Aug 7 22:18:20 CST 2008: performing suspend Switching from vt7 to vt1 switching back to vt7 Thu Aug 7 22:18:40 CST 2008: Awake. Thu Aug 7 22:18:40 CST 2008: Running hooks for resume /usr/lib/pm-utils/sleep.d/99video resume: disabled. /usr/lib/pm-utils/sleep.d/98smart-kernel-video resume: success. /usr/lib/pm-utils/sleep.d/95led resume: not applicable. /usr/lib/pm-utils/sleep.d/94cpufreq resume: success. /usr/lib/pm-utils/sleep.d/90clock resume: success. /usr/lib/pm-utils/sleep.d/50modules resume: success. /usr/lib/pm-utils/sleep.d/49bluetooth resume: not applicable. /usr/lib/pm-utils/sleep.d/10NetworkManager resume: success. /usr/lib/pm-utils/sleep.d/05led resume: not applicable. /usr/lib/pm-utils/sleep.d/00clear resume: disabled. Thu Aug 7 22:18:41 CST 2008: Finished. I have also tinkered around with 'pm-utils' config file to control 'uswsusp' for suspend / hibernate with the same result, high system load coming out of suspend / hibernate. So at the moment I am still at a loss what is cause the high system load and how to find out what is, anyone have any advice to finding this info out please. And the other problem I have noticed is that when I come out of suspend or hibernate it does not notice whether I am I am on AC or not and if I am on AC and come out suspend or hibernate it set my HDD power management to 128 instead of 254. These are the couple pages I have found very useful for helping my out information wise for suspend / hibernate: http://en.opensuse.org/S2ram http://en.opensuse.org/Pm-utils If anyone can help with further guidence it be very appreciated. Regards Dale -- [WWW] http://southernvaleslug.org/ [IRC] #southern-vales.lug on irc.freenode.net "The significant problems we face cannot be solved at the same level of thinking we were at when we created them" Albert Einstein -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: suspend / hibernate
On Wed, 6 Aug 2008 10:07:07 +0530 "Sudev Barar" <[EMAIL PROTECTED]> wrote: > 2008/8/6 Celejar <[EMAIL PROTECTED]>: > >> > I have had this problem for a little while now, when I come out of > >> > suspend / hibernation on on my Acer Aspire 5601AWLMi laptop I have > >> > very high system load. I am wondering if any one else has or noticed > >> > this problem. I have been informed it is a kernel problem and I am at > >> > a lost how to debug it. Please watch your attributions; these are not my words. Celejar -- mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: suspend / hibernate
2008/8/6 Andrew Sackville-West <[EMAIL PROTECTED]>: >> >> How do you monitor load when suspending / hibernating? On a >> different console? > > we're talking about system load that's still hanging around *after* > resuming. When the system comes back up, and you get control back, the > system load will be very high for several seconds or more depending on > who it is... > Okay. I will also watch out for this behavour. >> Slight thread hijack but the problem I have is that hibernate works >> and I am able to recover on restart but suspend shuts down but does >> not recover. All I get is a lighted up screen (which becomes normal in >> case of hibernate) > > do you mean suspending to ram? That's a trickier deal than suspending > to disk, or hibernating. There are many possible factors involved > including whether or not to rePOST the video adapter and so > forth. read man s2ram as a starter... Thanks for pointer will look it up. -- Regards, Sudev Barar Read http://blog.sudev.in for topics ranging from here to there. PS: I know most of people do not follow email niceties (mostly they are not aware) but if you follow bottom post/in-line post style of email conversations it becomes a whole lot easier to carry on meaningful dialogue and you can snip out what is not meaningful too. Most people just hit reply button and top post leaving prior message appended uselessly at bottom. See if you can adopt this style and persuade others. In case you are already doing this . great, spread the message. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: suspend / hibernate
On Wed, Aug 06, 2008 at 10:07:07AM +0530, Sudev Barar wrote: > 2008/8/6 Celejar <[EMAIL PROTECTED]>: > >> > I have had this problem for a little while now, when I come out of > >> > suspend / hibernation on on my Acer Aspire 5601AWLMi laptop I have > >> > very high system load. I am wondering if any one else has or noticed > >> > this problem. I have been informed it is a kernel problem and I am at > >> > a lost how to debug it. > > How do you monitor load when suspending / hibernating? On a > different console? we're talking about system load that's still hanging around *after* resuming. When the system comes back up, and you get control back, the system load will be very high for several seconds or more depending on who it is... > > >> I hibernate with s2disk onto an encrypted swap partition. There is > >> definitely a lot of activity going on when it comes up... lots of disk > >> activity. But its a transient problem and doesn't really affect > >> usability that I've noticed. > > Slight thread hijack but the problem I have is that hibernate works > and I am able to recover on restart but suspend shuts down but does > not recover. All I get is a lighted up screen (which becomes normal in > case of hibernate) > I have been using the Gnome desktop GUI for suspending /hibernating. > On HP-TX1000 laptop right now the kernel is 2.6.24-19-generic on > Ubuntu but the problem was same in Debian. do you mean suspending to ram? That's a trickier deal than suspending to disk, or hibernating. There are many possible factors involved including whether or not to rePOST the video adapter and so forth. read man s2ram as a starter... A signature.asc Description: Digital signature
Re: suspend / hibernate
Hi, I have had this problem with a few different kernel versions, and suspend / hibernate only stared to work on my laptop with the acer acpi[1] module which is now default in the kernel now from 2.6.25. 2008/8/6 Shachar Or <[EMAIL PROTECTED]>: > On Tuesday 05 August 2008 17:58, Dale wrote: >> Hi all, >> >> I have had this problem for a little while now, when I come out of >> suspend / hibernation on on my Acer Aspire 5601AWLMi laptop I have >> very high system load. I am wondering if any one else has or noticed >> this problem. I have been informed it is a kernel problem and I am at >> a lost how to debug it. >> >> If am one can help with this problem it be very appreciated > > Hi! > > Perhaps you'd try a newer kernel and see? I am using kernel: # uname -r 2.6.26-1-686 > > What command/gui do you use for suspending? iirc it the 'gnome power management' >> >> Regards >> Dale >> -- >> [WWW] http://quail.southernvaleslug.org/ >> [IRC] #southern-vales.lug on irc.freenode.net >> "The significant problems we face cannot be solved at the same level of >> thinking we were at when we created them" >> Albert Einstein > > -- > Shachar Or | שחר אור > http://ox.freeallweb.org/ > > [1] http://code.google.com/p/aceracpi/ -- [WWW] http://southernvaleslug.org/ [IRC] #southern-vales.lug on irc.freenode.net "The significant problems we face cannot be solved at the same level of thinking we were at when we created them" Albert Einstein
Re: suspend / hibernate
2008/8/6 Celejar <[EMAIL PROTECTED]>: >> > I have had this problem for a little while now, when I come out of >> > suspend / hibernation on on my Acer Aspire 5601AWLMi laptop I have >> > very high system load. I am wondering if any one else has or noticed >> > this problem. I have been informed it is a kernel problem and I am at >> > a lost how to debug it. How do you monitor load when suspending / hibernating? On a different console? >> I hibernate with s2disk onto an encrypted swap partition. There is >> definitely a lot of activity going on when it comes up... lots of disk >> activity. But its a transient problem and doesn't really affect >> usability that I've noticed. Slight thread hijack but the problem I have is that hibernate works and I am able to recover on restart but suspend shuts down but does not recover. All I get is a lighted up screen (which becomes normal in case of hibernate) I have been using the Gnome desktop GUI for suspending /hibernating. On HP-TX1000 laptop right now the kernel is 2.6.24-19-generic on Ubuntu but the problem was same in Debian. -- Regards, Sudev Barar Read http://blog.sudev.in for topics ranging from here to there. PS: I know most of people do not follow email niceties (mostly they are not aware) but if you follow bottom post/in-line post style of email conversations it becomes a whole lot easier to carry on meaningful dialogue and you can snip out what is not meaningful too. Most people just hit reply button and top post leaving prior message appended uselessly at bottom. See if you can adopt this style and persuade others. In case you are already doing this . great, spread the message. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: suspend / hibernate
On Tue, 5 Aug 2008 11:09:39 -0700 Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > On Wed, Aug 06, 2008 at 12:28:50AM +0930, Dale wrote: > > Hi all, > > > > I have had this problem for a little while now, when I come out of > > suspend / hibernation on on my Acer Aspire 5601AWLMi laptop I have > > very high system load. I am wondering if any one else has or noticed > > this problem. I have been informed it is a kernel problem and I am at > > a lost how to debug it. > > > > If am one can help with this problem it be very appreciated > > I can't help, but I can confirm it. I see it on my Linux Certified > laptop, which is some kind of Asus repackage job. I see system load > spike as high as 15 or so for a few seconds and then it ramps back > down to normal after a few more seconds. I've always assumed (I know, > I know) that it was just some housekeeping involved with the recovery > from hibernate. I used to often see CPU load at 100%, and for more than a few seconds (indefinitely?), and IIRC, top showed that it was DBUS / HAL (I don't recall exactly which process it was, and I don't have a very good understanding of DBUS / HAL). Doing something like '/etc/init.d/dbus restart' would drop the load back to normal. I don't think I've seen the problem recently. Currently at 2.6.25. This is an Acer Aspire 3690-2672, Celeron M 420 @ 1.6 GhZ. > I hibernate with s2disk onto an encrypted swap partition. There is > definitely a lot of activity going on when it comes up... lots of disk > activity. But its a transient problem and doesn't really affect > usability that I've noticed. hibernate script, calling tuxonice / suspend2 > A Celejar -- mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: suspend / hibernate
I can't help, but I can confirm it. I see it on my Linux Certified laptop, which is some kind of Asus repackage job. I see system load spike as high as 15 or so for a few seconds and then it ramps back down to normal after a few more seconds. I've always assumed (I know, I know) that it was just some housekeeping involved with the recovery from hibernate. I observe the same with my Lenovo X60 tablet. I also assumed it was normal. - Chris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: suspend / hibernate
On Wed, Aug 06, 2008 at 12:28:50AM +0930, Dale wrote: > Hi all, > > I have had this problem for a little while now, when I come out of > suspend / hibernation on on my Acer Aspire 5601AWLMi laptop I have > very high system load. I am wondering if any one else has or noticed > this problem. I have been informed it is a kernel problem and I am at > a lost how to debug it. > > If am one can help with this problem it be very appreciated I can't help, but I can confirm it. I see it on my Linux Certified laptop, which is some kind of Asus repackage job. I see system load spike as high as 15 or so for a few seconds and then it ramps back down to normal after a few more seconds. I've always assumed (I know, I know) that it was just some housekeeping involved with the recovery from hibernate. I hibernate with s2disk onto an encrypted swap partition. There is definitely a lot of activity going on when it comes up... lots of disk activity. But its a transient problem and doesn't really affect usability that I've noticed. A signature.asc Description: Digital signature
Re: suspend / hibernate
On Tuesday 05 August 2008 17:58, Dale wrote: > Hi all, > > I have had this problem for a little while now, when I come out of > suspend / hibernation on on my Acer Aspire 5601AWLMi laptop I have > very high system load. I am wondering if any one else has or noticed > this problem. I have been informed it is a kernel problem and I am at > a lost how to debug it. > > If am one can help with this problem it be very appreciated Hi! Perhaps you'd try a newer kernel and see? What command/gui do you use for suspending? > > Regards > Dale > -- > [WWW] http://quail.southernvaleslug.org/ > [IRC] #southern-vales.lug on irc.freenode.net > "The significant problems we face cannot be solved at the same level of > thinking we were at when we created them" > Albert Einstein -- Shachar Or | שחר אור http://ox.freeallweb.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
suspend / hibernate
Hi all, I have had this problem for a little while now, when I come out of suspend / hibernation on on my Acer Aspire 5601AWLMi laptop I have very high system load. I am wondering if any one else has or noticed this problem. I have been informed it is a kernel problem and I am at a lost how to debug it. If am one can help with this problem it be very appreciated Regards Dale -- [WWW] http://quail.southernvaleslug.org/ [IRC] #southern-vales.lug on irc.freenode.net "The significant problems we face cannot be solved at the same level of thinking we were at when we created them" Albert Einstein -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
locking screen after suspend/hibernate
I want my screen to be locked when resuming from suspend/hibernate. I don't use any desktop environment, so I tried uncommented the following line from /etc/hibernate/common.conf : LockXtrLock yes and installed xtrlock. This does nothing, though. A little script on resume would do just fine, I suppose but I don't know how to make hibernate to call it. Any hint? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Help with suspend/hibernate in Gnome Power Manager
René Seindal wrote: Hi, I have bought a Zepto Znote 3215W laptop and installed Debian testing. The report on that is here: http://linux.seindal.dk/2008/01/28/zepto-znote-3215w-with-debian-testinglenny/ The pm-hibernate script works out of the box from the command line as root. The system resumes correctly. To get HAL to recognise the laptop I have made a file /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-zepto.fdi with this content: true Please consider sending this patch to the upstream hal mailing list, so every user of the Zepto Znote 3215W laptop can benefit from your work you've done. Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? signature.asc Description: OpenPGP digital signature
Re: Help with suspend/hibernate in Gnome Power Manager
Hi Murphy strikes again, it seems. Just as I had posted the message below, I found another thing on google, which led me to the solution: I wasn't a member of the powerdev group. Gnome Power Manager shows the Suspend and Hibernate entries anyway, but doesn't do anything if the logged in user is not a member of the powerdev group. It works now. Next thing is to let the battery drain and see if it hibernates automatically in time. René René Seindal wrote: Hi, I have bought a Zepto Znote 3215W laptop and installed Debian testing. The report on that is here: http://linux.seindal.dk/2008/01/28/zepto-znote-3215w-with-debian-testinglenny/ I have an issue with suspend and hibernate that I haven't been able to resolve alone. The pm-hibernate script works out of the box from the command line as root. The system resumes correctly. The pm-suspend script works with the --force flag, again out of the box from the command line as root. The laptop isn't listed in the database of s2ram, but it works nonetheless. That was easily solved with a file in /etc/pm/config.d/s2ram with the line: S2RAM_OPTS=--force Again, the system resumes correctly. As such, suspend and hibernate works, only it doesn't when activated through Gnome Power Manager If I try to suspend though the context menu of the applet, I immediately get a dialog with the text: Sleep Problem Your computer failed to suspend. Check the help file for common problems. This happens so fast that no attempt at suspending can be made. The website linked hasn't helped me find a solution. To get HAL to recognise the laptop I have made a file /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-zepto.fdi with this content: true and restarted HAL. That should, as far as I have understood, whitelist the laptop in HAL. After a restart of HAL I get this: # lshal | grep quirk power_management.quirk.none = true (bool) # so HAL should have picked up my entry. I tried adding dpms_on too, without any difference. Suspend/resume works with that option too. At this point I haven't found anything else to try. It seems that Gnome Power Manager simply won't recognise my laptop. The quirk-checker script isn't much of a help: # sh ~rene/Download/quirk-checker.sh Checking your system... Suspend should work! Thanks! I've been through the check list on the site, and get smilies all the way down. Looking further into what HAL thinks: # lshal | egrep -i power.?management info.interfaces = {'org.freedesktop.Hal.Device.SystemPowerManagement', 'org.freedesktop.Hal.Device.CPUFreq'} (string list) org.freedesktop.Hal.Device.SystemPowerManagement.method_argnames = {'num_seconds_to_sleep', 'num_seconds_to_sleep', '', '', '', 'enable_power_save'} (string list) org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths = {'hal-system-power-suspend', 'hal-system-power-suspend-hybrid', 'hal-system-power-hibernate', 'hal-system-power-shutdown', 'hal-system-power-reboot', 'hal-system-power-set-power-save'} (string list) org.freedesktop.Hal.Device.SystemPowerManagement.method_names = {'Suspend', 'SuspendHybrid', 'Hibernate', 'Shutdown', 'Reboot', 'SetPowerSave'} (string list) org.freedesktop.Hal.Device.SystemPowerManagement.method_signatures = {'i', 'i', '', '', '', 'b'} (string list) power_management.acpi.linux.version = '20070126' (string) power_management.can_hibernate = true (bool) power_management.can_suspend = true (bool) power_management.can_suspend_hybrid = true (bool) power_management.can_suspend_to_disk = true (bool) power_management.can_suspend_to_ram = true (bool) power_management.is_powersave_set = false (bool) power_management.quirk.dpms_on = true (bool) power_management.quirk.none = true (bool) power_management.type = 'acpi' (string) I don't know how to move on from here. I'm quite sure the power manager applet doesn't even try to run the pm-suspend script, it just decides that it won't for some reason. Help much appreciated. -- René Seindal ([EMAIL PROTECTED]) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Help with suspend/hibernate in Gnome Power Manager
Hi, I have bought a Zepto Znote 3215W laptop and installed Debian testing. The report on that is here: http://linux.seindal.dk/2008/01/28/zepto-znote-3215w-with-debian-testinglenny/ I have an issue with suspend and hibernate that I haven't been able to resolve alone. The pm-hibernate script works out of the box from the command line as root. The system resumes correctly. The pm-suspend script works with the --force flag, again out of the box from the command line as root. The laptop isn't listed in the database of s2ram, but it works nonetheless. That was easily solved with a file in /etc/pm/config.d/s2ram with the line: S2RAM_OPTS=--force Again, the system resumes correctly. As such, suspend and hibernate works, only it doesn't when activated through Gnome Power Manager If I try to suspend though the context menu of the applet, I immediately get a dialog with the text: Sleep Problem Your computer failed to suspend. Check the help file for common problems. This happens so fast that no attempt at suspending can be made. The website linked hasn't helped me find a solution. To get HAL to recognise the laptop I have made a file /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-zepto.fdi with this content: true and restarted HAL. That should, as far as I have understood, whitelist the laptop in HAL. After a restart of HAL I get this: # lshal | grep quirk power_management.quirk.none = true (bool) # so HAL should have picked up my entry. I tried adding dpms_on too, without any difference. Suspend/resume works with that option too. At this point I haven't found anything else to try. It seems that Gnome Power Manager simply won't recognise my laptop. The quirk-checker script isn't much of a help: # sh ~rene/Download/quirk-checker.sh Checking your system... Suspend should work! Thanks! I've been through the check list on the site, and get smilies all the way down. Looking further into what HAL thinks: # lshal | egrep -i power.?management info.interfaces = {'org.freedesktop.Hal.Device.SystemPowerManagement', 'org.freedesktop.Hal.Device.CPUFreq'} (string list) org.freedesktop.Hal.Device.SystemPowerManagement.method_argnames = {'num_seconds_to_sleep', 'num_seconds_to_sleep', '', '', '', 'enable_power_save'} (string list) org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths = {'hal-system-power-suspend', 'hal-system-power-suspend-hybrid', 'hal-system-power-hibernate', 'hal-system-power-shutdown', 'hal-system-power-reboot', 'hal-system-power-set-power-save'} (string list) org.freedesktop.Hal.Device.SystemPowerManagement.method_names = {'Suspend', 'SuspendHybrid', 'Hibernate', 'Shutdown', 'Reboot', 'SetPowerSave'} (string list) org.freedesktop.Hal.Device.SystemPowerManagement.method_signatures = {'i', 'i', '', '', '', 'b'} (string list) power_management.acpi.linux.version = '20070126' (string) power_management.can_hibernate = true (bool) power_management.can_suspend = true (bool) power_management.can_suspend_hybrid = true (bool) power_management.can_suspend_to_disk = true (bool) power_management.can_suspend_to_ram = true (bool) power_management.is_powersave_set = false (bool) power_management.quirk.dpms_on = true (bool) power_management.quirk.none = true (bool) power_management.type = 'acpi' (string) I don't know how to move on from here. I'm quite sure the power manager applet doesn't even try to run the pm-suspend script, it just decides that it won't for some reason. Help much appreciated. -- René Seindal ([EMAIL PROTECTED]) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]