Ticket #1244 (new defect)
platform_battery driver not working
| Reported by: | ChrisPZV | Owned by: | mrmoku |
|---|---|---|---|
| Priority: | major | Milestone: | wishlist |
| Component: | SHR Image | Version: | SHR-unstable |
| Keywords: | Cc: |
Description
I wanted to try running SHR-U with my Freerunner using a dump battery.
After comming up I tried to let SHR change the battery driver to have some information about batt. status in the upper left corner: Settings->Power->Switch to dumb battery driver" an the button disappears but nothin seems to happen. So I tried to tried to switch battery driver manually using this steps: http://wiki.openmoko.org/index.php?title=Battery_Questions_and_Answers#So.2C_how_do_i_use_.22dumb.22_batteries_with_my_freerunner.3F
The module "gta01_battery" does not exist but I found a module named "platform_battery" and gave it a try:
##################################################
root@om-gta02 ~ # echo bq27000-battery.0 > /sys/bus/platform/drivers/bq27000-battery/unbind
root@om-gta02 ~ # modprobe platform_battery
root@om-gta02 ~ #
##################################################
Unfortunately nothing changed, even after restarting x-server I do not get any stats about battery.

