Giter VIP home page Giter VIP logo

android_kernel_lenovo_msm8976's People

Contributors

acmel avatar adrianbunk avatar alanstern avatar arndb avatar avikivity avatar axellin avatar broonie avatar bzolnier avatar davem330 avatar dhowells avatar ebiederm avatar gregkh avatar heicarst avatar herbertx avatar htejun avatar hverkuil avatar ickle avatar jmberg avatar jmberg-intel avatar joeperches avatar kaber avatar neilbrown avatar ozbenh avatar pmundt avatar ralfbaechle avatar rddunlap avatar rjwysocki avatar skeggsb avatar tiwai avatar torvalds avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

android_kernel_lenovo_msm8976's Issues

Wakeup and touch issues with DT2W enabled

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.

  1. sometimes it doesn't wake up after touching
  2. sometimes (very rarely) the screen becomes extremely unresponsive, to the point it is totally unusable. I originally thought that this was related to some recalibration issue, due to the fact that the touch sensor is kept on all the time. But this time it happened from one second to another while I was using it.
    Disabling DT2W solves the issue (after you turn the screen off an on) instantly.

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.

Charging is broken

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.