System wakes up immediately after suspend if Bluetooth is still enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Confirmed
|
Undecided
|
Unassigned | ||
Focal |
Confirmed
|
Undecided
|
Unassigned | ||
linux-oem-6.0 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
After replacing my USB mouse with a BT mouse, I noticed my machine would no longer suspend without immediately waking up. i.e. I suspend and see the light go into the slow fade in and out for one cycle and then goes solid and the display wakes up again. If I disable BT (via blueman applet) suspend works fine.
I've fixed this by shutting down the BT service before suspend, and starting it back up on wake, as indicated here: https:/
Perhaps this script should be included in blueZ as suspend issues seem very hard to debug and the immediate wake after suspend could be caused many any number of things.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: bluez 5.48-0ubuntu3.1 [modified: lib/systemd/
ProcVersionSign
Uname: Linux 4.15.0-46-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: XFCE
Date: Wed Apr 3 13:16:14 2019
InstallationDate: Installed on 2019-02-09 (53 days ago)
InstallationMedia: Xubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
InterestingModules: rfcomm bnep btusb bluetooth
MachineType: Intel(R) Client Systems NUC8i3BEH
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: bluez
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/15/2018
dmi.bios.vendor: Intel Corp.
dmi.bios.version: BECFL357.
dmi.board.name: NUC8BEB
dmi.board.vendor: Intel Corporation
dmi.board.version: J72693-304
dmi.chassis.type: 3
dmi.chassis.vendor: Intel Corporation
dmi.chassis.
dmi.modalias: dmi:bvnIntelCor
dmi.product.family: Intel NUC
dmi.product.name: NUC8i3BEH
dmi.product.
dmi.sys.vendor: Intel(R) Client Systems
hciconfig:
hci0: Type: Primary Bus: USB
BD Address: 00:BB:60:50:92:5D ACL MTU: 1021:4 SCO MTU: 96:6
UP RUNNING
RX bytes:1912660 acl:106009 sco:0 events:337 errors:0
TX bytes:12331 acl:74 sco:0 commands:204 errors:0
summary: |
- Intel NUC (8I3BEH1) wakes up immediately after suspend if Bluetooth is - still enabled + System wakes up immediately after suspend if Bluetooth is still enabled |
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
no longer affects: | bluez (Ubuntu) |
Changed in linux-oem-6.0 (Ubuntu Bionic): | |
status: | New → Invalid |
Changed in linux (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in linux (Ubuntu Bionic): | |
status: | New → Confirmed |
Changed in linux (Ubuntu Focal): | |
status: | New → Confirmed |
Changed in linux-oem-6.0 (Ubuntu Focal): | |
status: | New → Won't Fix |
Changed in linux-oem-6.0 (Ubuntu): | |
status: | New → Invalid |
It sounds like you've found a good workaround but I am curious about the root cause here.
It seems the Bluetooth mouse might be emitting events even when you don't touch it..? Are you able to try a different model of Bluetooth mouse?