Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Announce] CSSU devel, it may eat your brain

    Reply
    Page 25 of 55 | Prev | 15   23     24   25   26     27   35 | Next | Last
    pali | # 241 | 2013-09-12, 20:11 | Report

    I updated DEB package and mount location should be now same as before.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 7 Users Say Thank You to pali For This Useful Post:
    ade, Estel, foobar, misiak, sixwheeledbeast, Sourav.dubey, Wikiwide

     
    ade | # 242 | 2013-09-12, 21:00 | Report

    Originally Posted by pali View Post
    I updated DEB package and mount location should be now same as before.
    Yep, my issue is fixed now, I do have my old mountpoints back. Thanks for that.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to ade For This Useful Post:
    Estel, misiak, Sourav.dubey, Wikiwide

     
    iDont | # 243 | 2013-10-20, 20:00 | Report

    Recently I installed Pali's bme-replacement and status-area-applet-battery from cssu-devel for some battery reporting goodness (and to finally get rid of that bme blob, thanks for making that possible!). Installation was easy and everything seems to be working fine, except for the maximum charge reported by the battery applet.

    I'm using a 1500mAh battery in my device, but the applet shows that it is 1272mAh. After each full charge the applet reports ~"1554/1272 mAh" and the battery level stays at 100% until the battery charge drops below 1272mAh. I've successfully calibrated my battery multiple times with bq27200.sh.

    It seems that my battery is misreporting its design capacity, and that value is used instead of the (accurate) measured discharge by the bq27200 chip.

    Code:
    Nokia-N900:~# cat /sys/class/power_supply/rx51-battery/charge_full_design
    1272685
    Nokia-N900:~# cat /sys/class/power_supply/bq27200-0/charge_full
    1564731
    Unloading the rx51-battery module makes the applet report the correct battery size. Are there any negative side effects if I leave this module unloaded? Or is there a better solution to make the data from bq27200 take precedence over rx51-battery? Thanks!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to iDont For This Useful Post:
    foobar, fw190, handaxe, Sourav.dubey, Wikiwide

     
    pali | # 244 | 2013-10-20, 20:10 | Report

    Originally Posted by iDont View Post
    Unloading the rx51-battery module makes the applet report the correct battery size. Are there any negative side effects if I leave this module unloaded?
    Yes, rx51_battery module is used for reporting battery temperature to pulseaudio and dsme. If tou unload it both daemons can stop working (no idea what closed source nokia pulseaudio module doing with temperature)...

    Originally Posted by iDont View Post
    Or is there a better solution to make the data from bq27200 take precedence over rx51-battery? Thanks!
    Yes, recent version of battery applet understand gconf key which can be used for source of design capacity. Look at git commit message for possible values: https://gitorious.org/community-ssu/...ebf53fb6d11a12

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 8 Users Say Thank You to pali For This Useful Post:
    foobar, fw190, iDont, maacruz, misiak, peterleinchen, Sourav.dubey, Wikiwide

     
    iDont | # 245 | 2013-10-21, 04:26 | Report

    Originally Posted by pali View Post
    Yes, rx51_battery module is used for reporting battery temperature to pulseaudio and dsme. If tou unload it both daemons can stop working (no idea what closed source nokia pulseaudio module doing with temperature)...



    Yes, recent version of battery applet understand gconf key which can be used for source of design capacity. Look at git commit message for possible values: https://gitorious.org/community-ssu/...ebf53fb6d11a12
    Yeah, I found that gconf key and set it to 0 (never use design). Unfortunately, whatever I set it to, the max charge remains at 1272mAh .

    Here's a diff of my "hal-device bme" output, with rx51-battery module loaded versus without. As soon as I unload the module battery.reporting.last_full will be correct (though other values get lost, supposedly because these come from rx51-battery).
    Code:
    --- hal-device-with-rx51-battery
    +++ hal-device-without-rx51-battery
    @@ -3,7 +3,7 @@
       battery.type = 'pda'  (string)
       info.subsystem = 'unknown'  (string)
       info.product = 'Battery (BME-HAL)'  (string)
    -  battery.reporting.design = 1277  (0x4fd)  (int)
    +  battery.reporting.design = 0  (0x0)  (int)
       battery.reporting.unit = 'mAh'  (string)
       battery.charge_level.unit = 'bars'  (string)
       maemo.charger.connection_status = 'disconnected'  (string)
    @@ -12,20 +12,20 @@
       maemo.rechargeable.positive_rate = false  (bool)
       battery.rechargeable.is_charging = false  (bool)
       battery.is_rechargeable = true  (bool)
    -  battery.reporting.last_full = 1277  (0x4fd)  (int)
    +  battery.reporting.last_full = 1564  (0x61c)  (int)
       battery.charge_level.capacity_state = 'ok'  (string)
    -  battery.reporting.current = 1477  (0x5c5)  (int)
    +  battery.reporting.current = 1479  (0x5c7)  (int)
       battery.present = true  (bool)
       battery.rechargeable.is_discharging = true  (bool)
    -  battery.charge_level.percentage = 100  (0x64)  (int)
    -  battery.remaining_time = 34260  (0x85d4)  (int)
    -  battery.voltage.design = 4200  (0x1068)  (int)
    +  battery.charge_level.percentage = 94  (0x5e)  (int)
    +  battery.remaining_time = 27000  (0x6978)  (int)
    +  battery.voltage.design = 0  (0x0)  (int)
       battery.voltage.unit = 'mV'  (string)
       info.category = 'battery'  (string)
       info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
       info.udi = '/org/freedesktop/Hal/devices/bme'  (string)
       battery.charge_level.design = 8  (0x8)  (int)
    -  battery.voltage.current = 4029  (0xfbd)  (int)
    +  battery.voltage.current = 4069  (0xfe5)  (int)
       battery.charge_level.current = 8  (0x8)  (int)
       info.capabilities = { 'battery' } (string list)
       maemo.bme.version = '1.0'  (string)

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to iDont For This Useful Post:
    foobar, fw190, misiak, Sourav.dubey, Wikiwide

     
    pali | # 246 | 2013-10-21, 05:41 | Report

    @iDont: Try new version on http://atrey.karlin.mff.cuni.cz/~pali/hald-addon-bme

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 9 Users Say Thank You to pali For This Useful Post:
    foobar, fw190, handaxe, iDont, maacruz, misiak, nokiabot, Sourav.dubey, Wikiwide

     
    iDont | # 247 | 2013-10-21, 18:56 | Report

    Originally Posted by pali View Post
    @iDont: Try new version on http://atrey.karlin.mff.cuni.cz/~pali/hald-addon-bme
    Great succes! This version shows the correct maximum charge without unloading rx51-battery. Thanks .

    hal-device bme reports:
    battery.reporting.last_full = 1564 (0x61c) (int)
    which is correct.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to iDont For This Useful Post:
    fw190, misiak, Sourav.dubey

     
    seanmcken | # 248 | 2013-10-22, 02:12 | Report

    Originally Posted by iDont View Post
    Great succes! This version shows the correct maximum charge without unloading rx51-battery. Thanks .

    hal-device bme reports:
    battery.reporting.last_full = 1564 (0x61c) (int)
    which is correct.
    can you plz tell how to use that bme patch by pali?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    pali | # 249 | 2013-10-22, 08:23 | Report

    Now I updated DEB package and pushed changes to gitorious.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to pali For This Useful Post:
    handaxe, iDont, maacruz

     
    pinochio | # 250 | 2013-10-22, 19:16 | Report

    Originally Posted by seanmcken View Post
    can you plz tell how to use that bme patch by pali?
    Updating just these four packages:
    bme-rx-51_1.0-1_armel.deb
    hald-addon-bme_1.0-1_armel.deb
    libbmeipc0_1.0-2_armel.deb
    dsme-thermalobject-surface_1.0-1_armel.deb

    from here
    http://atrey.karlin.mff.cuni.cz/~pal...e-replacement/

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to pinochio For This Useful Post:
    Sourav.dubey

     
    Page 25 of 55 | Prev | 15   23     24   25   26     27   35 | Next | Last
vBulletin® Version 3.8.8
Normal Logout