You are not logged in.
Hello friends!
My problem with Arch Linux is that i could not resume my laptop after open the lid. Its just resume for 5 seconds and then shutdown by itself...
Can somebody tell me how to fix this? My laptop is HP g62
Everything works fine except the resume from suspend.
Thanks in advance.
Offline
Can you see anything in the suspend.log for the failing resumes?
Have you followed the pm-utils wiki?
Offline
http://pastebin.com/B4EMsqmC here is the pm-suspend.log
And yes i do the things in the wiki but nothing helped.
Offline
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
button/lid)
if [[ `cat /proc/acpi/button/lid/LID/state | awk '{print $2}'` = "closed" ]]
then
/usr/sbin/pm-suspend
fi
#echo "LID switched!">/dev/tty2
;;
*)
logger "ACPI group/action undefined: $1 / $2"
;;
esac
This is my handler.sh lid event but do not work..
Offline
Look answer under numner #12:
https://bbs.archlinux.org/viewtopic.php?id=128881
What is your graphic card?
Last edited by Shark (2011-12-07 07:45:22)
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
What module i must put in SUSPEND_MODULES=" "?
I alreday have the resume addet to HOOK in /etc/mkinitcpio.conf
Last edited by Psychedelic (2011-12-07 07:45:36)
Offline
My graphic card is ati but i do not using it i use the intel because the temerature with the ati get too high
Offline
You could also try first this tip:
https://wiki.archlinux.org/index.php/Pm … of_wake_up
You don't have to restart the computer
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
About modules https://wiki.archlinux.org/index.php/Pm … figuration
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
Do i have to add and 'resume=/dev/vg00/swap' or this will do the work 'kernel /vmlinuz-linux root=/dev/sda6 i8042.reset=1 ro'
Offline
Hm, i don't really know. First try the first solution and then the second. Sorry.
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
Nope the same again... Its shutdown instead of resume
Offline
what exactly have you put down on kernel line in the first instance? Did you write resume=/dev/vg00/swap or resume/path/toyour/swap?
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
What if you use instead of pm-suspend command in handler.sh the default one:
echo -n mem >/sys/power/state
Last edited by Shark (2011-12-07 08:12:21)
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
I tried this 'kernel /vmlinuz-linux root=/dev/sda6 i8042.reset=1 ro' because i don't have /dev/vg* my swap is /dev/sda4 do i have to put this instead of /dev/vg*
Offline
Yes, you have to put the path to your own swap partition, so resume=/dev/sda4
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
Now if i suspend manually its resume but when close the lid and then open it again it going to sleep again after seconds
Offline
How was doing your manual suspend before you edit kernel line?
Post your handler.sh again, please.
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
It was the same before.
Here is my handler.sh: http://pastebin.com/4g0xa3HD
Offline
Try to add this to kernel line:
acpi_osi="Linux"
restart and try.
More on topic:
http://ubuntuforums.org/showthread.php?t=1613132
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
You could also try to follow this on archwiki:
https://wiki.archlinux.org/index.php/Su … PI_OS_NAME
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
No results... Again make suspend after lid open
Offline
Have you tried to use in handler.sh this instead of using pm-utils:
button/lid)
echo -n mem >/sys/power/state ;;
Last edited by Shark (2011-12-07 11:53:23)
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
yes i tried and does nothing different... i think the problem is not in the suspend event its in when i open the lid does suspend again in few seconds
Offline