LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-05-2006, 10:59 AM   #1
jturnbul
Member
 
Registered: Sep 2004
Location: Toronto, Canada
Distribution: Fedora 4 - Slackware 10 - PHLAK
Posts: 92

Rep: Reputation: 15
laptop suspends, but then shutsdown on wakeup


Im using a Toshiba Satellite M30 laptop, with FC4 and the latest kernel.

I have Klaptop configured to suspend when the lid closes. I have also used the command

$ echo -n "mem" > /sys/power/state

which I believe is the same thing. In any case the laptop appears to go in suspension without any issues, but when I bring it out of suspension, my laptop wakes up for a brief second where my screen restores, and I can see my desktop, and even move my mouse. This last for maybe 1 second at best. Then my screen goes blank, and after 10-15 seconds of hard drive action, my system powers down.

If you look in my /var/log/acpid it I notice that after the laptop comes out of suspend, the command is given to shutdown -h now

That is obviously the culprit, but how do I stop it??? I have tried looking through the file system where these commands are found, for some type of file to edit, but have yet to find one that has the shutdown command in it to edit out.

The real funny part of this is, I used to have FC1 or 2 on my laptop awhile back, and it worked perfectly, before I switched to slackware for a year. I had no problems with acpi on slack. I switched back to Fedora, because I found I was spending to much time configurring slack, then using my laptop for enjoyment. Now im using FC4, and everything works flawless but suspend. I cant win.

any ways here's my log. I've printed two logs

[Sun Mar 5 10:23:30 2006] received event "button/lid LID 00000080 00000001"
[Sun Mar 5 10:23:30 2006] notifying client 2236[0:0]
[Sun Mar 5 10:23:30 2006] completed event "button/lid LID 00000080 00000001"
[Sun Mar 5 10:27:50 2006] received event "button/power PWRF 00000080 00000001"
[Sun Mar 5 10:27:50 2006] notifying client 2236[0:0]
[Sun Mar 5 10:27:50 2006] executing action "/sbin/shutdown -h now"
[Sun Mar 5 10:27:50 2006] BEGIN HANDLER MESSAGES
[Sun Mar 5 10:27:55 2006] END HANDLER MESSAGES
[Sun Mar 5 10:27:55 2006] action exited with status 0
[Sun Mar 5 10:27:55 2006] completed event "button/power PWRF 00000080 00000001"
[Sun Mar 5 10:27:55 2006] received event "battery BAT1 00000080 00000001"
[Sun Mar 5 10:27:55 2006] notifying client 2236[0:0]
[Sun Mar 5 10:27:55 2006] completed event "battery BAT1 00000080 00000001"
[Sun Mar 5 10:27:57 2006] exiting
[Sun Mar 5 10:29:41 2006] starting up
[Sun Mar 5 10:29:41 2006] 1 rule loaded
[Sun Mar 5 10:29:43 2006] received event "battery BAT1 00000080 00000001"
[Sun Mar 5 10:29:43 2006] completed event "battery BAT1 00000080 00000001"
[Sun Mar 5 10:29:54 2006] client connected from 2279[0:0]
[Sun Mar 5 10:29:54 2006] 1 client rule loaded


[Sun Mar 5 10:41:34 2006] received event "button/lid LID 00000080 00000001"
[Sun Mar 5 10:41:34 2006] notifying client 2279[0:0]
[Sun Mar 5 10:41:34 2006] completed event "button/lid LID 00000080 00000001"
[Sun Mar 5 10:43:19 2006] received event "button/power PWRF 00000080 00000001"
[Sun Mar 5 10:43:19 2006] notifying client 2279[0:0]
[Sun Mar 5 10:43:19 2006] executing action "/sbin/shutdown -h now"
[Sun Mar 5 10:43:19 2006] BEGIN HANDLER MESSAGES
[Sun Mar 5 10:43:24 2006] END HANDLER MESSAGES
[Sun Mar 5 10:43:24 2006] action exited with status 0
[Sun Mar 5 10:43:24 2006] completed event "button/power PWRF 00000080 00000001"
[Sun Mar 5 10:43:24 2006] received event "battery BAT1 00000080 00000001"
[Sun Mar 5 10:43:24 2006] notifying client 2279[0:0]
[Sun Mar 5 10:43:24 2006] completed event "battery BAT1 00000080 00000001"
[Sun Mar 5 10:43:24 2006] received event "battery BAT1 00000080 00000001"
[Sun Mar 5 10:43:24 2006] notifying client 2279[0:0]
[Sun Mar 5 10:43:24 2006] completed event "battery BAT1 00000080 00000001"
[Sun Mar 5 10:43:27 2006] exiting
[Sun Mar 5 10:46:54 2006] starting up
[Sun Mar 5 10:46:54 2006] 1 rule loaded
[Sun Mar 5 10:47:07 2006] client connected from 2254[0:0]
[Sun Mar 5 10:47:07 2006] 1 client rule loaded
___________________________
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I wakeup my laptop? susefan Linux - Laptop and Netbook 2 03-02-2005 10:22 AM
laptop doesn't wakeup from sleep kc8nsb Debian 1 09-05-2004 10:20 AM
X-windows mysteriously shutsdown chris26 Slackware 1 03-02-2004 04:41 AM
Laptop Split Screen Problems after Display Suspends gendreau Linux - Laptop and Netbook 8 02-16-2004 07:13 PM
Every Time I try to load Linux the Moniter d/c's and shutsdown MiLKStBbeR Linux - Newbie 7 12-27-2003 05:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration