Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Announce] kernel-power stable v49 in Extras-Testing

    Reply
    Page 61 of 300 | Prev | 51   59     60   61   62     63   71 | Next | Last
    colin.stephane | # 601 | 2011-05-17, 13:38 | Report

    Originally Posted by Flandry View Post
    bq27x00_battery 5264 0
    power_supply 7044 1 b27x00_battery

    What are you looking for?
    Ok, next step, can you put here result of this command now (from a terminal with root access) :

    Code:
    lshal -u /org/freedesktop/Hal/devices/computer_power_supply_battery_bq27200_0 | grep battery.charge_level.percentage | awk '{print "Battery reported by driver b27x00_battery : "$3"%"}' ; lshal -u /org/freedesktop/Hal/devices/bme | grep battery.charge_level.percentage | awk '{print "Battery reported by Nokia bme binary : "$3"%"}'
    A++

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by colin.stephane; 2011-05-17 at 13:49.
    The Following 2 Users Say Thank You to colin.stephane For This Useful Post:
    Estel, vi_

     
    Flandry | # 602 | 2011-05-17, 13:57 | Report

    100% and 11%

    Edit: and now 100% and 79%

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Flandry; 2011-05-17 at 14:05.

     
    colin.stephane | # 603 | 2011-05-17, 14:05 | Report

    Originally Posted by Flandry View Post
    100% and 11%
    Final step :

    Open a terminal as root, then do :

    Code:
    clear && ID=$(id -un) ; if [ ${ID} != "root" ] ; then echo "You are not 'root', please use this command line as 'root' ..." ; else echo "Ok, you are 'root' ..." ; if grep -q "blacklist bq27x00_battery" /etc/modprobe.d/blacklist 2>/dev/null ; then echo "Patch already applyed, nothing to be done ..." ; echo "" ; else echo "Applying patch now ..." ; echo "blacklist bq27x00_battery" >>/etc/modprobe.d/blacklist ; echo "" ; echo "DONE, PLEASE REBOOT YOUR DEVICE ..." ; echo "" ; fi ; fi

    For details, please read this thread from here : http://talk.maemo.org/showthread.php?t=71879&page=54

    A++

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by colin.stephane; 2011-06-08 at 20:31. Reason: Corrected the script with correct command "blacklist bq27x00_battery", sorry ...

     
    Flandry | # 604 | 2011-05-17, 14:14 | Report

    Originally Posted by colin.stephane View Post
    Final step :

    Open a terminal as root, then do :

    Code:
    echo "blacklist bq27x00_battery" >>/etc/modprobe.d/blacklist
    Reboot & enjoy !!!

    For details, please read this thread from here : http://talk.maemo.org/showthread.php?t=71879&page=54

    A++
    I don't understand how this is going to help. The battery indicator is obviously not following the Nokia bme binary numbers and it's the battery indicator that suggests the battery is draining faster now. Could you please explain?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Flandry For This Useful Post:
    elie-7

     
    colin.stephane | # 605 | 2011-05-17, 14:24 | Report

    Originally Posted by Flandry View Post
    I don't understand how this is going to help. The battery indicator is obviously not following the Nokia bme binary numbers and it's the battery indicator that suggests the battery is draining faster now. Could you please explain?
    What you don't understand ?

    NEVER load the 'b27x00_battery' driver, as it breaks bme by exclusively occupying the I2C bus !!!

    Like stated by 'joerg_rw' here : http://talk.maemo.org/showpost.php?p...&postcount=534

    So, there is no interest at all for the 'bq27x00_battery' driver 'pali' backported to this release.

    Also, in this thread, 'pali' say, to apply patch to be able to use the values reported by 'bq27x00_battery' driver he backported, but since the driver is unusable, no need to patch anything, and keep using bme.

    Hope it help ...

    A++

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Flandry | # 606 | 2011-05-17, 14:28 | Report

    Sorry, i read those posts a few days ago and i read them again now and it still makes no sense in the context of what appears to be an increase in battery consumption. Or are you saying that the b27x00 driver causes the battery consumption to increase?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    colin.stephane | # 607 | 2011-05-17, 14:41 | Report

    Originally Posted by Flandry View Post
    Sorry, i read those posts a few days ago and i read them again now and it still makes no sense in the context of what appears to be an increase in battery consumption. Or are you saying that the b27x00 driver causes the battery consumption to increase?
    The thing I'm sure of, is the v47 doesn't consume more or less than v46.

    You have to find why you see battery drain elsewhere, maybe you have installed another program power consuming since v47 ...

    Also, since you have the 'b27x00_battery' loaded, then chances are bme crash like 'joerg_rw' explained ...

    After this stated, reading Wiki, bme seem also to control the battery charge, stopping himself during the charge of the battery (if I understand properly).

    And I'm pretty sure this step is required to properly calibrate battery charging ...

    A++

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to colin.stephane For This Useful Post:
    elie-7, Estel, Flandry, reinob

     
    Frappacino | # 608 | 2011-05-17, 15:08 | Report

    ironic how colin is now asking ppl to run commands on root to diagnose a problem after vi_* screwed a newb who asked for help for running commands he did not understand on root,

    ... its not only the newbs who are problematic around here...

    ps - thanks colin for trying to geniuely help.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to Frappacino For This Useful Post:
    elie-7, Estel, Xagoln

     
    colin.stephane | # 609 | 2011-05-17, 17:29 | Report

    Originally Posted by Frappacino View Post
    ironic how colin is now asking ppl to run commands on root to diagnose a problem after vi_* screwed a newb who asked for help for running commands he did not understand on root,

    ... its not only the newbs who are problematic around here...

    ps - thanks colin for trying to geniuely help.
    Difference between him and me, is I'm trying to not screw the audience with dangerous commands, at least I'll do my best ...



    A++

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to colin.stephane For This Useful Post:
    elie-7, Estel, fw190, Xagoln

     
    Mentalist Traceur | # 610 | 2011-05-17, 18:42 | Report

    vi_ there's no need to take this personally. One of the newbs who ran your command did say their phone wasn't booting anymore, shortly after you posted the ash compatible version. Depends on how you define screwed, of course. That might not qualify in your book. *Shrug* Point is, there's no need to get emotionally invested in other people referring back to it. It happened, your reputation is thus changed for those who are aware of it. It probably will come up as time goes on.

    Meanwhile, why IS the bq27x00_battery module loading by default? Last I checked all the other kernel power versions included it, but didn't load it by default unless you explicitly added it to the /etc/modules file.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to Mentalist Traceur For This Useful Post:
    elie-7, NokiaRocks, Xagoln

     
    Page 61 of 300 | Prev | 51   59     60   61   62     63   71 | Next | Last
vBulletin® Version 3.8.8
Normal Logout