|
2011-12-05
, 21:18
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#932
|
|
2011-12-05
, 21:19
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#933
|
|
2011-12-05
, 21:27
|
Posts: 306 |
Thanked: 566 times |
Joined on Jan 2010
@ Romania
|
#934
|
I'm writing bq2415x charging kernel module, so something related should be done in this module too (as replacement for BME).
http://atrey.karlin.mff.cuni.cz/~pali/bq2415x/
|
2011-12-06
, 22:13
|
Posts: 561 |
Thanked: 75 times |
Joined on Jan 2010
@ Spain
|
#935
|
Latest charger.sh is here
http://enivax.net/jk/n900/charge21.sh.txt
just remove the .txt
|
2011-12-06
, 23:29
|
Posts: 561 |
Thanked: 75 times |
Joined on Jan 2010
@ Spain
|
#936
|
|
2011-12-07
, 01:12
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#937
|
The Following User Says Thank You to Estel For This Useful Post: | ||
|
2011-12-07
, 12:58
|
|
Posts: 528 |
Thanked: 345 times |
Joined on Aug 2010
@ MLB.AU
|
#938
|
|
2011-12-07
, 13:55
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#939
|
|
2011-12-07
, 18:13
|
Posts: 561 |
Thanked: 75 times |
Joined on Jan 2010
@ Spain
|
#940
|
the kernel don't need a circular timer for stable vbus for speedcheck
a single 32s pulse** for first hardware testing, and a second pulse for full - high selection ( ** turned off when not necesary )
then set a modified procfs. echo A(utosense) > /sys/.....?
a simple program from userspace can check this output then start with the corect speed.
i think is there is a great complication stopping bme and start a circular timer from kernel space. for sure the timer can do the job easy "from inside"
i will make a modification in the script with single i2c command for first speed ckeck.
this avoid ugly killall booston in first step
a simple daemon can watch ID* pin so triggering the host will make things simplier and natural
*with filled CA-157 cable or uAsoket
please provide feedback about the script (PM or .. your choice )
Automatic speed Hostmode
Last edited by blue_led; 2011-12-07 at 19:33.