Fibocom WWAN FM350-GL suspend error (notebook not suspend)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
High
|
You-Sheng Yang | ||
Jammy |
Invalid
|
Undecided
|
Unassigned | ||
Kinetic |
Fix Released
|
High
|
You-Sheng Yang | ||
Lunar |
Fix Released
|
High
|
You-Sheng Yang | ||
linux-oem-6.0 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
You-Sheng Yang | ||
Kinetic |
Invalid
|
Undecided
|
Unassigned | ||
Lunar |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[SRU Justification]
[Impact]
Fibocom WWAN FM350-GL equipped platform fails to suspend.
[Fix]
Full t7xx driver is still under development and some of them have
already accepted and merged in mainline kernel. The following commits
are once in the mainline and are reverted in v6.0:
d20ef656f994 net: wwan: t7xx: Add AP CLDMA
007f26f0d68e net: wwan: t7xx: Infrastructure for early port configuration
140424d90165 net: wwan: t7xx: PCIe reset rescan
87dae9e70bf7 net: wwan: t7xx: Enable devlink based fw flashing and
The first patch implemented the other AP-CLDMA, and with that applied,
platforms in question may suspend and resume normally as every bits are in position.
However, while these patches had been reverted for another revision that is still being worked on by the hardware vendor, a minimum, sauced patch is created to work-around this first to meet project schedules, and will be reverted and superseded with a final, mainline landing revision.
[Test Case]
Trigger suspend and there should be no more suspend errors from t7xx:
mtk_t7xx 0000:58:00.0: [PM] SAP suspend error: -110
mtk_t7xx 0000:58:00.0: PM: pci_pm_suspend(): t7xx_pci_
mtk_t7xx 0000:58:00.0: PM: dpm_run_callback(): pci_pm_
mtk_t7xx 0000:58:00.0: PM: failed to suspend async: error -110
[Where problems could occur]
The t7xx driver is still incomplete and we're staging aforementioned 4 patches in internal experimental kernels for development use.
[Other Info]
This affects Kinetic and above, so only Unstable, Kinetic and OEM-6.0 are nominated for fix.
========== original bug report ==========
Hi,
I found a "little" problem with Fibocom WWAN FM350-GL 5G modem in module mtk_t7xx . Power management for this modem is bad. When the notebook goes to sleep/suspend, kernel module mtk_t7xx return an error:
mtk_t7xx 0000:58:00.0: [PM] SAP suspend error: -110
mtk_t7xx 0000:58:00.0: PM: pci_pm_suspend(): t7xx_pci_
mtk_t7xx 0000:58:00.0: PM: dpm_run_callback(): pci_pm_
mtk_t7xx 0000:58:00.0: PM: failed to suspend async: error -110
So power management failed to suspend:
PM: Some devices failed to suspend, or early wake event detected
And the notebook not suspend and wake up again.
It must be this module, because if I remove the module first (modprobe -r), the laptop goes to sleep and wakes up normally.
However, after reinserting the module, the modem no longer appears in the system.
Expected state: sleep occurs when the device is put to sleep - including the modem. When you wake up, you will wake up, including activating the modem and logging into the operator's network.
Description: Ubuntu 20.04.5 LTS
Release: 20.04
lspci -v:
58:00.0 Wireless controller [0d40]: MEDIATEK Corp. Device 4d75 (rev 01)
Subsystem: Device 1cf8:3500
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at 601e800000 (64-bit, prefetchable) [size=32K]
Memory at 5e800000 (64-bit, non-prefetchable) [size=8M]
Memory at 601e000000 (64-bit, prefetchable) [size=8M]
Kernel driver in use: mtk_t7xx
Kernel modules: mtk_t7xx
lshw:
*-generic
bus info: pci@0000:58:00.0
modinfo:
modinfo mtk_t7xx
filename: /lib/modules/
license: GPL
description: MediaTek PCIe 5G WWAN modem T7xx driver
author: MediaTek Inc
srcversion: 5FA53465EA01672
alias: pci:v000014C3d0
depends:
retpoline: Y
intree: Y
name: mtk_t7xx
vermagic: 5.19.10-
sig_id: PKCS#7
signer: Build time autogenerated kernel key
sig_key: 7E:38:36:
sig_hashalgo: sha512
signature: 78:1B:C9:
mmcli -L:
/org/freedeskt
Any idea?
Thank you.
With best regards Jan
---
ProblemType: Bug
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2021-04-10 (532 days ago)
InstallationMedia: Kubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Package: linux (not installed)
ProcEnviron:
LANGUAGE=cs:en_US
TERM=xterm-
PATH=(custom, no user)
LANG=cs_CZ.UTF-8
SHELL=/bin/bash
Tags: focal
Uname: Linux 5.19.10-
UnreportableReason: The running kernel is not an Ubuntu kernel
UpgradeStatus: Upgraded to focal on 2022-09-22 (1 days ago)
UserGroups: N/A
_MarkForUpload: True
tags: | added: oem-priority originate-from-1991204 somerville |
Changed in linux-oem-6.0 (Ubuntu Jammy): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → You-Sheng Yang (vicamo) |
Changed in linux-oem-6.0 (Ubuntu Kinetic): | |
status: | New → Invalid |
Changed in linux-oem-6.0 (Ubuntu Lunar): | |
status: | New → Invalid |
Changed in linux (Ubuntu Lunar): | |
status: | Incomplete → In Progress |
importance: | Undecided → High |
assignee: | nobody → You-Sheng Yang (vicamo) |
Changed in linux (Ubuntu Jammy): | |
status: | New → Invalid |
Changed in linux (Ubuntu Kinetic): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → You-Sheng Yang (vicamo) |
Changed in linux-oem-6.0 (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Kinetic): | |
status: | In Progress → Fix Committed |
tags: | added: verification-needed-jammy |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1990700
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.