Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wireless charger is not always working #147

Open
rinigus opened this issue Jun 27, 2021 · 1 comment
Open

Wireless charger is not always working #147

rinigus opened this issue Jun 27, 2021 · 1 comment
Labels
hybris-10 AOSP 10 based port

Comments

@rinigus
Copy link
Contributor

rinigus commented Jun 27, 2021

Filed upstream at sonyxperiadev/bug_tracker#701

Regression when compared to AOSP9:

Wireless charger is not always charging in AOSP10 based port, used to work 100% on AOSP9 based port.

journal when charging fails:

Jun 27 10:31:14 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-lt-3p6v, dc_int_rt_sts: 0x04, aicl_status: 0x00
Jun 27 10:31:14 XperiaXZ2 kernel: PMI: smblib_handle_dcin_uv: IRQ: dcin-uv reg: 0x10
Jun 27 10:31:14 XperiaXZ2 kernel: PMI: smblib_somc_ctrl_inhibit: Disable inhibit for RB WA
Jun 27 10:31:14 XperiaXZ2 kernel: PMI: smblib_handle_dc_plugin: IRQ: dcin-plugin dc_present:1
Jun 27 10:31:15 XperiaXZ2 healthd: battery l=92 v=4184 t=33.7 h=2 st=4 c=388 fc=3217000 chg=w
Jun 27 10:31:19 XperiaXZ2 mce[2367]: modules/proximity.c: mp_datapipe_set_proximity_sensor_actual(): state: OPEN -> UNDEF
Jun 27 10:31:19 XperiaXZ2 kernel: PM: PM: suspend entry 2021-06-27 07:31:19.604610922 UTC
Jun 27 10:31:19 XperiaXZ2 kernel: PM: suspend entry (deep)
Jun 27 10:31:19 XperiaXZ2 kernel: PM: Syncing filesystems ... done.
Jun 27 10:31:20 XperiaXZ2 kernel: Freezing user space processes ... (elapsed 0.008 seconds) done.
Jun 27 10:31:20 XperiaXZ2 kernel: OOM killer disabled.
Jun 27 10:31:20 XperiaXZ2 kernel: Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done.
Jun 27 10:31:20 XperiaXZ2 kernel: Suspending console(s) (use no_console_suspend to debug)
Jun 27 10:31:20 XperiaXZ2 kernel: Disabling non-boot CPUs ...
Jun 27 10:31:20 XperiaXZ2 kernel: CPU1: shutdown
Jun 27 10:31:20 XperiaXZ2 kernel: CPU2: shutdown
Jun 27 10:31:20 XperiaXZ2 kernel: CPU3: shutdown
Jun 27 10:31:20 XperiaXZ2 kernel: CPU4: shutdown
Jun 27 10:31:20 XperiaXZ2 kernel: CPU5: shutdown
Jun 27 10:31:20 XperiaXZ2 kernel: CPU6: shutdown
Jun 27 10:31:20 XperiaXZ2 kernel: IRQ 6: no longer affine to CPU7
Jun 27 10:31:20 XperiaXZ2 kernel: CPU7: shutdown
Jun 27 10:31:20 XperiaXZ2 kernel: suspend ns:   21962534167545        suspend cycles:    1220654555611
Jun 27 10:31:20 XperiaXZ2 kernel: resume cycles:    1220669467172
Jun 27 10:31:20 XperiaXZ2 kernel: Enabling non-boot CPUs ...
Jun 27 10:31:20 XperiaXZ2 kernel:  cache: parent cpu1 should not be sleeping
Jun 27 10:31:20 XperiaXZ2 kernel: CPU1 is up
Jun 27 10:31:20 XperiaXZ2 kernel:  cache: parent cpu2 should not be sleeping
Jun 27 10:31:20 XperiaXZ2 kernel: CPU2 is up
Jun 27 10:31:20 XperiaXZ2 kernel:  cache: parent cpu3 should not be sleeping
Jun 27 10:31:20 XperiaXZ2 kernel: CPU3 is up
Jun 27 10:31:20 XperiaXZ2 kernel:  cache: parent cpu4 should not be sleeping
Jun 27 10:31:20 XperiaXZ2 kernel: CPU4 is up
Jun 27 10:31:20 XperiaXZ2 kernel:  cache: parent cpu5 should not be sleeping
Jun 27 10:31:20 XperiaXZ2 kernel: CPU5 is up
Jun 27 10:31:20 XperiaXZ2 kernel:  cache: parent cpu6 should not be sleeping
Jun 27 10:31:20 XperiaXZ2 kernel: CPU6 is up
Jun 27 10:31:20 XperiaXZ2 kernel:  cache: parent cpu7 should not be sleeping
Jun 27 10:31:20 XperiaXZ2 kernel: CPU7 is up
Jun 27 10:31:20 XperiaXZ2 kernel: OOM killer enabled.
Jun 27 10:31:20 XperiaXZ2 kernel: Restarting tasks ... done.
Jun 27 10:31:20 XperiaXZ2 kernel: thermal thermal_zone79: failed to read out wireless thermal zone (-19)
Jun 27 10:31:20 XperiaXZ2 kernel: PM: PM: suspend exit 2021-06-27 07:31:20.534338675 UTC
Jun 27 10:31:20 XperiaXZ2 kernel: PM: suspend exit
Jun 27 10:31:20 XperiaXZ2 kernel: PM: PM: suspend entry 2021-06-27 07:31:20.784517645 UTC
Jun 27 10:31:20 XperiaXZ2 kernel: PM: suspend entry (deep)
Jun 27 10:31:23 XperiaXZ2 kernel: PM: Syncing filesystems ... done.
Jun 27 10:31:23 XperiaXZ2 kernel: Freezing user space processes ... (elapsed 0.009 seconds) done.
Jun 27 10:31:23 XperiaXZ2 kernel: OOM killer disabled.
Jun 27 10:31:23 XperiaXZ2 kernel: Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done.
Jun 27 10:31:23 XperiaXZ2 kernel: Suspending console(s) (use no_console_suspend to debug)
Jun 27 10:31:23 XperiaXZ2 kernel: qcom,rpmh-regulator soc:rpmh-regulator-ldoa1: TCS Busy, retrying RPMH message send
Jun 27 10:31:23 XperiaXZ2 kernel: Disabling non-boot CPUs ...
Jun 27 10:31:23 XperiaXZ2 kernel: CPU1: shutdown
Jun 27 10:31:23 XperiaXZ2 kernel: CPU2: shutdown
Jun 27 10:31:23 XperiaXZ2 kernel: CPU3: shutdown
Jun 27 10:31:23 XperiaXZ2 kernel: CPU4: shutdown
Jun 27 10:31:23 XperiaXZ2 kernel: CPU5: shutdown
Jun 27 10:31:23 XperiaXZ2 kernel: CPU6: shutdown
Jun 27 10:31:23 XperiaXZ2 kernel: IRQ 6: no longer affine to CPU7
Jun 27 10:31:23 XperiaXZ2 kernel: CPU7: shutdown
Jun 27 10:31:23 XperiaXZ2 kernel: suspend ns:   21962913081816        suspend cycles:    1220676742326
Jun 27 10:31:23 XperiaXZ2 kernel: resume cycles:    1220718696151
Jun 27 10:31:23 XperiaXZ2 kernel: Enabling non-boot CPUs ...
Jun 27 10:31:23 XperiaXZ2 kernel:  cache: parent cpu1 should not be sleeping
Jun 27 10:31:23 XperiaXZ2 kernel: CPU1 is up
Jun 27 10:31:23 XperiaXZ2 kernel:  cache: parent cpu2 should not be sleeping
Jun 27 10:31:23 XperiaXZ2 kernel: CPU2 is up
Jun 27 10:31:23 XperiaXZ2 kernel:  cache: parent cpu3 should not be sleeping
Jun 27 10:31:23 XperiaXZ2 kernel: CPU3 is up
Jun 27 10:31:23 XperiaXZ2 kernel:  cache: parent cpu4 should not be sleeping
Jun 27 10:31:23 XperiaXZ2 kernel: CPU4 is up
Jun 27 10:31:23 XperiaXZ2 kernel:  cache: parent cpu5 should not be sleeping
Jun 27 10:31:23 XperiaXZ2 kernel: CPU5 is up
Jun 27 10:31:23 XperiaXZ2 kernel:  cache: parent cpu6 should not be sleeping
Jun 27 10:31:23 XperiaXZ2 kernel: CPU6 is up
Jun 27 10:31:23 XperiaXZ2 kernel:  cache: parent cpu7 should not be sleeping
Jun 27 10:31:23 XperiaXZ2 kernel: CPU7 is up
Jun 27 10:31:23 XperiaXZ2 kernel: OOM killer enabled.
Jun 27 10:31:23 XperiaXZ2 kernel: Restarting tasks ... done.
Jun 27 10:31:23 XperiaXZ2 kernel: thermal thermal_zone79: failed to read out wireless thermal zone (-19)
Jun 27 10:31:23 XperiaXZ2 kernel: PM: PM: suspend exit 2021-06-27 07:31:23.077746500 UTC
Jun 27 10:31:23 XperiaXZ2 kernel: PM: suspend exit
Jun 27 10:31:23 XperiaXZ2 mce[2367]: modules/battery-udev.c: mcebat_update(): battery_state: discharging -> not_charging
Jun 27 10:31:24 XperiaXZ2 kernel: PM: PM: suspend entry 2021-06-27 07:31:24.457573289 UTC
Jun 27 10:31:24 XperiaXZ2 kernel: PM: suspend entry (deep)
Jun 27 10:31:24 XperiaXZ2 kernel: PM: Syncing filesystems ... done.
Jun 27 10:31:25 XperiaXZ2 kernel: Freezing user space processes ... (elapsed 0.009 seconds) done.
Jun 27 10:31:25 XperiaXZ2 kernel: OOM killer disabled.
Jun 27 10:31:25 XperiaXZ2 kernel: Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done.
Jun 27 10:31:25 XperiaXZ2 kernel: Suspending console(s) (use no_console_suspend to debug)
Jun 27 10:31:25 XperiaXZ2 kernel: Disabling non-boot CPUs ...

Notice that mce switched from discharging -> not_charging; healthd shows chg=w

Taking off the charger, when charging failed:

Jun 27 10:37:18 XperiaXZ2 mce[2367]: modules/display.c: mdy_display_state_enter(): current display state = OFF
Jun 27 10:37:20 XperiaXZ2 kernel: PMI: smblib_handle_dcin_uv: IRQ: dcin-uv reg: 0x14
Jun 27 10:37:20 XperiaXZ2 kernel: PMI: smblib_somc_wlc_fake_charging_work: don't enforce wireless fake
Jun 27 10:37:20 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-lt-3p6v, dc_int_rt_sts: 0x14, aicl_status: 0x00
Jun 27 10:37:20 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-lt-3p6v, dc_int_rt_sts: 0x16, aicl_status: 0x00
Jun 27 10:37:20 XperiaXZ2 kernel: IDTP: idtp9221_wake_lock: pm_stay_awake
Jun 27 10:37:20 XperiaXZ2 kernel: IDTP: idtp9221_irq_handler: irq_status=1
Jun 27 10:37:20 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-collapse, dc_int_rt_sts: 0x17, aicl_status: 0x08
Jun 27 10:37:20 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:37:20 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:0(POFF) wlc_irq_status:1
Jun 27 10:37:20 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: skip monitoring due to POFF
Jun 27 10:37:20 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: stop worker(POFF)
Jun 27 10:37:20 XperiaXZ2 kernel: IDTP: idtp9221_wake_lock: pm_relax
Jun 27 10:37:20 XperiaXZ2 kernel: PMI: smblib_somc_ctrl_inhibit: Disable inhibit for RB WA
Jun 27 10:37:20 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-collapse, dc_int_rt_sts: 0x06, aicl_status: 0x00
Jun 27 10:37:20 XperiaXZ2 kernel: PMI: smblib_handle_dc_plugin: IRQ: dcin-plugin dc_present:0
Jun 27 10:37:20 XperiaXZ2 healthd: battery l=91 v=4179 t=34.0 h=2 st=3 c=383 fc=3217000 chg=
Jun 27 10:37:20 XperiaXZ2 wpa_supplicant[3319]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=US
Jun 27 10:37:21 XperiaXZ2 pickupd[27989]: [D] unknown:0 - Received pickup sensor activity
Jun 27 10:37:21 XperiaXZ2 mce[2367]: modules/display.c: mdy_dbus_schedule_display_state_req(): display ON request from name=:1.519 owner=:1.519 pid=27989 uid=100000 gid=100000 priv=0 cmd=/usr/bin/pickupd
Jun 27 10:37:21 XperiaXZ2 mce[2367]: modules/display.c: mdy_dbus_handle_display_state_req(): display state req: ON
Jun 27 10:37:21 XperiaXZ2 mce[2367]: modules/display.c: mdy_display_state_leave(): current display state = POWER_UP
Jun 27 10:37:21 XperiaXZ2 lipstick[4698]: [D] unknown:0 - unsleepDisplay
Jun 27 10:37:21 XperiaXZ2 kernel: dsi-ctrl:[_dsi_ctrl_setup_isr] [DSI_0] IRQ 453 registered
Jun 27 10:37:21 XperiaXZ2 kernel: @@@@ panel power on @@@@
Jun 27 10:37:21 XperiaXZ2 kernel: somc_panel_color_manager: somc_panel_pcc_setup (870): PCC already applied
Jun 27 10:37:21 XperiaXZ2 sailfish-fpd-community[3418]: int FPDCommunity::Identify(const QDBusMessage&) ":1.13"
Jun 27 10:37:21 XperiaXZ2 sailfish-fpd-community[3418]: void FPDCommunity::setState(FPDCommunity::State) FPDCommunity::State(FPSTATE_IDENTIFYING)
Jun 27 10:37:21 XperiaXZ2 sailfish-fpd-community[3418]: void AndroidFP::authenticate()
Jun 27 10:37:21 XperiaXZ2 mce[2367]: modules/display.c: mdy_display_state_enter(): current display state = ON
Jun 27 10:37:22 XperiaXZ2 kernel: clearpad clearpad: (clearpad_initialize:2353) initialize device
Jun 27 10:37:22 XperiaXZ2 kernel: clearpad clearpad: (clearpad_update_chip_id:6220) chip_id=0x44
Jun 27 10:37:22 XperiaXZ2 kernel: clearpad clearpad: (clearpad_touch_config_dt_for_chip_id:6040) read settings for TD4353jdi
Jun 27 10:37:22 XperiaXZ2 kernel: clearpad clearpad: (clearpad_initialize:2380) device status 0x81
Jun 27 10:37:22 XperiaXZ2 kernel: clearpad clearpad: (clearpad_initialize:2412) bl[2]:8
Jun 27 10:37:22 XperiaXZ2 kernel: clearpad clearpad: (clearpad_initialize:2413) bl[3]:6
Jun 27 10:37:22 XperiaXZ2 kernel: clearpad clearpad: (clearpad_initialize:2418) bootloader revision 6.8
Jun 27 10:37:22 XperiaXZ2 kernel: clearpad clearpad: (clearpad_initialize:2427) bootloader revision 6.008
Jun 27 10:37:22 XperiaXZ2 kernel: ------------[ cut here ]------------
Jun 27 10:37:22 XperiaXZ2 kernel: WARNING: CPU: 1 PID: 6411 at /home/rinigus/hadk/kernel/sony/msm-4.14/kernel/drivers/input/touchscreen/clearpad_incell_core.c:2141 clearpad_query_regs+0x1b8/0x228
Jun 27 10:37:22 XperiaXZ2 kernel: Modules linked in:
Jun 27 10:37:22 XperiaXZ2 kernel: CPU: 1 PID: 6411 Comm: kworker/1:4 Tainted: G        W       4.14.232-gd88c66b3138a #1
Jun 27 10:37:22 XperiaXZ2 kernel: Hardware name: Sony Mobile Communications. Akari(SDM845 v2.1) (DT)
Jun 27 10:37:22 XperiaXZ2 kernel: Workqueue: clearpad_thread_resume clearpad_thread_resume_work
Jun 27 10:37:22 XperiaXZ2 kernel: task: ffffffc0e3c4ba00 task.stack: ffffffc0abff8000
Jun 27 10:37:22 XperiaXZ2 kernel: pc : clearpad_query_regs+0x1b8/0x228
Jun 27 10:37:22 XperiaXZ2 kernel: lr : clearpad_query_regs+0x10c/0x228
Jun 27 10:37:22 XperiaXZ2 kernel: sp : ffffffc0abffbbf0 pstate : 60c00145
Jun 27 10:37:22 XperiaXZ2 kernel: x29: ffffffc0abffbc50 x28: ffffff800a406000 
Jun 27 10:37:22 XperiaXZ2 kernel: x27: 0000000000000402 x26: ffffffc0e3c4ba00 
Jun 27 10:37:22 XperiaXZ2 kernel: x25: 0000000000000000 x24: ffffffc0ec66aff1 
Jun 27 10:37:22 XperiaXZ2 kernel: x23: 00000000fffffffb x22: 0000000000000001 
Jun 27 10:37:22 XperiaXZ2 kernel: x21: 000000000000000b x20: ffffffc0ec6605b8 
Jun 27 10:37:22 XperiaXZ2 kernel: x19: ffffffc0ec660080 x18: 00000000000000ff 
Jun 27 10:37:22 XperiaXZ2 kernel: x17: 0000000000000050 x16: 000000000000000e 
Jun 27 10:37:22 XperiaXZ2 kernel: x15: 0000000000000050 x14: 0000000000000017 
Jun 27 10:37:22 XperiaXZ2 kernel: x13: 00000000000000ff x12: 0000000000000001 
Jun 27 10:37:22 XperiaXZ2 kernel: x11: ffffffc0abffbbf4 x10: 0000000000000009 
Jun 27 10:37:22 XperiaXZ2 kernel: x9 : 0000000000000048 x8 : 000000000000000a 
Jun 27 10:37:22 XperiaXZ2 kernel: x7 : 0000000000000005 x6 : ffffffc0abffbbf5 
Jun 27 10:37:22 XperiaXZ2 kernel: x5 : 0000000000000001 x4 : 00001412a0f3ea15 
Jun 27 10:37:22 XperiaXZ2 kernel: x3 : 0000000000000000 x2 : 0000000000000001 
Jun 27 10:37:22 XperiaXZ2 kernel: x1 : 0000000000000002 x0 : 0000000000000000 
Jun 27 10:37:22 XperiaXZ2 kernel: 
                                  PC: 0xffffff8008c0afcc:
Jun 27 10:37:22 XperiaXZ2 kernel: afcc  382f6a92 910005ef 54000068 710021ff 54fffea3 0b0f012f 710141ff 5400012a
Jun 27 10:37:22 XperiaXZ2 kernel: afec  37f8012e 9100054a 2a1f03e0 91002294 eb08015f 91002129 54fffc83 1400000f
Jun 27 10:37:22 XperiaXZ2 kernel: b00c  d4210000 f9400a68 90009481 90009482 91177021 91004100 91180442 52811183
Jun 27 10:37:22 XperiaXZ2 kernel: b02c  97f80803 90009481 91179021 aa1303e0 97ffd4d0 2a1f03e0 f000bfe9 f94017e8
Jun 27 10:37:22 XperiaXZ2 kernel: 
                                  LR: 0xffffff8008c0af20:
Jun 27 10:37:22 XperiaXZ2 kernel: af20  f940126c f9400a6d 39527e6b 394003ee 39526e6a 320007e9 7100011f f9401988
Jun 27 10:37:22 XperiaXZ2 kernel: af40  f94009a0 1a9f0536 0b0b02a9 0b0e02d5 2a0a2121 910013e2 2a1503e3 d63f0100
Jun 27 10:37:22 XperiaXZ2 kernel: af60  7100001f 1a97b008 6b15001f 1a8803e0 350006a0 394003e8 b4000648 aa1f03e9
Jun 27 10:37:22 XperiaXZ2 kernel: af80  aa1f03ea 2a1f03ee 910013eb 320003ec 32001fed d37df14f f1013dff 54000388
Jun 27 10:37:22 XperiaXZ2 kernel: 
                                  SP: 0xffffffc0abffbbb0:
Jun 27 10:37:22 XperiaXZ2 kernel: bbb0  08c0b00c ffffff80 60c00145 00000000 00000001 00000000 0000000b 00000000
Jun 27 10:37:22 XperiaXZ2 kernel: bbd0  ffffffff ffffffff ec660080 ffffffc0 abffbc50 ffffffc0 08c0b00c ffffff80
Jun 27 10:37:22 XperiaXZ2 kernel: bbf0  abffbc0a d09f002d 00000e76 ff0e0221 00000402 00000000 08c14f10 ffffff80
Jun 27 10:37:22 XperiaXZ2 kernel: bc10  e3c4ba00 ffffffc0 3daabb00 2c12fc6e 00000004 00000000 00000004 00000000
Jun 27 10:37:22 XperiaXZ2 kernel: 
Jun 27 10:37:22 XperiaXZ2 kernel: Call trace:
Jun 27 10:37:22 XperiaXZ2 kernel:  clearpad_query_regs+0x1b8/0x228
Jun 27 10:37:22 XperiaXZ2 kernel:  clearpad_process_irq+0x10f4/0x1850
Jun 27 10:37:22 XperiaXZ2 kernel:  clearpad_handle_if_first_event+0xd8/0x224
Jun 27 10:37:22 XperiaXZ2 kernel:  clearpad_thread_resume_work+0x140/0x2b0
Jun 27 10:37:22 XperiaXZ2 kernel:  process_one_work+0x1fc/0x464
Jun 27 10:37:22 XperiaXZ2 kernel:  worker_thread+0x2e8/0x450
Jun 27 10:37:22 XperiaXZ2 kernel:  kthread+0x118/0x130
Jun 27 10:37:22 XperiaXZ2 kernel:  ret_from_fork+0x10/0x18
Jun 27 10:37:22 XperiaXZ2 kernel: ---[ end trace 11a5fdf1919c171b ]---
Jun 27 10:37:22 XperiaXZ2 kernel: clearpad clearpad: (clearpad_query_regs:2188) register id is out of range
Jun 27 10:37:22 XperiaXZ2 kernel: clearpad clearpad: (clearpad_prepare_f12_2d:2302) x_max=1079, y_max=2159, n_fingers=10, n_bytes_per_object=8
Jun 27 10:37:22 XperiaXZ2 kernel: clearpad clearpad: (clearpad_initialize:2542) result: TD4353jdi, family 0x20, fw rev 0x05.02, extra 0x02, (no fw update)
Jun 27 10:37:22 XperiaXZ2 kernel: clearpad clearpad: (clearpad_process_F01_RMI:4522) device reset
Jun 27 10:37:22 XperiaXZ2 kernel: clearpad clearpad: (clearpad_set_resume_mode:3742) ignore interrupt 0x00
Jun 27 10:37:22 XperiaXZ2 kernel: clearpad clearpad: (clearpad_set_irq:1033) irq was enabled
Jun 27 10:37:22 XperiaXZ2 kernel: clearpad clearpad: (clearpad_set_resume_mode:3747) set resume mode (rc=0)
Jun 27 10:37:22 XperiaXZ2 kernel: PMI: smblib_somc_charger_removal_work: input_report_key KEY_F24
Jun 27 10:37:23 XperiaXZ2 mce[2367]: modules/battery-udev.c: mcebat_update(): battery_state: not_charging -> discharging
Jun 27 10:37:26 XperiaXZ2 mce[2367]: modules/proximity.c: mp_datapipe_set_proximity_sensor_actual(): state: OPEN -> UNDEF
Jun 27 10:37:29 XperiaXZ2 mce[2367]: tklock.c: tklock_dbus_notification_end_cb(): notification end from name=:1.53 owner=:1.53 pid=4698 uid=100000 gid=996 priv=1 cmd=/usr/bin/lipstick -plugin evdevtouch:/dev/touchscreen -plugin e
Jun 27 10:37:31 XperiaXZ2 kernel: dsi-ctrl:[dsi_ctrl_handle_error_status] tx timeout error: 0x40
Jun 27 10:37:32 XperiaXZ2 sailfish-fpd-community[3418]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 0
Jun 27 10:37:32 XperiaXZ2 sailfish-fpd-community[3418]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 0
Jun 27 10:37:32 XperiaXZ2 sailfish-fpd-community[3418]: void FPDCommunity::slot_acquired(int) 0
Jun 27 10:37:32 XperiaXZ2 sailfish-fpd-community[3418]: static void AndroidFP::authenticated_cb(uint64_t, uint32_t, uint32_t, void*) 1667694624
Jun 27 10:37:32 XperiaXZ2 sailfish-fpd-community[3418]: void FPDCommunity::slot_authenticated(uint32_t) 1667694624
Jun 27 10:37:32 XperiaXZ2 sailfish-fpd-community[3418]: void FPDCommunity::setState(FPDCommunity::State) FPDCommunity::State(FPSTATE_IDLE)
Jun 27 10:37:32 XperiaXZ2 mce[2367]: tklock.c: tklock_dbus_notification_end_cb(): notification end from name=:1.53 owner=:1.53 pid=4698 uid=100000 gid=996 priv=1 cmd=/usr/bin/lipstick -plugin evdevtouch:/dev/touchscreen -plugin e
Jun 27 10:37:32 XperiaXZ2 mce[2367]: tklock.c: tklock_dbus_notification_end_cb(): notification end from name=:1.53 owner=:1.53 pid=4698 uid=100000 gid=996 priv=1 cmd=/usr/bin/lipstick -plugin evdevtouch:/dev/touchscreen -plugin e
Jun 27 10:37:37 XperiaXZ2 healthd: battery l=91 v=4183 t=34.0 h=2 st=3 c=324 fc=3217000 chg=
Jun 27 10:37:38 XperiaXZ2 mce[2367]: powerkey.c: pwrkey_datapipe_keypress_event_cb(): powerkey pressed
Jun 27 10:37:38 XperiaXZ2 mce[2367]: powerkey.c: pwrkey_datapipe_keypress_event_cb(): powerkey released
Jun 27 10:37:39 XperiaXZ2 mce[2367]: modules/proximity.c: mp_datapipe_set_proximity_sensor_actual(): state: UNDEF -> OPEN
Jun 27 10:37:39 XperiaXZ2 mce[2367]: modules/display.c: mdy_display_state_leave(): current display state = POWER_DOWN

Notice that mce switched from "not_charging -> discharging"; healthd chg to empty

journal while charging works:

Jun 27 10:46:38 XperiaXZ2 kernel: @@@@ panel power off @@@@
Jun 27 10:46:38 XperiaXZ2 mce[2367]: modules/display.c: mdy_display_state_enter(): current display state = OFF
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_wake_lock: pm_stay_awake
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_irq_handler: irq_status=0
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_get_op_mode: op_mode : 1
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [NEGO] Vrect=4158mV VTherm=317dC
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 4ms to execute i2c work
Jun 27 10:46:40 XperiaXZ2 healthd: battery l=91 v=4197 t=31.7 h=2 st=3 c=71 fc=3217000 chg=
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(NEGO)
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [NEGO] Vrect=4174mV VTherm=317dC
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 3ms to execute i2c work
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(NEGO)
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [NEGO] Vrect=4374mV VTherm=317dC
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 4ms to execute i2c work
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(NEGO)
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [NEGO] Vrect=4482mV VTherm=317dC
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 1ms to execute i2c work
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(NEGO)
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [NEGO] Vrect=4589mV VTherm=317dC
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 3ms to execute i2c work
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(NEGO)
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [NEGO] Vrect=4738mV VTherm=317dC
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 3ms to execute i2c work
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(NEGO)
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [NEGO] Vrect=4969mV VTherm=317dC
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 1ms to execute i2c work
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:40 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(NEGO)
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [NEGO] Vrect=5143mV VTherm=317dC
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 5ms to execute i2c work
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(NEGO)
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [NEGO] Vrect=5256mV VTherm=317dC
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 2ms to execute i2c work
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(NEGO)
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [NEGO] Vrect=5358mV VTherm=317dC
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 2ms to execute i2c work
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(NEGO)
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [NEGO] Vrect=5456mV VTherm=317dC
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 2ms to execute i2c work
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(NEGO)
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [NEGO] Vrect=5579mV VTherm=317dC
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 10ms to execute i2c work
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(NEGO)
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [NEGO] Vrect=5682mV VTherm=317dC
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 1ms to execute i2c work
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(NEGO)
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [NEGO] Vrect=5784mV VTherm=317dC
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 1ms to execute i2c work
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(NEGO)
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [NEGO] Vrect=5902mV VTherm=317dC
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 1ms to execute i2c work
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(NEGO)
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [NEGO] Vrect=6010mV VTherm=317dC
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 1ms to execute i2c work
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(NEGO)
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [NEGO] Vrect=6133mV VTherm=317dC
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 1ms to execute i2c work
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(NEGO)
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [NEGO] Vrect=6256mV VTherm=317dC
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 1ms to execute i2c work
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(NEGO)
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [NEGO] Vrect=6405mV VTherm=317dC
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 1ms to execute i2c work
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:1(NEGO) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(NEGO)
Jun 27 10:46:41 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-lt-3p6v, dc_int_rt_sts: 0x04, aicl_status: 0x00
Jun 27 10:46:41 XperiaXZ2 kernel: PMI: smblib_somc_ctrl_inhibit: Disable inhibit for RB WA
Jun 27 10:46:41 XperiaXZ2 kernel: PMI: smblib_handle_dc_plugin: IRQ: dcin-plugin dc_present:1
Jun 27 10:46:41 XperiaXZ2 kernel: PMI: smblib_somc_jeita_work: JEITA: batt_temp=317(3) skin_temp=341(3) wlc=317(3) result:3
Jun 27 10:46:41 XperiaXZ2 kernel: PMI: smblib_handle_dcin_uv: IRQ: dcin-uv reg: 0x10
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:2(PWON) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_oneshot_in_pwr_ok: [PWON] TxID:0x0000(0), Ping:174kHz, Auth:0, SigStr:37%
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [PWON] Vrect=6789mV VTherm=317dC
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 4ms to execute i2c work
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_set_ilim_set: set ilim_set to 800mA (from 1200)
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: call power_supply_set_property()
Jun 27 10:46:41 XperiaXZ2 kernel: PMI: smblib_set_dcin_aicl_thresh: DCIN_CONT_AICL_THRESHOLD_CFG: 0x00
Jun 27 10:46:41 XperiaXZ2 kernel: PMI: smblib_set_prop_wireless_mode: DCIN icl: 700000, mode:1, icl_boost:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:2(PWON) wlc_irq_status:0
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(PWON)
Jun 27 10:46:41 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:41 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:41 XperiaXZ2 healthd: battery l=91 v=4197 t=31.7 h=2 st=4 c=71 fc=3217000 chg=w
Jun 27 10:46:41 XperiaXZ2 healthd: battery l=91 v=4197 t=31.7 h=2 st=4 c=71 fc=3217000 chg=w
Jun 27 10:46:41 XperiaXZ2 healthd: battery l=91 v=4197 t=31.7 h=2 st=4 c=71 fc=3217000 chg=w
Jun 27 10:46:41 XperiaXZ2 kernel: IDTP: idtp9221_vout_change_work: now:5000mV, target:5000mV
Jun 27 10:46:41 XperiaXZ2 mce[2367]: modules/battery-udev.c: mcebat_update(): battery_state: discharging -> not_charging
Jun 27 10:46:42 XperiaXZ2 healthd: battery l=91 v=4199 t=31.7 h=2 st=2 c=30 fc=3217000 chg=w
Jun 27 10:46:42 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:42 XperiaXZ2 mce[2367]: modules/battery-udev.c: mcebat_update(): charger_state: off -> on
Jun 27 10:46:42 XperiaXZ2 mce[2367]: tklock.c: tklock_datapipe_uiexception_type_cb(): uiexception_type = none -> notif
Jun 27 10:46:42 XperiaXZ2 mce[2367]: tklock.c: tklock_uiexception_rethink(): display state req: ON
Jun 27 10:46:42 XperiaXZ2 mce[2367]: modules/display.c: mdy_display_state_leave(): current display state = POWER_UP
Jun 27 10:46:42 XperiaXZ2 mce[2367]: modules/battery-udev.c: mcebat_update(): battery_state: not_charging -> charging
Jun 27 10:46:42 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:42 XperiaXZ2 lipstick[4698]: [D] unknown:0 - unsleepDisplay
Jun 27 10:46:42 XperiaXZ2 kernel: dsi-ctrl:[_dsi_ctrl_setup_isr] [DSI_0] IRQ 453 registered
Jun 27 10:46:42 XperiaXZ2 kernel: @@@@ panel power on @@@@
Jun 27 10:46:42 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:42 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:42 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:42 XperiaXZ2 kernel: somc_panel_color_manager: somc_panel_pcc_setup (870): PCC already applied
Jun 27 10:46:42 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:42 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:42 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:42 XperiaXZ2 mce[2367]: modules/display.c: mdy_display_state_enter(): current display state = ON
Jun 27 10:46:42 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:42 XperiaXZ2 mce[2367]: tklock.c: tklock_dbus_notification_beg_cb(): notification begin from name=:1.53 owner=:1.53 pid=4698 uid=100000 gid=996 priv=1 cmd=/usr/bin/lipstick -plugin evdevtouch:/dev/touchscreen -plugin e
Jun 27 10:46:42 XperiaXZ2 sailfish-fpd-community[3418]: int FPDCommunity::Identify(const QDBusMessage&) ":1.13"
Jun 27 10:46:42 XperiaXZ2 sailfish-fpd-community[3418]: void FPDCommunity::setState(FPDCommunity::State) FPDCommunity::State(FPSTATE_IDENTIFYING)
Jun 27 10:46:42 XperiaXZ2 sailfish-fpd-community[3418]: void AndroidFP::authenticate()
Jun 27 10:46:42 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:42 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:42 XperiaXZ2 kernel: clearpad clearpad: (clearpad_initialize:2353) initialize device
Jun 27 10:46:42 XperiaXZ2 kernel: clearpad clearpad: (clearpad_update_chip_id:6220) chip_id=0x44
Jun 27 10:46:42 XperiaXZ2 kernel: clearpad clearpad: (clearpad_touch_config_dt_for_chip_id:6040) read settings for TD4353jdi
Jun 27 10:46:42 XperiaXZ2 kernel: clearpad clearpad: (clearpad_initialize:2380) device status 0x81
Jun 27 10:46:42 XperiaXZ2 kernel: clearpad clearpad: (clearpad_initialize:2412) bl[2]:8
Jun 27 10:46:42 XperiaXZ2 kernel: clearpad clearpad: (clearpad_initialize:2413) bl[3]:6
Jun 27 10:46:42 XperiaXZ2 kernel: clearpad clearpad: (clearpad_initialize:2418) bootloader revision 6.8
Jun 27 10:46:42 XperiaXZ2 kernel: clearpad clearpad: (clearpad_initialize:2427) bootloader revision 6.008
Jun 27 10:46:42 XperiaXZ2 kernel: ------------[ cut here ]------------
Jun 27 10:46:42 XperiaXZ2 kernel: WARNING: CPU: 3 PID: 26608 at /home/rinigus/hadk/kernel/sony/msm-4.14/kernel/drivers/input/touchscreen/clearpad_incell_core.c:2141 clearpad_query_regs+0x1b8/0x228
Jun 27 10:46:42 XperiaXZ2 kernel: Modules linked in:
Jun 27 10:46:42 XperiaXZ2 kernel: CPU: 3 PID: 26608 Comm: kworker/3:2 Tainted: G        W       4.14.232-gd88c66b3138a #1
Jun 27 10:46:42 XperiaXZ2 kernel: Hardware name: Sony Mobile Communications. Akari(SDM845 v2.1) (DT)
Jun 27 10:46:42 XperiaXZ2 kernel: Workqueue: clearpad_thread_resume clearpad_thread_resume_work
Jun 27 10:46:42 XperiaXZ2 kernel: task: ffffffc0c56b5700 task.stack: ffffffc0351dc000
Jun 27 10:46:42 XperiaXZ2 kernel: pc : clearpad_query_regs+0x1b8/0x228
Jun 27 10:46:42 XperiaXZ2 kernel: lr : clearpad_query_regs+0x10c/0x228
Jun 27 10:46:42 XperiaXZ2 kernel: sp : ffffffc0351dfbf0 pstate : 60c00145
Jun 27 10:46:42 XperiaXZ2 kernel: x29: ffffffc0351dfc50 x28: ffffff800a406000 
Jun 27 10:46:42 XperiaXZ2 kernel: x27: 0000000000000402 x26: ffffffc0c56b5700 
Jun 27 10:46:42 XperiaXZ2 kernel: x25: 0000000000000000 x24: ffffffc0ec66aff1 
Jun 27 10:46:42 XperiaXZ2 kernel: x23: 00000000fffffffb x22: 0000000000000001 
Jun 27 10:46:42 XperiaXZ2 kernel: x21: 000000000000000b x20: ffffffc0ec6605b8 
Jun 27 10:46:42 XperiaXZ2 kernel: x19: ffffffc0ec660080 x18: 00000000000000ff 
Jun 27 10:46:42 XperiaXZ2 kernel: x17: 0000000000000050 x16: 000000000000000e 
Jun 27 10:46:42 XperiaXZ2 kernel: x15: 0000000000000050 x14: 0000000000000017 
Jun 27 10:46:42 XperiaXZ2 kernel: x13: 00000000000000ff x12: 0000000000000001 
Jun 27 10:46:42 XperiaXZ2 kernel: x11: ffffffc0351dfbf4 x10: 0000000000000009 
Jun 27 10:46:42 XperiaXZ2 kernel: x9 : 0000000000000048 x8 : 000000000000000a 
Jun 27 10:46:42 XperiaXZ2 kernel: x7 : ffffffffffeeeeb4 x6 : ffffffc0351dfbf5 
Jun 27 10:46:42 XperiaXZ2 kernel: x5 : 0000000000000001 x4 : 00001438872d8933 
Jun 27 10:46:42 XperiaXZ2 kernel: x3 : 0000000000000000 x2 : 0000000000000001 
Jun 27 10:46:42 XperiaXZ2 kernel: x1 : 0000000000000002 x0 : 0000000000000000 
Jun 27 10:46:42 XperiaXZ2 kernel: 
                                  PC: 0xffffff8008c0afcc:
Jun 27 10:46:42 XperiaXZ2 kernel: afcc  382f6a92 910005ef 54000068 710021ff 54fffea3 0b0f012f 710141ff 5400012a
Jun 27 10:46:42 XperiaXZ2 kernel: afec  37f8012e 9100054a 2a1f03e0 91002294 eb08015f 91002129 54fffc83 1400000f
Jun 27 10:46:42 XperiaXZ2 kernel: b00c  d4210000 f9400a68 90009481 90009482 91177021 91004100 91180442 52811183
Jun 27 10:46:42 XperiaXZ2 kernel: b02c  97f80803 90009481 91179021 aa1303e0 97ffd4d0 2a1f03e0 f000bfe9 f94017e8
Jun 27 10:46:42 XperiaXZ2 kernel: 
                                  LR: 0xffffff8008c0af20:
Jun 27 10:46:42 XperiaXZ2 kernel: af20  f940126c f9400a6d 39527e6b 394003ee 39526e6a 320007e9 7100011f f9401988
Jun 27 10:46:42 XperiaXZ2 kernel: af40  f94009a0 1a9f0536 0b0b02a9 0b0e02d5 2a0a2121 910013e2 2a1503e3 d63f0100
Jun 27 10:46:42 XperiaXZ2 kernel: af60  7100001f 1a97b008 6b15001f 1a8803e0 350006a0 394003e8 b4000648 aa1f03e9
Jun 27 10:46:42 XperiaXZ2 kernel: af80  aa1f03ea 2a1f03ee 910013eb 320003ec 32001fed d37df14f f1013dff 54000388
Jun 27 10:46:42 XperiaXZ2 kernel: 
                                  SP: 0xffffffc0351dfbb0:
Jun 27 10:46:42 XperiaXZ2 kernel: fbb0  08c0b00c ffffff80 60c00145 00000000 00000001 00000000 0000000b 00000000
Jun 27 10:46:42 XperiaXZ2 kernel: fbd0  ffffffff ffffffff ec660080 ffffffc0 351dfc50 ffffffc0 08c0b00c ffffff80
Jun 27 10:46:42 XperiaXZ2 kernel: fbf0  351dfc0a d09f002d 00000e76 ff0e0221 00000402 00000000 08c14f10 ffffff80
Jun 27 10:46:42 XperiaXZ2 kernel: fc10  c56b5700 ffffffc0 3daabb00 2c12fc6e 00000004 00000000 00000004 00000000
Jun 27 10:46:42 XperiaXZ2 kernel: 
Jun 27 10:46:42 XperiaXZ2 kernel: Call trace:
Jun 27 10:46:42 XperiaXZ2 kernel:  clearpad_query_regs+0x1b8/0x228
Jun 27 10:46:42 XperiaXZ2 kernel:  clearpad_process_irq+0x10f4/0x1850
Jun 27 10:46:42 XperiaXZ2 kernel:  clearpad_handle_if_first_event+0xd8/0x224
Jun 27 10:46:42 XperiaXZ2 kernel:  clearpad_thread_resume_work+0x140/0x2b0
Jun 27 10:46:42 XperiaXZ2 kernel:  process_one_work+0x1fc/0x464
Jun 27 10:46:42 XperiaXZ2 kernel:  worker_thread+0x2e8/0x450
Jun 27 10:46:42 XperiaXZ2 kernel:  kthread+0x118/0x130
Jun 27 10:46:42 XperiaXZ2 kernel:  ret_from_fork+0x10/0x18
Jun 27 10:46:42 XperiaXZ2 kernel: ---[ end trace 11a5fdf1919c171f ]---
Jun 27 10:46:42 XperiaXZ2 kernel: clearpad clearpad: (clearpad_query_regs:2188) register id is out of range
Jun 27 10:46:42 XperiaXZ2 kernel: clearpad clearpad: (clearpad_prepare_f12_2d:2302) x_max=1079, y_max=2159, n_fingers=10, n_bytes_per_object=8
Jun 27 10:46:42 XperiaXZ2 kernel: clearpad clearpad: (clearpad_initialize:2542) result: TD4353jdi, family 0x20, fw rev 0x05.02, extra 0x02, (no fw update)
Jun 27 10:46:42 XperiaXZ2 kernel: clearpad clearpad: (clearpad_process_F01_RMI:4522) device reset
Jun 27 10:46:42 XperiaXZ2 kernel: clearpad clearpad: (clearpad_set_resume_mode:3742) ignore interrupt 0x00
Jun 27 10:46:42 XperiaXZ2 kernel: clearpad clearpad: (clearpad_set_irq:1033) irq was enabled
Jun 27 10:46:42 XperiaXZ2 kernel: clearpad clearpad: (clearpad_set_resume_mode:3747) set resume mode (rc=0)
Jun 27 10:46:42 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:42 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:42 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:42 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:42 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:43 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:43 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:43 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:43 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:43 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:43 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:43 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:43 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:43 XperiaXZ2 kernel: PMI: smblib_handle_dcin_debug: IRQ: dcin-icl-change, dc_int_rt_sts: 0x10, aicl_status: 0x40
Jun 27 10:46:44 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:44 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:2(PWON) wlc_irq_status:0
Jun 27 10:46:44 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [PWON] Vrect=5010mV VTherm=317dC
Jun 27 10:46:44 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 1ms to execute i2c work
Jun 27 10:46:44 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:2(PWON) wlc_irq_status:0
Jun 27 10:46:44 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(PWON)
Jun 27 10:46:44 XperiaXZ2 kernel: IDTP: idtp9221_vout_change_work: now:5000mV, target:5000mV
Jun 27 10:46:47 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:47 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:2(PWON) wlc_irq_status:0
Jun 27 10:46:47 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [PWON] Vrect=5046mV VTherm=321dC
Jun 27 10:46:47 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 1ms to execute i2c work
Jun 27 10:46:47 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:2(PWON) wlc_irq_status:0
Jun 27 10:46:47 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(PWON)
Jun 27 10:46:47 XperiaXZ2 kernel: IDTP: idtp9221_vout_change_work: now:5000mV, target:5000mV
Jun 27 10:46:48 XperiaXZ2 mce[2367]: tklock.c: tklock_datapipe_uiexception_type_cb(): uiexception_type = notif -> none
Jun 27 10:46:50 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:50 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:2(PWON) wlc_irq_status:0
Jun 27 10:46:50 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [PWON] Vrect=4912mV VTherm=321dC
Jun 27 10:46:50 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 1ms to execute i2c work
Jun 27 10:46:50 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:2(PWON) wlc_irq_status:0
Jun 27 10:46:50 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(PWON)
Jun 27 10:46:50 XperiaXZ2 kernel: IDTP: idtp9221_vout_change_work: now:5000mV, target:5000mV
Jun 27 10:46:53 XperiaXZ2 mce[2367]: modules/proximity.c: mp_datapipe_set_proximity_sensor_actual(): state: OPEN -> UNDEF
Jun 27 10:46:53 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:53 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:2(PWON) wlc_irq_status:0
Jun 27 10:46:53 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [PWON] Vrect=5035mV VTherm=321dC
Jun 27 10:46:53 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 1ms to execute i2c work
Jun 27 10:46:53 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:2(PWON) wlc_irq_status:0
Jun 27 10:46:53 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(PWON)
Jun 27 10:46:53 XperiaXZ2 kernel: IDTP: idtp9221_vout_change_work: now:5000mV, target:5000mV
Jun 27 10:46:56 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: worker is started
Jun 27 10:46:56 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:2(PWON) wlc_irq_status:0
Jun 27 10:46:56 XperiaXZ2 kernel: IDTP: idtp9221_read_regs_each_cycle: [PWON] Vrect=5035mV VTherm=321dC
Jun 27 10:46:56 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: It took 2ms to execute i2c work
Jun 27 10:46:56 XperiaXZ2 kernel: IDTP: idtp9221_get_status: status:2(PWON) wlc_irq_status:0
Jun 27 10:46:56 XperiaXZ2 kernel: IDTP: idtp9221_detect_work: reschedule worker(PWON)
Jun 27 10:46:56 XperiaXZ2 kernel: IDTP: idtp9221_vout_change_work: now:5000mV, target:5000mV
Jun 27 10:46:58 XperiaXZ2 mce[2367]: modules/display.c: mdy_blanking_off_cb(): display state req: LPM_ON
Jun 27 10:46:58 XperiaXZ2 mce[2367]: modules/display.c: mdy_display_state_leave(): current display state = POWER_DOWN
Jun 27 10:46:58 XperiaXZ2 sensorfwd[3159]: virtual bool HybrisAdaptor::setInterval(unsigned int, int) setInterval not ok
Jun 27 10:46:58 XperiaXZ2 mce[2367]: tklock.c: tklock_dbus_notification_end_cb(): notification end from name=:1.53 owner=:1.53 pid=4698 uid=100000 gid=996 priv=1 cmd=/usr/bin/lipstick -plugin evdevtouch:/dev/touchscreen -plugin e
Jun 27 10:46:58 XperiaXZ2 lipstick[4698]: [D] unknown:0 - sleepDisplay

@rinigus
Copy link
Contributor Author

rinigus commented Sep 27, 2021

After the latest update (SFOS 4.2.0.21), wireless charger started to work most of the time. Hopefully this message will not jinx it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hybris-10 AOSP 10 based port
Projects
None yet
Development

No branches or pull requests

1 participant