View Single Post
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#2559
Originally Posted by AndrewX192 View Post
The weird thing is that data works. How can I get kp52 and bq2415x_charger with the cssu thumb kernel?
As You've noticed yourself, kernel-power (from version 51r1, IIRC, and above) have thumb-patches included. you don't need cssu-kernel, if you use kernel-power. Now, if you ask me, that whole cssu-0kernel thing is a mess - they should just use kernel-power instead, but it's topic for a long discussion, not necessary on-topic here. the point is, if you use KP, you can forget cssu-kernel existence.

Originally Posted by AndrewX192 View Post
I've tested charging with bq2415x_charger, but haven't got it charging with the chargers it wasn't working with before. I'm not sure how to get it in dedicated mode.
Code:
echo dedicated > /sys/class/power_supply/bq24150a-0/mode
...of course, supposing that you have bq2415x_charger module loaded, already. If not, you will get error about that path not existing - try loading module via
Code:
modprobe bq2415x_charger
...and echo command, again.
---

so, you repaired your port to state of having *both* charging and data working, but charging works only from established data connection (like connected to notebook)? Very strange. Forcing dedicated mode should work, so try it first, but it would be nice to investigate it more, afterwards. Like, posting tail of dmesg, invoked after connecting charger to device.

/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!