public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* RedHat 8.0 Toshiba and other things
@ 2002-12-21  3:38 Theodore Morse
  0 siblings, 0 replies; only message in thread
From: Theodore Morse @ 2002-12-21  3:38 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-21  3:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-21  3:38 RedHat 8.0 Toshiba and other things Theodore Morse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox