Reply
Thread Tools
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#471
Originally Posted by reinob View Post
Can you explain this one a bit?

Meaning: does in-kernel battery charging actually work? (will gladly test it, but need more info
Yes, I charged battery in my n900 more times without problem with this my in-kernel driver.

Originally Posted by reinob View Post
Is isp1704 also in there?
If you mean upstream isp1704_charger kernel driver, no it is not included. But isp1704_charger driver was created from our patched maemo 2.6.28 musb code. So isp1704_charger is included in musb kernel driver (which do needed wallcharger detection).

Originally Posted by reinob View Post
I read in one LKML thread (where you and Felipe discussed the two alternative drivers) that one would have to stop mce, insmod the module and echo auto/none/host/dedicated to /sys/class/power_supply/bq24150-0/mode.

Assuming I try the above, will my N900 become a bratwurst? (or a bratbrick

How do I stop charging? is this automatically detected? or do I have to echo something to /mode and unplug the charger, etc.?
Now in kp51 autodetection of charger type working, so manual mode is not needed. But BME must be stopped and then bq2415x_charger driver can be loaded.

Originally Posted by reinob View Post
Sorry lots of questions. If this works it's going to be BIG (for me at least) but I need to know (without time for reading the module nor time to actually check if the module is OK if this is more-or-less-safe to try.

Cheers and thanks a million!
I written some info about charging & hostmode with bq2415x_charger driver for kernel-power on: http://atrey.karlin.mff.cuni.cz/~pal...o/bq2415x.html
 

The Following 10 Users Say Thank You to pali For This Useful Post:
Posts: 64 | Thanked: 109 times | Joined on Mar 2010
#472
Pali, I've read your info about bq2415x_charger driver. I've got only one question. What is boost mode?
 
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#473
Originally Posted by mauron85 View Post
Pali, I've read your info about bq2415x_charger driver. I've got only one question. What is boost mode?
power for your usb device in usb host mode if you do not have external power supply.
 

The Following 3 Users Say Thank You to pali For This Useful Post:
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#474
New update for kernel-power-modules package:

Now I added patch for bq27x00_battery kernel driver which export values of all chip registers to one text sysfs file /sys/class/power_supply/bq27200-0/registers in format reg=val separated by newline (both reg and val are in hexadecimal). Driver is still blacklisted due to BME.
 

The Following 9 Users Say Thank You to pali For This Useful Post:
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#475
Originally Posted by pali View Post
New update for kernel-power-modules package:

Now I added patch for bq27x00_battery kernel driver which export values of all chip registers to one text sysfs file /sys/class/power_supply/bq27200-0/registers in format reg=val separated by newline (both reg and val are in hexadecimal). Driver is still blacklisted due to BME.
Feels like my birthday :-D And I got all I ever asked for.
Thanks Pali!

/j
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N
 

The Following 5 Users Say Thank You to joerg_rw For This Useful Post:
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#476
Originally Posted by mauron85 View Post
Pali, I've read your info about bq2415x_charger driver. I've got only one question. What is boost mode?
N900 provides up to 200mA@5V on USB receptacle +VBUS_5V. Needed for USB hostmode/H-E-N

/j
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N
 

The Following 2 Users Say Thank You to joerg_rw For This Useful Post:
Posts: 372 | Thanked: 61 times | Joined on Jan 2012
#477
when will it hit the repos?
 
sifo's Avatar
Posts: 1,359 | Thanked: 1,292 times | Joined on Oct 2011 @ Tartus.Syria
#478
Originally Posted by Mohammed Muid View Post
when will it hit the repos?
http://talk.maemo.org/showpost.php?p...&postcount=460

im not sure you want it if you did not read the posts before
__________________
[ N900-Crack ] [ The Purge ] [ New Smiles ] [ New icons ] [ ? ]
" Hey ! I've just met you and this is crazy, so install cssu maybe ? "
Please help out keeping Maemo.org alive, and consider donating.
https://www.facebook.com/ZoRk7
 

The Following 2 Users Say Thank You to sifo For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#479
Originally Posted by joerg_rw View Post
no time to comment on all the other questions, just one thing: charging on N900 is immanently safe due to hardware design. No way to fry your device.

/j
AFAIK, ShadowJK mentioned once a possibility of overheating chip, when charging with more than 950 mA (he tried faster charging, using charge.sh and temperature change was very troubling - I asked about it, when I considered faster charging due to 2-cell battery and 2A power source).

It's possible that I've misunderstood something - so don't get aggressive, like in last answer to my post (despite my tremendous amount of marking, that it's personal view on things, personal opinion, may be not accurate, etc) - but are you sure about that one, i.e complete bulletproofness of charging route design?

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
ersanpermana's Avatar
Posts: 92 | Thanked: 41 times | Joined on Jun 2012 @ indonesia
#480
Hy all,what you've tried mobilehotspot and qtmobilehotspot connection? Is there a problem? Why do I always fail to connect to other devices?
Could initially but now it always failed
 
Reply

Tags
battery test, i <3 fmg, i <3 pali, igottaboner, kernel, kernel-power, viva fmg, viva pali


 
Forum Jump


All times are GMT. The time now is 05:43.