Xperia 10 V (zambezi / XQ-DC54): spontaneous reboot in deep sleep — i2c-2 (touch) pinctrl error storm + suspend abort (qcom_rx_wakelock), with intermittent fts_gesture irq imbalance

REPRODUCIBILITY: Intermittent, roughly once a day to a few times a week (cannot be forced; happens unattended in deep sleep). Captured on 2 separate reboots.

OS VERSION: 5.1.0.11

HARDWARE: Xperia 10 V (XQ-DC54, zambezi), official Sailfish X

UI LANGUAGE: English

REGRESSION: Unknown (present since install; happy to test earlier builds if useful)

DESCRIPTION:

The phone spontaneously reboots while idle in deep sleep. It is an orderly reboot with no kernel panic: pstore console-ramoops ends with a clean “Synchronizing SCSI cache” / “No errors detected”, and the power-on reason is warmboot=0x000052d0. Not thermal and not low battery (seen at 41–45% charge, ~29–33 °C, on battery, nothing plugged in).

Across two captured reboots the common, repeatable behaviour is that the device cannot complete suspend: the touch I²C bus (i2c-2, 4c88000.i2c) throws a continuous storm of pinctrl/transfer errors, and suspend repeatedly aborts on a pending wakeup source (qcom_rx_wakelock), until the device reboots.

PRECONDITIONS:

Device left idle with the display off so it enters deep sleep. No app, cable, or user interaction required. WLAN associated. Gesture/wake mode is the kernel default (fts_gesture_suspend/resume run every display cycle).

STEPS TO REPRODUCE:

Cannot be forced; occurs on its own during idle deep sleep. Observed pattern:

  1. Leave the phone idle, screen off, so it reaches deep suspend (PM: suspend entry (deep)).

  2. Leave it for an extended idle period (minutes to hours).

  3. Suspend begins to thrash (repeated enter/abort cycles), then the device reboots on its own.

EXPECTED RESULT:

The phone stays in deep sleep and wakes normally on power-key press.

ACTUAL RESULT:

The phone reboots by itself. Two captures:

Capture A (pstore + previous-boot trace) — repeating through the final seconds on the touch bus:

blair-pinctrl 400000.pinctrl: config 9: ffffffff is invalid
blair-pinctrl 400000.pinctrl: pin_config_group_set op failed for group 19
i2c_geni 4c88000.i2c: Error applying setting, reverse things back

and earlier in that boot, an irq_set_irq_wake imbalance WARN in the touch driver:

Call trace:
 irq_set_irq_wake+0x104/0x214
 fts_gesture_resume+0x34/0x198
 fts_resume_work+0xc0/0x14c
 ...
---[ end trace f0e8d3a9fd17f33c ]---
[FTS_TS/I]fts_gesture_resume:resume from gesture successfully

pstore ends clean (“No errors detected”); warmboot=0x000052d0.

Capture B (previous-boot dmesg, a later reboot) — no fts backtrace this time; suspend repeatedly aborts on a pending wakeup source, ~13 abort cycles in a few seconds, with a WLAN scan active in the same window:

PM: PM: Pending Wakeup Sources: qcom_rx_wakelock
Freezing of tasks aborted after 0.011 seconds
...
Abort: Pending Wakeup Sources: qcom_rx_wakelock
PM: suspend exit
PM: suspend entry (deep)     <-- log ends here; reboot follows

The i2c-2 / blair-pinctrl error storm is present in this capture too.

MODIFICATIONS:

  • Official Sailfish X install (not a community port).
  • A custom Android Auto userspace package is installed, but car mode was disabled and inactive in both captures; it only touches USB configfs during an active car session and does not touch the touch driver, i2c-2, WLAN, or suspend.
  • A brief MCE double-tap-to-wake experiment was tried earlier and fully reverted (mce config removed, fts_gesture_mode restored, mce/lipstick restarted) before these captures. fts_gesture still runs, confirming gesture mode is the kernel default, not a local setting.
  • A stock-blob fingerprint fix (sfos-fpstock) is installed. No WayDroid. Android App Support is the stock Sailfish X component.

ADDITIONAL INFORMATION:

Likely a kernel/adaptation issue: (a) the touch i2c-2 (4c88000.i2c) pinctrl “config 9: ffffffff is invalid” / “group 19” errors fire on every suspend cycle, and (b) suspend is blocked by qcom_rx_wakelock (WLAN/IPA RX). The device thrashes in and out of suspend and then reboots orderly. The fts_gesture_resume irq_set_irq_wake imbalance is an intermittent additional symptom (capture A only).

The sibling Xperia 10 IV (same Sony Nagara adaptation) has an established random-reboot troubleshooting thread, suggesting a Nagara-family issue rather than a device-specific one-off: How to troubleshoot Sony Xperia 10 iv randomly re-booting

Questions for maintainers:

  • Is qcom_rx_wakelock expected to block suspend on zambezi, and can the WLAN/IPA RX wakelock handling be fixed so deep sleep completes?
  • What is the touch i2c-2 “config 9: ffffffff is invalid” / “pin_config_group_set op failed for group 19” error, and can it be corrected in the adaptation?
  • Is the fts_gesture_resume irq_set_irq_wake imbalance known for this FTS driver?
  • Same root cause as the Xperia 10 IV random-reboot reports (shared Nagara adaptation)?

Full journals and both raw captures available on request.

1 Like