|
2013-02-07
, 15:41
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#2
|
The Following 4 Users Say Thank You to Estel For This Useful Post: | ||
|
2013-02-07
, 16:06
|
Posts: 189 |
Thanked: 171 times |
Joined on Jul 2011
|
#3
|
Thanks a lot for your hard work.
Now, don't get me wrong, but wasnt it already achieved, when using all 4 packages of Pali's BME replacement, + Pali's replacement battery applet, modified by kerio?
I'm definitely using bq2415x for charging, and bq27x00_battery for gathering data - it's auto-loading on my device boot. I'm also definitely using bme replacement. Now, all my charging leds patterns, notifications, etc are working OK; without using custom scripts.
Am I missing something?
/Estel
|
2013-02-07
, 16:21
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#4
|
The Following 2 Users Say Thank You to Estel For This Useful Post: | ||
|
2013-02-07
, 17:34
|
Posts: 189 |
Thanked: 171 times |
Joined on Jul 2011
|
#5
|
BTW, if you're interested in doing big upgrade, better choose kp52 - it's release-ready, and it would be in repos for some time, if not for migration fiasco and repos being disabled. Also, newest usbmode versions require kp52.
I'm also quite sure, that official repos are working for last few days - it's just that they were extremely slow. Now, if nothing changed for last 24h, they're fast, but many packages give hash sum errors. I.E, everything is as usual
/Estel
The Following User Says Thank You to pablocrossa For This Useful Post: | ||
|
2013-02-07
, 18:39
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#6
|
I was unaware of a KP52 release (I need to update out of 2011 software )
Today sudo apt-get install hexedit gave me a hash sum error so I assumed they still weren't up properly, AFAIK they are up under heavy load and work fairly unreliably...
BTW good luck with the aluminium replacement covers/cases, I am really looking forward to that Stick around TMO for longer, I am sure many people here like you opinions, knowledge and projects </rant>
The Following User Says Thank You to Estel For This Useful Post: | ||
|
2013-05-18
, 13:51
|
Posts: 863 |
Thanked: 213 times |
Joined on Feb 2012
@ Goa
|
#7
|
Tags |
bme-addon, update hal |
|
What is it?
If you are using charge21.sh in replacement of BME (or whilst doing hostmode + charging) or are using the bq27xxx kernel module by pali (I believe that is its name) for charging then you will have noticed the battery icon and the LED patterns will not change as they did with BME. This script updates HAL values so that all that functionality is still there whilst using these great projects.
How do I use it?
I have attached a ZIP file. If you extract it in a filesystem where you can set executable rights, mark i2cget as executable and run updatehal.sh it will work. If you don't understand the previous, do the following:
To install: To use: You will need root to run it!
Is this for me?
If you want the battery icon and LED patterns to update while not using BME and you can follow the simple instructions above then yes, this is for you.
PLEASE NOTE:
I have not tested this with the kernel module by pali so I am not sure if his LED orange-always-on while charging will interact in any way with mceledpattern. That being said I cannot imagine anything bad will happen because then receiving an SMS would break something in your phone while charging with his module .
ToDo:
Any questions, comments or suggestions please post bellow!
EDIT: According to Estel a few packages do this already for the bq27x00 kernel module, I was unaware of that .
Last edited by pablocrossa; 2013-02-07 at 16:08.