linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
To: James D Strandboge <jstrand1@rochester.rr.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: BIOS or kernel APM bug?
Date: Wed, 25 Sep 2002 13:51:03 +0200	[thread overview]
Message-ID: <20020925115102.GB1215@arthur.ubicom.tudelft.nl> (raw)
In-Reply-To: <1032744662.6912.69.camel@sirius.strandboge.cxm>

[-- Attachment #1: Type: text/plain, Size: 964 bytes --]

On Sun, Sep 22, 2002 at 09:31:02PM -0400, James D Strandboge wrote:
> I recently purchased a usb webcam and found that polling /proc/apm
> causes the webcam in xawtv to skip.  I can so this either by doing 'cat
> /proc/apm' or using the gnome battstat-applet.  Disabling the
> battstat-applet and not touching /proc/apm lets xawtv work fine.
> 
> Polling /proc/apm also causes clock drift.
> 
> I have a Dell Inspiron 8200 laptop (1.6Ghz Pentium 4).  Using kernel
> 2.4.18 with rmap12h and preempt-kernel patch.

BIOS bug. Reading /proc/apm causes the APM BIOS to switch the CPU to
SMM mode with interrupts disabled so it can slowly poll the battery
about it's status. Result: lost interrupts, dropped frames, dropped
serial characters, clock slowdown. Workaround: don't use a battery
monitor, or don't let it poll every two seconds.


Erik

-- 
J.A.K. (Erik) Mouw
Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2002-09-25 11:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-23  1:31 BIOS or kernel APM bug? James D Strandboge
2002-09-25 11:51 ` Erik Mouw [this message]

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=20020925115102.GB1215@arthur.ubicom.tudelft.nl \
    --to=j.a.k.mouw@its.tudelft.nl \
    --cc=jstrand1@rochester.rr.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;
as well as URLs for NNTP newsgroup(s).