You are not logged in.

#1 2011-12-06 11:50:02

Psychedelic
Member
Registered: 2010-12-13
Posts: 22

Cannot resume after suspend

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

#2 2011-12-06 21:49:44

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: Cannot resume after suspend

Can you see anything in the suspend.log for the failing resumes?
Have you followed the pm-utils wiki?

Offline

#3 2011-12-07 07:22:55

Psychedelic
Member
Registered: 2010-12-13
Posts: 22

Re: Cannot resume after suspend

http://pastebin.com/B4EMsqmC here is the pm-suspend.log
And yes i do the things in the wiki but nothing helped. hmm

Offline

#4 2011-12-07 07:28:25

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Cannot resume after suspend


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

#5 2011-12-07 07:31:28

Psychedelic
Member
Registered: 2010-12-13
Posts: 22

Re: Cannot resume after suspend

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

#6 2011-12-07 07:41:45

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Cannot resume after suspend

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

#7 2011-12-07 07:44:46

Psychedelic
Member
Registered: 2010-12-13
Posts: 22

Re: Cannot resume after suspend

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

#8 2011-12-07 07:46:28

Psychedelic
Member
Registered: 2010-12-13
Posts: 22

Re: Cannot resume after suspend

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

#9 2011-12-07 07:47:04

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Cannot resume after suspend

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

#10 2011-12-07 07:48:26

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Cannot resume after suspend


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

#11 2011-12-07 07:54:42

Psychedelic
Member
Registered: 2010-12-13
Posts: 22

Re: Cannot resume after suspend

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

#12 2011-12-07 07:56:11

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Cannot resume after suspend

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

#13 2011-12-07 08:02:48

Psychedelic
Member
Registered: 2010-12-13
Posts: 22

Re: Cannot resume after suspend

Nope the same again... Its shutdown instead of resume hmm

Offline

#14 2011-12-07 08:06:11

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Cannot resume after suspend

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

#15 2011-12-07 08:11:30

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Cannot resume after suspend

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

#16 2011-12-07 08:12:03

Psychedelic
Member
Registered: 2010-12-13
Posts: 22

Re: Cannot resume after suspend

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

#17 2011-12-07 08:13:24

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Cannot resume after suspend

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

#18 2011-12-07 08:30:26

Psychedelic
Member
Registered: 2010-12-13
Posts: 22

Re: Cannot resume after suspend

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

#19 2011-12-07 09:40:46

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Cannot resume after suspend

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

#20 2011-12-07 10:46:52

Psychedelic
Member
Registered: 2010-12-13
Posts: 22

Re: Cannot resume after suspend

It was the same before.
Here is my handler.sh: http://pastebin.com/4g0xa3HD

Offline

#21 2011-12-07 10:55:02

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Cannot resume after suspend

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

#22 2011-12-07 10:57:18

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Cannot resume after suspend

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

#23 2011-12-07 11:46:03

Psychedelic
Member
Registered: 2010-12-13
Posts: 22

Re: Cannot resume after suspend

No results... Again make suspend after lid open

Offline

#24 2011-12-07 11:52:49

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Cannot resume after suspend

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

#25 2011-12-07 12:02:49

Psychedelic
Member
Registered: 2010-12-13
Posts: 22

Re: Cannot resume after suspend

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

Board footer

Powered by FluxBB