hacker420[m] has joined #msm8937-mainline
jojo_autoboy[m] has joined #msm8937-mainline
Daanct12 has joined #msm8937-mainline
Danct12[m] has joined #msm8937-mainline
<
barni2000[m]>
meh in downstream they hardcoded the battery design capacity, in case of xiaomi-riva it is not hardcoded
<
Danct12[m]>
barni2000[m]: that's like with every manufacturer lol
<
Danct12[m]>
not just downstream but mainline too
<
hacker420[m]>
at least hardcoding it makes sense
<
hacker420[m]>
because most won't get some higher capacity battery\
<
Danct12[m]>
but also means there's no need to recalibrate the battery everytime the battery gets disconnected
<
Danct12[m]>
otherwise you'll get another n900 moment
<
barni2000[m]>
i compare wrong file but as i see in downstream fg should not read out design capacity from the registers
<
barni2000[m]>
s/compare/compared/
<
barni2000[m]>
it seems 27426 registers should be corrected no one every tested it
<
Danct12[m]>
booted redmi 4x with xo_board from rpmcc driver!!
<
Danct12[m]>
the new branch works
<
Danct12[m]>
now available on github, please test it
<
Danct12[m]>
BTW, if you use simplefb then it'll take a bit longer to initialize
<
Danct12[m]>
If you gave it a clock that is.
Daanct12 has quit [Quit: WeeChat 4.1.1]
<
barni2000[m]>
s/27426/bq27426/
<
barni2000[m]>
i wonder where they find 0x3c for DCAP in downstream DCAP is 0xFF what it means INVALID_REG_ADDR -> unsuported cmd
<
barni2000[m]>
i think the ops are also not correct i need to investigate further, so sad i cannot enable usb without the charger and fg