View Single Post
  #862 (permalink)  
Old 01-03-2012, 02:21 AM
muziling's Avatar
muziling
PPCGeeks Regular
Offline
 
Join Date: Nov 2010
Posts: 175
Reputation: 55
muziling is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (1.2.3)

Quote:
Originally Posted by [ACL] View Post
Do you know exactly what line ? I mean this could only happen if buffer->batt_tempRAW is 0. Can you printK to see if thats the case ?
Our battery chip is ds2746, same as HD2?

Division by zero must be buffer->batt_tempRAW equal 2600
Quote:
<7>[ 49.493133] hw3d: was enabled
<6>[ 53.186035] [BATT-INFO];id=361, vol=4010, temp=500, current=120, level=88, charging_source=0, charging_enabled=0, full_bat=0, batt_tempRAW=2614
<6>[BATT-INFO];id=365, vol=4011, temp=500, current=120, level=87, charging_source=0, charging_enabled=0, full_bat=0, batt_tempRAW=2610
<6>[BATT-INFO];id=364, vol=4011, temp=500, current=120, level=87, charging_source=0, charging_enabled=0, full_bat=0, batt_tempRAW=2605
<6>[BATT-INFO];id=366, vol=4015, temp=500, current=120, level=87, charging_source=0, charging_enabled=0, full_bat=0, batt_tempRAW=2604
<6>[BATT-INFO];id=365, vol=4015, temp=500, current=120, level=88, charging_source=0, charging_enabled=0, full_bat=0, batt_tempRAW=2601
<6>msm72k_udc: OFFLINE -> ONLINE
<6>[ 95.141113] hsusb: reset controller
Here has some chips driver: https://gitorious.org/~dorimanx/linu.../drivers/power

Last edited by muziling; 01-03-2012 at 02:27 AM.
Reply With Quote