N900 Software BME

Line 3: Line 3:
This is required to implement user friendly [[N900_Hardware_USB_Host|Host Mode]]
This is required to implement user friendly [[N900_Hardware_USB_Host|Host Mode]]
-
BME is divided into two halves.
+
BME is divided into three parts.
-
 
+
* Kernel driver that handles all of the low-level interaction with the hardware.
* Kernel driver that handles all of the low-level interaction with the hardware.
-
* Process started early in boot, with watchdogs to reboot the device if it malfunctions.
+
* hald-addon-bme - an add-on process for HAL that reports status.
 +
* bme_RX-51 - Process started early in boot, with watchdogs to reboot the device if it malfunctions.
 +
 
 +
 
 +
 
 +
The kernel driver is split over several files.
 +
 
 +
http://mxr.maemo.org/fremantle/source/kernel/include/linux/i2c/twl4030-madc.h
 +
This handles reading various ADCs to readout voltages and currents.
[[category:N900_Hardware]]
[[category:N900_Hardware]]

Revision as of 11:32, 9 May 2010

This page is to bring together efforts and links for those working on understanding BME - the battery managment entity.

This is required to implement user friendly Host Mode

BME is divided into three parts.

  • Kernel driver that handles all of the low-level interaction with the hardware.
  • hald-addon-bme - an add-on process for HAL that reports status.
  • bme_RX-51 - Process started early in boot, with watchdogs to reboot the device if it malfunctions.


The kernel driver is split over several files.

http://mxr.maemo.org/fremantle/source/kernel/include/linux/i2c/twl4030-madc.h This handles reading various ADCs to readout voltages and currents.