Problem:
Suspending to RAM first time on my system works fine. Then it resume by pressing power button. But suspending again i.e. second time (no matter how much time is passed from first suspend) hangs the system. In this case Power button led remains ON. The power LED of laptop remains On (however it blinks first time when suspend works OK).
Also The problem doesn't exist on Arch Linux installed on same machine.
Suspend to RAM: Tried with XFCE Desktop Environment. Tried with
Code:
echo mem > /sys/power/state
Tried with X server
Tried with Console login.
Tried with pm-suspend.
=> The same result everytime.
Solution Tried:
1) Tried to change the kernel. Copied kernel from existing Arch Linux installation which is working fine there for suspend.
The problem is not solved.
2) i915.i915_enable_rc6=0 is added to kernel parmeter,
The problem is not solved.
3) Recompiled mesa with VIDEO_CARDS="intel" initially it was VIDEO_CARDS="intel i965".
The problem is not solved.
4) Tried methods of
https://01.org/linuxgraphics/documen...esume-issues-0.
In first place /proc/acpi/event file is not found.
a. Check if the resume hang is caused by graphics driver:
Result: dmesg_after doesn't exist.
b. Suspend/resume by skipping BIOS:
Result: Same behaviour. Second time suspend doesn't works.
System Detail:
Processor: Intel B960 Processor (it's a pentium dual core processor).
Graphics:
Code:
lspci -v|grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
.......
pm related files comparison between Arch and Gentoo Installation:
/etc/pm/
On Arch there is only one file /etc/pm/sleep.d/90alsa, which is installed by package alsa-utils.
Code:
cat /etc/pm/sleep.d/90alsa
#!/bin/sh
#
# 90alsa: suspend/wakeup ALSA devices
case "$1" in
hibernate|suspend)
;;
thaw|resume)
aplay -d 1 /dev/zero
;;
*) exit $NA
;;
esac
On Gentoo only /etc/pm/config.d/gentoo file exists, as well as /etc/pm/power.d/ & /etc/pm/sleep.d/ directories which are empty.
Code:
cat /etc/pm/config.d/gentoo
HOOK_BLACKLIST="01grub 90clock"