Bug 198753

Summary: [X86_64] STR: system wakes up immediately after suspend
Product: Drivers Reporter: Peter Weber (peter.weber)
Component: BluetoothAssignee: linux-bluetooth (linux-bluetooth)
Status: RESOLVED UNREPRODUCIBLE    
Severity: normal CC: pmenzel+bugzilla.kernel.org
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 4.15 Subsystem:
Regression: No Bisected commit-id:
Attachments: lsusb
lspci
lscpu
dmesg
/proc/interrupts before a suspend, which is followed by immediate resume
/proc/interrupts after immediate resume

Description Peter Weber 2018-02-11 12:45:20 UTC
Created attachment 274103 [details]
lsusb

Hello!

My ThinkPad X220 often immediately resumes from suspend, due to issues with bluetooth. My ThinkPad uses a newer bluetooth-chip from a follow up gen (X230, X240...) which features Bluetooth "4.0 LE", see attached lsusb.

After many suspend and resume cycles, the immediate suspend occours usually if a bluetooth is on and a keyboard or mouse is paired, but not connected.
The suspend works fine and is not followed by an immediate resume, if bluetooth is off. It also works fine if bluetooth is ON, a keyboard or mouse is paired and connected.

Maybe something always tries to establish a connection, if not present and causes the resume from suspend?

Thanks

PS: I can delay a suspend while moving around a paired and connected mouse, which subsequently also leeds to a immediate resume. But I doesn't consider this as a big issue.
Comment 1 Peter Weber 2018-02-11 12:45:40 UTC
Created attachment 274105 [details]
lspci
Comment 2 Peter Weber 2018-02-11 12:45:54 UTC
Created attachment 274107 [details]
lscpu
Comment 3 Peter Weber 2018-02-11 12:46:13 UTC
Created attachment 274109 [details]
dmesg
Comment 4 Peter Weber 2018-02-11 12:46:47 UTC
Created attachment 274111 [details]
/proc/interrupts before a suspend, which is followed by immediate resume
Comment 5 Peter Weber 2018-02-11 12:47:09 UTC
Created attachment 274113 [details]
/proc/interrupts after immediate resume
Comment 6 Peter Weber 2018-02-11 12:51:08 UTC
The mentioned bluetooth chip:
Bus 003 Device 003: ID 0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad]

I tried it with an updated firmware from here[1] and without (uses built-in firmware).

[1] https://github.com/winterheart/broadcom-bt-firmware
Comment 7 Peter Weber 2020-06-12 08:52:35 UTC
Fixed a long time ago by an unknown change.