Public bug reported: [SRU Justification]
[Impact] More and more USB device suspend failure are caused by the un-expected HCD_FLAG_WAKEUP_PENDING on the USB host controller. It mostly happens on the USB devices connected to the high-speed root hub. It randomly happens when put the system into suspend [Fix] Fixed by the upstream fix https://lore.kernel.org/linux-usb/20241012094633.126736-1-duancheng...@kylinos.cn/. Set wakeup to false if suspend type is either PM_EVENT_FREEZE or PM_EVENT_QUIESCE [Test Case] 1. Power on machine and connect a USB device to the high-speed root hub. (Find your device in lsusb in the secondary root hub) 2. run checkbox-cli run com.canonical.certification::suspend-cycles-stress-test 3. observe the suspend/resume fail with the kernel message [Where problems could occur] Add more restriction on how the wakeup should be performed. Should be low risk ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Affects: linux-oem-6.11 (Ubuntu) Importance: Undecided Status: New ** Affects: linux (Ubuntu Noble) Importance: Undecided Status: New ** Affects: linux-oem-6.11 (Ubuntu Noble) Importance: Undecided Status: In Progress ** Affects: linux (Ubuntu Oracular) Importance: Undecided Status: New ** Affects: linux-oem-6.11 (Ubuntu Oracular) Importance: Undecided Status: New ** Affects: linux (Ubuntu Plucky) Importance: Undecided Status: New ** Affects: linux-oem-6.11 (Ubuntu Plucky) Importance: Undecided Status: New ** Also affects: linux-oem-6.11 (Ubuntu) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Noble) Importance: Undecided Status: New ** Also affects: linux-oem-6.11 (Ubuntu Noble) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Oracular) Importance: Undecided Status: New ** Also affects: linux-oem-6.11 (Ubuntu Oracular) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Plucky) Importance: Undecided Status: New ** Also affects: linux-oem-6.11 (Ubuntu Plucky) Importance: Undecided Status: New ** Changed in: linux-oem-6.11 (Ubuntu Noble) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2085410 Title: Fix USB device suspend failure while HCD in S4 wakeup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2085410/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs