Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Announce] CSSU devel, it may eat your brain

    Reply
    Page 17 of 55 | Prev | 7   15     16   17   18     19   27 | Next | Last
    pali | # 161 | 2013-05-08, 07:59 | Report

    Are you using bme replacement or not? From your output I see that your battery is totally empty (CSOC: 0 % RSOC: 0 % NAC: 0 mAh CACD: 0 mAh CACT: 0 mAh). And in this state if capacity is 0mAh status menu plugin will show that message about uncalibrated battery. Also please provide output of command: hal-device bme

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to pali For This Useful Post:
    Kossuth

     
    Kossuth | # 162 | 2013-05-08, 08:09 | Report

    I'm not sure what bme I'm using, I don't remember changing intentionally anything battery related packages when the statusarea applet appeared and when it changed to displaying the not calibrated text. I just upgraded all the packages that were marked as upgradeable.

    Here's the output:
    /home/user # hal-device bme
    udi = '/org/freedesktop/Hal/devices/bme'
    info.addons = { 'hald-addon-bme' } (string list)
    battery.type = 'pda' (string)
    info.subsystem = 'unknown' (string)
    battery.voltage.design = 4200 (0x1068) (int)
    info.product = 'Battery (BME-HAL)' (string)
    info.udi = '/org/freedesktop/Hal/devices/bme' (string)
    battery.reporting.unit = 'mAh' (string)
    battery.present = true (bool)
    battery.voltage.current = 3938 (0xf62) (int)
    battery.charge_level.current = 6 (0x6) (int)
    battery.charge_level.last_full = 0 (0x0) (int)
    battery.reporting.design = 1278 (0x4fe) (int)
    battery.charge_level.design = 8 (0x8) (int)
    battery.charge_level.percentage = 66 (0x42) (int)
    maemo.charger.type = 'none' (string)
    maemo.charger.connection_status = 'disconnected' (string)
    maemo.rechargeable.charging_status = 'off' (string)
    maemo.rechargeable.positive_rate = false (bool)
    battery.remaining_time = 14400 (0x3840) (int)
    battery.charge_level.capacity_state = 'ok' (string)
    battery.charge_level.unit = 'bars' (string)
    battery.rechargeable.is_charging = false (bool)
    battery.rechargeable.is_discharging = true (bool)
    battery.reporting.last_full = 0 (0x0) (int)
    info.category = 'battery' (string)
    battery.reporting.current = 851 (0x353) (int)
    battery.remaining_time.calculate_per_time = false (bool)
    info.parent = '/org/freedesktop/Hal/devices/computer' (string)
    info.capabilities = { 'battery' } (string list)
    battery.is_rechargeable = true (bool)
    battery.voltage.unit = 'mV' (string)

    Ps. the bq27200.sh I'm using is from here, I think there are several versions out there

    http://wiki.maemo.org/User:Joerg_rw/jrbme/bq27200

    Edit: I have USB-hostmode installed, back from the time when I had usb-port, so I might have the bme-replacement, if it comes with the hostmode packages.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Kossuth; 2013-05-08 at 10:59.
    The Following User Says Thank You to Kossuth For This Useful Post:
    pali

     
    pali | # 163 | 2013-05-08, 15:19 | Report

    Code:
    battery.reporting.current = 851 (0x353) (int)
    Data for applet are there... I will try to find out why are not used.
    @Kossuth: Can you give me output of this?
    $ apt-cache policy status-area-applet-battery

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to pali For This Useful Post:
    Kossuth

     
    pali | # 164 | 2013-05-08, 15:23 | Report

    I pushed to cssu-devel new version of system-services (part of upstart) nad ke-recv packages. New version has fixed generating /etc/fstab when maemo is installed on eMMC or SD card and has support for *static* /etc/fstab. And there is also support to run fsck on all partitions before mouning (/home and all other eMMC/SD card).

    WARNING: Before installing new version of system-services package make sure you 1) do not have installed package kernel-power-settings or 2) have upgraded kernel-power-settings to version 0.17 (it is in extras-devel). Otherwise device can be unbootable!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to pali For This Useful Post:
    sixwheeledbeast, wumpwoast

     
    Kossuth | # 165 | 2013-05-08, 17:07 | Report

    /home/user # apt-cache policy status-area-applet-battery
    status-area-applet-battery:
    Installed: 1.0-6
    Candidate: 1.0-6
    Version table:
    *** 1.0-6 0
    500 http://maemo.merlin1991.at fremantle/free Packages
    100 /var/lib/dpkg/status
    0.1.24+0m5 0
    500 https://downloads.maemo.nokia.com ./ Packages
    /home/user #

    Edit: I tried switching the usb-mode from peripheral to host with boost and after announcing stopping bme, the batterymeter went to 0% and I got it back only after returning to peripheral mode. Is this normal?

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Kossuth; 2013-05-08 at 19:47.

     
    pinochio | # 166 | 2013-05-08, 23:48 | Report

    Originally Posted by pali View Post
    I pushed new version of status-area-applet-battery to cssu-devel. It fixing problem that sometimes battery info was unknown but BME provided data.
    I install it on CSSU-stable and I have "Not data or Battery is not calibrated".

    /home/user/MyDocs # dpkg -i status-area-applet-battery_1.0-6_armel.deb
    (Reading database ... 23307 files and directories currently installed.)
    Preparing to replace status-area-applet-battery 1.0-4 (using status-area-applet-battery_1.0-6_armel.deb) ...
    Unpacking replacement status-area-applet-battery ...
    Setting up status-area-applet-battery (1.0-6) ...
    gconftool-2: I've been haxored to use xml::/etc/gconf/gconf.xml.defaults as the config source.
    Resolved address "xml::/etc/gconf/gconf.xml.defaults" to a writable configuration source at position 0
    Attached schema `/schemas/apps/osso/status-area-applet-battery/use_design_capacity' to key `/apps/osso/status-area-applet-battery/use_design_capacity'
    Installed schema `/schemas/apps/osso/status-area-applet-battery/use_design_capacity' for locale `C'

    Version 1.0-4 has worked reasonably well.

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

     
    panjgoori | # 167 | 2013-05-09, 03:38 | Report

    hi. im not getting "Not data or battery is not calibirated" error. but my battery percentge is at 100 percent since last night. screenshot attached.

    edit. im using CSSU-Thumb

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Images
     

    Last edited by panjgoori; 2013-05-09 at 03:41.

     
    pali | # 168 | 2013-05-09, 08:36 | Report

    @panjgoori: Do you have bme replacement or normal bme?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    pali | # 169 | 2013-05-09, 08:39 | Report

    Originally Posted by Kossuth View Post
    Edit: I tried switching the usb-mode from peripheral to host with boost and after announcing stopping bme, the batterymeter went to 0% and I got it back only after returning to peripheral mode. Is this normal?
    usbmode needs to turn off bme, but loading kernel drivers which provide battery information. after some seconds (30-60) battery applet should use these data and show them in applet.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to pali For This Useful Post:
    Kossuth

     
    pali | # 170 | 2013-05-09, 08:44 | Report

    @pinochio and @panjgoori: please provide output too:
    $ hal-device bme

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 17 of 55 | Prev | 7   15     16   17   18     19   27 | Next | Last
vBulletin® Version 3.8.8
Normal Logout