public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "D. Sen" <dsen@ieee.org>
To: sfr@canb.auug.org.au
Cc: "D. Sen" <dsen@ieee.org>, hy0 <hy0@ipoline.com>,
	linux-kernel@vger.kernel.org
Subject: Re: laptop screen apm problems
Date: Tue, 03 Sep 2002 10:17:03 -0400	[thread overview]
Message-ID: <3D74C45F.7040006@ieee.org> (raw)
In-Reply-To: 3D6E418A.6010903@ieee.org

Hi Steve,

Not having heard from you, I decided to tinker with apm.c to see if I 
could solve the problem. In particular I compared it with the 2.4.18 
apm.c (I had no problems with 2.4.18). The following seems to fix my 
problem.

Changing line 1786 in apm.c (from the 2.4.19 kernel tree) from:
			idle_period = simple_strtol(str + 12, NULL, 0);

to:
			idle_period = simple_strtol(str + 15, NULL, 0);

solves the problem.

DS

D. Sen wrote:
> Hi Steve,
> 
> I am experiencing some intermittent problems trying to suspend my 
> laptop. The laptop (IBM Thinkpad T30) seems to suspend fine after using 
> 'apm -s' or the Fn+F4 key stroke, but a miniscule of a second later, the 
> LCD screen turns back on with a weird display. Going through the 
> resume-suspend cycle a few times, I can usually get the machine to 
> eventually suspend correctly.
> 
> It seems like not enough time is given for the LCD to turn off correctly.
> 
> In fact, when the problem happens if I do an 'apm -S' (or Fn+F3, to just 
> turn the screen off) and then quickly follow it up using an 'apm -s' or 
> Fn+F4, I usually get the correct suspend behaviour.
> 
> Any ideas?
> 
> Thanks,
> DS
> 



           reply	other threads:[~2002-09-03 14:13 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <3D6E418A.6010903@ieee.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D74C45F.7040006@ieee.org \
    --to=dsen@ieee.org \
    --cc=hy0@ipoline.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox