System will auto resume from sleep on receiving LE ADV after paired with BT LE devices (Intel 9560 HrP)

Bug #1857673 reported by You-Sheng Yang
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Undecided
Unassigned
linux-firmware (Ubuntu)
Invalid
Undecided
You-Sheng Yang
Bionic
Fix Released
Undecided
You-Sheng Yang
Disco
Won't Fix
Undecided
Unassigned

Bug Description

[SRU Justification]

[Impact]
On some platform, with Intel 9560 Bluetooth fw ver REL0450, deep
suspend (S3) will be interrupted and resume automatically once it has
been paired with a BLE device. The device doesn't have to remain
connected, as long as there are BLE devices near by broadcasting LE
ADV.

[Fix]
This can be fixed with newer release of fw blob
intel/ibt-17-16-1.sfi. This patch will SRU 0482 to keep synced with
Eoan.

[Test Case]
1. pair with BLE device and turn off the device. It should be listed
   as Disconnected in System Bluetooth settings. Close the settings
   app as well.
2. run `sudo btmon -t` in the background, make sure LE ADV packets
   pop up.
3. run `sudo btmon -t` on another host to make sure there are LE ADV
   packets during the suspend period.
3. trigger system deep suspend (S3) on DUT.
4. wait for around 1 minutes (depending on the surrounding
   environment) and see if the DUT is resumed unsolicitedly.

[Regression Risk]
Low. Update only affected systems.

========== original bug description ==========

Similar to bug 1849779, on systems with Intel 9560 Bluetooth fw ver REL0450, deep suspend will be interrupted and resume automatically once it has been paired with a BLE device. The device doesn't have to remain connected, as long as there are BLE devices near by broadcasting LE ADV.

This can be fixed by updating intel/ibt-17-16-1.sfi from upstream commit https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=b6427bf4faae9b8864e303d88c3ec8d0df017dac.

Steps to reproduce:
1. pair with BLE device and turn off the device. It should be listed as Disconnected in System Bluetooth settings. Close the settings app as well.
2. run `sudo btmon -t` in the background, make sure LE ADV packets pop up.
3. run `sudo btmon -t` on another host to make sure there are LE ADV packets during the suspend period.
3. trigger system deep suspend (S3) on DUT.
4. wait for around 1 minutes (depending on the surrounding environment) and see if the DUT is resumed unsolicitedly.

Expects:
DUT only resumes when power button pressed or on other explicit requests.

Actual:
DUT resumes unsolicitedly within 1 minutes.
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
Dependencies:

DistroRelease: Ubuntu 18.04
Package: linux-firmware 1.173.14
PackageArchitecture: all
ProcVersionSignature: Ubuntu 4.15.0-1066.76-oem 4.15.18
Tags: bionic
Uname: Linux 4.15.0-1066-oem x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True

You-Sheng Yang (vicamo)
tags: added: oem-priority originate-from-1856797 stella
Changed in linux-firmware (Ubuntu):
assignee: nobody → You-Sheng Yang (vicamo)
status: New → In Progress
Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcCpuinfoMinimal.txt

apport information

tags: added: apport-collected bionic
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcEnviron.txt

apport information

You-Sheng Yang (vicamo)
Changed in linux-firmware (Ubuntu Bionic):
status: New → In Progress
assignee: nobody → You-Sheng Yang (vicamo)
Changed in linux-firmware (Ubuntu):
status: In Progress → Invalid
Changed in linux-firmware (Ubuntu Disco):
status: New → Won't Fix
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Revision history for this message
You-Sheng Yang (vicamo) wrote :
You-Sheng Yang (vicamo)
description: updated
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello You-Sheng, or anyone else affected,

Accepted linux-firmware into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware/1.173.15 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in linux-firmware (Ubuntu Bionic):
status: In Progress → Fix Committed
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Verified linux-firmware=1.173.15 from bionic-proposed.

tags: added: verification-done-bionic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware - 1.173.15

---------------
linux-firmware (1.173.15) bionic; urgency=medium

  * System will auto resume from sleep on receiving LE ADV after paired with
    BT LE devices (Intel 9560 HrP) (LP: #1857673)
    - linux-firmware: Update firmware file for Intel Bluetooth 9560

  * Fix throttled clock on AMD Oland (LP: #1858751)
    - radeon: update oland rlc microcode from amdgpu

  * Support ath10k hardware rfkill (LP: #1858166)
    - ath10k: QCA6174 hw3.0: update board-2.bin

  * Intel Bluetooth AX201 HarrisonPeak (HrP) [8086:06f0] subsystem
    [8086:4070] firmware causes system hang in deep suspend (LP: #1858776)
    - linux-firmware: Update firmware file for Intel Bluetooth AX201

  * intel/sof: update the intel sof firmware to v1.3-0f73628 for cml and cnl
    (LP: #1859387)
    - SAUCE: Update cml and cnl sof firmware files to v1.3-0f73628

 -- Seth Forshee <email address hidden> Wed, 29 Jan 2020 13:38:49 -0600

Changed in linux-firmware (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote : Update Released

The verification of the Stable Release Update for linux-firmware has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

You-Sheng Yang (vicamo)
Changed in hwe-next:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.