Editing N900 Hardware Charge Meter
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 22: | Line 22: | ||
Now on kernel mailinglist is series of patches which improve (report more properties about battery then BME) kernel driver bq27x00_battery. All these issues are fixed. Backported patches for N900 are here: http://talk.maemo.org/showpost.php?p=925980&postcount=674 | Now on kernel mailinglist is series of patches which improve (report more properties about battery then BME) kernel driver bq27x00_battery. All these issues are fixed. Backported patches for N900 are here: http://talk.maemo.org/showpost.php?p=925980&postcount=674 | ||
+ | As of now (2011-10-20) this kernel module still isn't fixed for good and introduced massive problems by either exclusively opening I2C bus so bme couldn't work anymore when started after this module got loaded, or the patch introduced with powerkernel-48 thoroughly messed up '''all I2C''' on the system, thus creating possible race conditions that may even destroy your hardware. | ||
There's a [[N900_Hardware_Charge_Meter/bq-script|script]] and acompanying I2Ctools to read out the complete info from bq27200: http://enivax.net/jk/n900/bq.tar (thanks ShadowJK) | There's a [[N900_Hardware_Charge_Meter/bq-script|script]] and acompanying I2Ctools to read out the complete info from bq27200: http://enivax.net/jk/n900/bq.tar (thanks ShadowJK) | ||
- | Or you can use Joerg_rw's original bq27k- | + | Or you can use Joerg_rw's original bq27k-detail script (needs bash, originally built for OM NEO FR: http://people.openmoko.org/joerg/battery/bq27k-detail), with this cmdline: |
+ | <pre>i2cdump -y 2 0x55 b|tail -n +2|cut -d " " -f 2-17|./bq27k-detail " "</pre> | ||
New version available at http://people.openmoko.org/joerg/battery/bq27k-detail2 works (with bash and i2c-tools installed) without any cmdline acrobatics, on OM FR and stock N900 (no broken bq27200.ko kernel module and thus no power kernel needed. Might even fail on some powerkernel versions when that module got loaded) | New version available at http://people.openmoko.org/joerg/battery/bq27k-detail2 works (with bash and i2c-tools installed) without any cmdline acrobatics, on OM FR and stock N900 (no broken bq27200.ko kernel module and thus no power kernel needed. Might even fail on some powerkernel versions when that module got loaded) | ||
[[Category:N900 Hardware]] | [[Category:N900 Hardware]] |
Learn more about Contributing to the wiki.