public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Theodore Morse <ender5175-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RedHat 8.0 Toshiba and other things
Date: Fri, 20 Dec 2002 19:38:46 -0800 (PST)	[thread overview]
Message-ID: <20021221033846.16606.qmail@web13708.mail.yahoo.com> (raw)

Hello:

I recently bought a Toshiba Satellite 1905-S303, and
successufully installed RedHat 8.0 on it. However, I
was concerned to find that it did not support the APM
protocol, but instead the APCI. After updgrading my
kernel 2.4.19-3, and compiling it with ACPI, it
registred my battery finally. However, it works to a
point. First, I can do a:
cat /proc/acpi/battery/1/status
twice with no hitches. However, the third time it
gives me this:
% cat /proc/acpi/battery/1/status
Present:                 yes
Error reading battery status (_BST)

This happens every time. I am not quite sure what to
do about it. Any suggestions would be appreciated.

I am also curious as to whether the patches on your
website work 'only' for the kernels mentioned, or they
can be applied to other versions. For instance, could
I apply the 2.4.20 patch to a 2.4.19 kernel, as in my
case?

Last, I am interested in writing a GTK-panel app that
would act as a battery monitor, but not sure how to
tap into the information acpi provides. Is there any
documentation on how this could be achieved. I 'could'
just get the info from the files in /proc, but I fear
that is not the way to go. Furthermore, with my
aformentioned problem, it would only work on the first
two queries.

Any help would be greatly appreciated.

Thanks,
Ted Morse

=====
Ted Morse
Student/Programmer
University of Evansville/Ciholas Enterprises

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-------------------------------------------------------
This SF.NET email is sponsored by:  The Best Geek Holiday Gifts!
Time is running out!  Thinkgeek.com has the coolest gifts for
your favorite geek.   Let your fingers do the typing.   Visit Now.
T H I N K G E E K . C O M        http://www.thinkgeek.com/sf/

                 reply	other threads:[~2002-12-21  3:38 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=20021221033846.16606.qmail@web13708.mail.yahoo.com \
    --to=ender5175-/e1597as9lqavxtiumwx3w@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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