[ltp] suspend resume works fine for short suspends - fails for longer suspends

Alexander Naumann linux-thinkpad@linux-thinkpad.org
Mon, 19 Apr 2004 12:04:21 +0200


I haven't tested it a long time but I have recognized that suspends/resume works 
if I have the battery plugged in. Removing battery and running laptop only with AC 
hangs my machine sometimes when I am trying to resume.
I hope that my information will help anybody.
Alex

On Fri, 2004-04-02 at 18:16, Alexander Naumann wrote:
> On Fri, 2004-04-02 at 17:43, Bradley W. Langhorst wrote:
> > On Fri, 2004-04-02 at 00:44, Steven Filling wrote:
> > > Hi Brad
> > > 
> > > I'm running RH 9 rather than debian, but suspect your problems may be
> > > the same as I had.  To suspend reliably I had to add the following to
> > > the apm script continue-pre:
> > you seem to misunderstand... i can suspend and resume many times with no
> > trouble as long as i don't leave the computer suspended for too long.
> > (i do remove the e1000 module and the sound modules during suspend but i
> > don't have the usb modules loaded 
> > 
> > I think that if a module failed to resume it would do so even after a
> > short suspend. Does that make sense to you all?  What could be happening
> > during the suspend?
> > 
> > Alexander - can you confirm that you had the same problem (suspend
> > resume works for short suspends but fails for long suspends) and that
> > this solved it - if so I'll look much harder into the usb issue.
> > 
> I haven't tried out if it belongs to the time the laptop suspends. But I know that it worked when I've
> tried it only a short period of time and that it sometimes doesn't work the next day.
> With kernel 2.6.1-rc2 I had no problems at all, but since I was trying to use 2.6.4 and all versions of 2.6.5
> I have this problems. The next few days I will test if it is suspend-time.
> I am using APM, 2.6.5rc3-mm4 right now and have X running when I am going to suspend.
> 
> 
> > brad
> > 
> > -- 
> > Bradley W. Langhorst <brad@langhorst.com>