JP Vossen on 22 Jun 2009 12:56:47 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Unwanted laptop suspend


 > Date: Sun, 21 Jun 2009 17:04:25 -0400
 > From: "David A. Harding" <dave@dtrt.org>

 > On Sun, Jun 21, 2009 at 03:19:00PM -0400, JP Vossen wrote:
 >> I've restarted acpi, acpi-support, and hal, which did not help.
 >
 > acpid is an event-based daemon, not a time-based daemon, so I highly
 > doubt it's the culprit. As I understand it, HAL is just a way for
 > programs to talk to the hardware without root access, so it would need
 > another program to actually issue the suspend command.

My though for restarting those 3 was that they are related to power 
management, but I admit it was mostly a guess.  Note the ACPI stuff in 
the log below though.


 > I bet it's your screensaver daemon, but if not, I suggest you see if

That is set to blank the screen at 10 mins, and it's definitely taking 
longer than that to go to sleep.  I changed it to 11 mins, closed the 
dialog, then re-set it to 10 mins to see if that helps.  Too soon to 
tell yet.


 > there's anything in your logs that identifies the suspending process.

Isn't it amazing how we lose our minds when it's our own stuff?  That'd 
be the first or second thing I told anyone else, but of course I never 
thought of it.

Looks like my WLAN card and/or NetworkMangler:

$ grep -i sleep syslog
Jun 21 13:27:08 mini9 NetworkManager: <info>  Sleeping...
Jun 21 13:27:08 mini9 kernel: [728975.303605] iwlagn: MAC is in deep sleep!
Jun 21 14:15:34 mini9 kernel: [728976.815054] PM: Preparing system for 
mem sleep
Jun 21 14:15:34 mini9 kernel: [728976.819185] PM: Entering mem sleep
Jun 21 14:15:34 mini9 kernel: [728977.512535] ACPI: Preparing to enter 
system sleep state S3
Jun 21 14:15:34 mini9 kernel: [728978.213046] ACPI: Waking up from 
system sleep state S3
Jun 21 15:33:18 mini9 NetworkManager: <info>  Sleeping...
Jun 21 15:33:18 mini9 kernel: [733643.113973] iwlagn: MAC is in deep sleep!
Jun 22 15:00:26 mini9 kernel: [733644.588270] PM: Preparing system for 
mem sleep
Jun 22 15:00:26 mini9 kernel: [733644.593146] PM: Entering mem sleep
Jun 22 15:00:26 mini9 kernel: [733645.292537] ACPI: Preparing to enter 
system sleep state S3
Jun 22 15:00:26 mini9 kernel: [733646.101040] ACPI: Waking up from 
system sleep state S3

Of course there is lots more stuff in the logs, but none it it is really 
jumping out at me.  I'll have to keep an eye on when I wake it up next 
time, and go from there.

Thanks for the smack in the head,
JP
----------------------------|:::======|-------------------------------
JP Vossen, CISSP            |:::======|      http://bashcookbook.com/
My Account, My Opinions     |=========|      http://www.jpsdomain.org/
----------------------------|=========|-------------------------------
"Microsoft Tax" = the additional hardware & yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug