Skip to contentSkip to conversation

smartbattery status on Laptop

DISCUSSION John Floyd 2 participants 2 messages May 31, 2007 ACPI

lore
Share & tools
lore

John Floyd

author
#0 lore 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
[email protected]

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

#1 lore raw

Please open bug at bugzilla.kernel.org and attach acpidump output.

Thanks,
Alex.

John Floyd пишет:

Quoted 41 lines

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
[email protected]

Quoted 6 lines

-------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html