You are not logged in.
hi.
I just saw that ubuntu 11.04 manages to make suspend work on my desktop pc. Well it seems to do a pm-suspend-hybrid because it takes some times to write to disk.
So I would like to make it work on archlinux. I have installed kernel26-2.6.38.8-1, pm-utils, upower
So I changed the line in grub1 config to
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/46209430-52e9-4d73-accd-2775bc078852 resume=/dev/disk/by-uuid/fb056260-637e-4fee-bedf-49d3d9a02626 ro quiet vga=869
* first: pm-suspend suspend the pc. but when I press the button to resume I just got a blank screen powered up. It seems the kernel is not even up. Because I see the suspend hook in /var/log/pm-suspend.log but nothing for the resume neither a resume log and nothing in /var/log/messages.log about a resume or a failed resume.
* for pm-hibernate that I run from a console
it blanks the screen and show up the console again after half a second. When I look at /var/log/messages.log, I see it shuts down the devices but initiates a wake-up right after it just finished !
I don't know where to start to trouble shoot that. the arch wiki page for pm-utils gives me no clue on what is wrong
and I got no idea which hook vould be wrong and what to change to pm-utils config
NOTE: I have not changed anything to pm-utils config after installing it
I would prefer to use the vanilla kernel
Last edited by solstice (2011-06-10 10:19:03)
Offline
* first: pm-suspend suspend the pc. but when I press the button to resume I just got a blank screen powered up. It seems the kernel is not even up. Because I see the suspend hook in /var/log/pm-suspend.log but nothing for the resume neither a resume log and nothing in /var/log/messages.log about a resume or a failed resume.
Do you have the resume hook in mkinitcpio.conf ?
Offline
yes
HOOKS="base udev autodetect sata usbinput keymap resume filesystems consolefont"and I run
mkinitcpio -p kernel26after the change
Once, the system has resumed (from suspend), I can ping it from another PC on the LAN but not ssh into it (it works any other time). ssh does not respond with anything
Last edited by solstice (2011-06-10 16:01:55)
Offline
I have the same problem. Hibernation seems to work after switching off gnome 3 screen lock option but resume from suspend does not. I can suspend but cannot resume after suspend. When I resume I just get blank screen (nothing there) and no key works. I am running 2.6.39 ARCH on HP Pavillion DV6.
EDIT: I have incorporated resume HOOK and removed autodetect as per pm-utils wiki. I also ran the command to regenerate kernel image.
Last edited by amsri (2011-06-20 22:08:28)
Offline
I think I have tried almost all the suggestions found in wiki and forums but it is always blank upon resume. Could somebody help please.
Offline
I also have this problem with Gnome 3 and from the command line.
Pm-hibernate works perfectly.
Pm-suspend seems to suspend fine, it reports success for all the hooks in /var/log/pm-suspend.log. The problem is nothing seems to happen after I resume from suspend. Nothing about resuming is reported in the log after the success in suspending.
I do have the 'resume' hook in mkinitcpio.conf. I have not tried without it but that doesn't seem to matter according to posts here I think. The same goes for 'autodetect'.
I have no idea what could be wrong or where to start looking.
Offline
Do you have Sandy Bridge Hardware?
see https://bbs.archlinux.org/viewtopic.php … 70#p938170
Offline
If "kernel" pm-utils doesn't work, you could try to use it with different back-ends. Perhaps, using uswsusp could solved your problem. See: https://wiki.archlinux.org/index.php/Uswsusp.
Also, if you use graphic driver with KMS, you shouldn't use "vga=" parameter for kernel. See KMS (Kernel Mode Setting) at https://wiki.archlinux.org/index.php/Intel
S-
Offline
Sorry for not specifying which hardware I was talking about...
Do you have Sandy Bridge Hardware?
see https://bbs.archlinux.org/viewtopic.php … 70#p938170
No, it's an AMD Sempron and an (AM2) Asus M2V motherboard.
If "kernel" pm-utils doesn't work, you could try to use it with different back-ends. Perhaps, using uswsusp could solved your problem. See: https://wiki.archlinux.org/index.php/Uswsusp.
Also, if you use graphic driver with KMS, you shouldn't use "vga=" parameter for kernel. See KMS (Kernel Mode Setting) at https://wiki.archlinux.org/index.php/Intel
I'm using the 'nvidia' drivers with a Geforce 7600. I tried it with 'nouveau' drivers (without vga=xxx) but that resulted in garbeled graphics after resuming from pm-hibernate. Pm-hibernate works fine with the 'nvidia' drivers though. I can't remember if the 'nouveau' drivers worked with pm-suspend.
I suppose I will have to try using another backend. Good suggestion.
Offline