public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: John Floyd <jfloyd@bigpond.net.au>
To: linux-acpi@vger.kernel.org
Subject: smartbattery status on Laptop
Date: Thu, 31 May 2007 17:11:09 +1000	[thread overview]
Message-ID: <200705311711.09397.jfloyd@bigpond.net.au> (raw)

Hi,

Have a specialised weatherproof laptop with a smartbattery running FC6
 latest kernel. I cannot get battey monitoring going. Have loaded
 modules i2c_ec and sbs with out any errors.

log/messages indicate that the EC driver loads with
ACPI: EC HC smbus [SMB1]

There is nothing from the sbs module though it is loaded and
the /proc/acpi/battery directory is empty.

The smartbattery can be recognized. If I run the following command ...

smartbattery 1             (1 is to specify the i2c dev,
                            needs i2c-dev module loaded)

then I get battery status, which behaves properly (changes if I unplug
 AC etc). It shows Battery name, status , charge or discharge current,
 time to full/left, temperature etc.  The smartbattery command came
 with the initial code exploring the ec-smbus interface a couple of
 years ago by Bruno Ducrot.

However nothing shows up in the proc/acpi/battery directory under the
 sbs module, and therefore the gui battery indicators do not work

Any suggestions?


Love to get this working in the gui.


John
--
John Floyd
Senior Natural Resource Officer
Department of Environment and Climate Change
Phone +61-2-9895-5956
Fax   +61-2-9895-7263
john.floyd@dnr.nsw.gov.au

-------------------------------------------------------

             reply	other threads:[~2007-05-31  8:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-31  7:11 John Floyd [this message]
2007-05-31  8:20 ` smartbattery status on Laptop Alexey Starikovskiy

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=200705311711.09397.jfloyd@bigpond.net.au \
    --to=jfloyd@bigpond.net.au \
    --cc=linux-acpi@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