mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Martin J. Bligh" <mbligh@aracnet.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: david@2gen.com
Subject: [Bug 1280] New: Reading ACPI info from /proc filesystem	pauses system
Date: Mon, 29 Sep 2003 08:40:11 -0700	[thread overview]
Message-ID: <39470000.1064850011@[10.10.2.4]> (raw)

           Summary: Reading ACPI info from /proc filesystem pauses system
    Kernel Version: 2.6.0-test6
            Status: NEW
          Severity: normal
             Owner: len.brown@intel.com
         Submitter: david@2gen.com


Distribution: Debian Unstable (sid)
Hardware Environment: IBM Thinkpad G40

Problem Description:
Now that I've got ACPI working thanks to bug #1265 I've got another problem. If
battery and ac power status is read from the proc filesystem, the computer
"freezes" shortly, causing the mouse pointer to jerk etc.

For reproducing this, try something like this:
while [[ 1 ]]; do
    cat /proc/acpi/ac_adapter/AC/*;
    cat /proc/acpi/battery/BAT1/*;
    sleep 1
done

Now you may wonder, why do such a thing? Battery status applet as shipped with
gnome (and probably many other similar apps) read these values once a second,
making the system annoying to use as mouse and applications are sluggish.



                 reply	other threads:[~2003-09-29 15:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='39470000.1064850011@[10.10.2.4]' \
    --to=mbligh@aracnet.com \
    --cc=david@2gen.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®