lenovo-ytx703-devel / android_kernel_lenovo_msm8976 Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
I readded DT2W (based on the original one by Christian and with Vlad's updates) for my extended kernel and I get two (old) issues.
This is the log after the second issue (showed the same after the first one):
[ 3494.808041] i2c-msm-v2 78b8000.i2c: TIMEOUT_ERROR(val:510msec) misconfigured GPIO or slave pulling bus line(s) low
[ 3494.808041] : msgs(n:2 cur:0 tx) bc(rx:2 tx:1) mode:FIFO slv_addr:0x38 MSTR_STS:0x0c110000 OPER:0x00000f60
[ 3494.809277] synaptics_dsx_i2c 4-0038: synaptics_rmi4_i2c_read: I2C retry 1
[ 3494.838041] i2c-msm-v2 78b8000.i2c: Runtime PM-callback was not invoked.
I was able to confirm that bug reported on XDA! Basically you can only charge the device once per boot. If you want to recharge it again later (about 12h or so), the current gets limited to 100mA, which is so low that it refuses to charge at all. We didn't catch that, because we reboot too often. Took me 2 weeks and many mails with an XDA member to even confirm and replicate it. Logs don't give a clue why it is happening either.
The current charger implementation is a mess, and probably needs to be revised again. Until I found a fix, I don't think any new public release makes any sense..
[37934.819292] SMBCHG: usbin_uv_handler: chip->usb_present = 0 rt_sts = 0x00 hvdcp_3_det_ignore_uv = 0 aicl = 1000
[37934.819313] SMBCHG: usbin_uv_handler: setting usb psy dp=f dm=f
[37934.821669] SMBCHG: smbchg_external_power_changed: entered
[37934.821700] SMBCHG: smbchg_external_power_changed: Lunch get_fg_soc_alarm!
[37934.822652] SMBCHG: is_usb_present: !(reg & USBIN_SRC_DET_BIT)
[37934.822717] SMBCHG: is_usb_present: !(reg & USBIN_SRC_DET_BIT)
[37934.823687] SMBCHG: get_property_from_fg: bms psy doesn't support reading prop 16 rc = -22
[37934.823701] SMBCHG: smbchg_calc_max_flash_current: bms psy does not support OCV
[37934.823726] SMBCHG: get_property_from_fg: bms psy doesn't support reading prop 12 rc = -22
[37934.823737] SMBCHG: get_prop_batt_voltage_max_design: Couldn't get voltage rc = -22
[37934.825761] SMBCHG: is_usb_present: !(reg & USBIN_SRC_DET_BIT)
[37934.981116] SMBCHG: smbchg_external_power_changed: entered
[37934.982036] SMBCHG: is_usb_present: !(reg & USBIN_SRC_DET_BIT)
[37934.982565] SMBCHG: get_property_from_fg: bms psy doesn't support reading prop 16 rc = -22
[37934.982577] SMBCHG: smbchg_calc_max_flash_current: bms psy does not support OCV
[37934.982602] SMBCHG: get_property_from_fg: bms psy doesn't support reading prop 12 rc = -22
[37934.982668] SMBCHG: get_prop_batt_voltage_max_design: Couldn't get voltage rc = -22
[37934.983562] SMBCHG: is_usb_present: !(reg & USBIN_SRC_DET_BIT)
[37934.985116] SMBCHG: is_usb_present: !(reg & USBIN_SRC_DET_BIT)
[37935.107410] SMBCHG: smbchg_external_power_changed: entered
[37935.108647] SMBCHG: is_usb_present: !(reg & USBIN_SRC_DET_BIT)
[37935.108653] SMBCHG: is_usb_present: !(reg & USBIN_SRC_DET_BIT)
[37935.108932] SMBCHG: get_property_from_fg: bms psy doesn't support reading prop 16 rc = -22
[37935.108946] SMBCHG: smbchg_calc_max_flash_current: bms psy does not support OCV
[37935.109500] SMBCHG: get_property_from_fg: bms psy doesn't support reading prop 12 rc = -22
[37935.109785] SMBCHG: get_prop_batt_voltage_max_design: Couldn't get voltage rc = -22
[37935.111914] SMBCHG: is_usb_present: !(reg & USBIN_SRC_DET_BIT)
[37935.218316] SMBCHG: is_usb_present: !(reg & USBIN_SRC_DET_BIT)
[37935.218339] SMBCHG: smbchg_get_fg_soc_work: enter
[37935.218350] POWER_SUPPLY_PROP_PM_CONTROL_WAKE
[37935.218361] staying awake: 0x02 (bit 2)
[37935.218374] SMBCHG: smbchg_stay_awake: staying awake: 0x10 (bit 16)
[37935.218424] SMBCHG: smbchg_check_temp: cur_temp = 245, region befor = 3
[37935.218436] SMBCHG: smbchg_check_temp: region after = 3,
[37935.218446] SMBCHG: smbchg_get_fg_soc_work: usb not present!
[37935.218466] SMBCHG: smbchg_relax: relaxing: 0x00 (bit 16)
[37935.218477] POWER_SUPPLY_PROP_PM_CONTROL_RELAX
[37935.218485] relaxing: 0x00 (bit 2)
[37935.671471] SMBCHG: src_detect_handler: chip->usb_present = 0 usb_present = 1 src_detect = 1 hvdcp_3_det_ignore_uv=0
[37935.671496] SMBCHG: handle_usb_insertion: triggered
[37935.671525] SMBCHG: handle_usb_insertion: inserted type = 5 (DCP)
[37935.671536] SMBCHG: smbchg_change_usb_supply_type: Type 5: setting mA = 1000
[37935.671590] SMBCHG: handle_usb_insertion: setting usb psy present = 1
[37935.671640] msm_otg 78db000.usb: Avail curr from USB = 1500
[37935.671665] SMBCHG: handle_usb_insertion: setting usb psy health GOOD
[37935.671877] SMBCHG: smbchg_external_power_changed: entered
[37935.671970] SMBCHG: smbchg_parallel_usb_check_ok: enter
[37935.671980] POWER_SUPPLY_PROP_PM_CONTROL_WAKE
[37935.671990] staying awake: 0x01 (bit 1)
[37935.672003] SMBCHG: smbchg_stay_awake: staying awake: 0x01 (bit 1)
[37935.672424] CHG_REG_0B=6
[37935.672794] SMBCHG: smbchg_usb_update_online_work: setting usb psy online = 1
[37935.673279] CHG_REG_0B=6
[37935.673584] SMBCHG: smbchg_external_power_changed: entered
[37935.674708] CHG_REG_0B=6
[37935.676036] SMBCHG: get_property_from_fg: bms psy doesn't support reading prop 16 rc = -22
[37935.676054] SMBCHG: smbchg_calc_max_flash_current: bms psy does not support OCV
[37935.676079] SMBCHG: get_property_from_fg: bms psy doesn't support reading prop 12 rc = -22
[37935.676091] SMBCHG: get_prop_batt_voltage_max_design: Couldn't get voltage rc = -22
[37935.677013] SMBCHG: smbchg_check_temp: cur_temp = 245, region befor = 3
[37935.677030] SMBCHG: smbchg_check_temp: region after = 3,
[37935.677661] SMBCHG: smbchg_set_usb_current_max: USB current_ma = 0
[37935.677675] SMBCHG: smbchg_set_usb_current_max: usb type = 5 current set to 0 mA
[37935.677782] SMBCHG: charging_parallel_suspend_vote_cb: suspend 0
[37935.685838] CHG_REG_0B=6
[37935.690537] CHG_REG_0B=16, disable = 0
[37935.693249] CHG_REG_0B=16
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.