public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* smartbattery status on Laptop
@ 2007-05-31  7:11 John Floyd
  2007-05-31  8:20 ` Alexey Starikovskiy
  0 siblings, 1 reply; 2+ messages in thread
From: John Floyd @ 2007-05-31  7:11 UTC (permalink / raw)
  To: linux-acpi

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-31  8:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-31  7:11 smartbattery status on Laptop John Floyd
2007-05-31  8:20 ` Alexey Starikovskiy

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