Bug 199451 - Intel 9260: immediate resume after suspend when connected with BT device
Summary: Intel 9260: immediate resume after suspend when connected with BT device
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Bluetooth (show other bugs)
Hardware: All Linux
: P1 high
Assignee: linux-bluetooth@vger.kernel.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-20 02:42 UTC by Ethan Hsieh
Modified: 2018-04-23 02:29 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.17rc1 & 4.13
Subsystem:
Regression: No
Bisected commit-id:


Attachments
2_kern.log_4.13_event_mask_fffff3ff07f8bf1d (233.84 KB, text/plain)
2018-04-20 02:42 UTC, Ethan Hsieh
Details
2_btsnoop.log (655 bytes, application/octet-stream)
2018-04-20 02:43 UTC, Ethan Hsieh
Details
3_kern.log_4.13_event_mask_fffffbff07f8bf3d (257.31 KB, text/plain)
2018-04-20 02:43 UTC, Ethan Hsieh
Details
3_btsnoop.log (12.58 KB, application/octet-stream)
2018-04-20 02:43 UTC, Ethan Hsieh
Details
1_kern.log_4.13 (211.31 KB, text/plain)
2018-04-20 02:44 UTC, Ethan Hsieh
Details
1_btsnoop.log (536 bytes, application/octet-stream)
2018-04-20 02:44 UTC, Ethan Hsieh
Details

Description Ethan Hsieh 2018-04-20 02:42:24 UTC
Created attachment 275451 [details]
2_kern.log_4.13_event_mask_fffff3ff07f8bf1d

System sent ACL DATA TX before suspend and then it was woken up immediately by ACL DATA RX.

//Press "Suspend button" from UI
[ 44.857936] Suspending console(s) (use no_console_suspend to debug)
[ 44.966748] hci_send_acl, hci0 chan ffff90858dd66700 flags 0x0000
[ 44.966749] hci_queue_acl, hci0 nonfrag skb ffff90859225b500 len 11
[ 44.966755] hci_send_frame, hci0 type 2 len 11
[ 45.858722] smpboot: CPU 11 is now offline
//Suspend
//Resume
[ 45.862348] ACPI: Low-level resume complete
[ 45.879717] ACPI: Waking up from system sleep state S3
[ 45.924838] pm_wakeup_dev_event: dev_name=0000:00:14.0
[ 45.998065] PM: early resume of devices complete after 75.899 msecs
[ 46.057641] hci_recv_frame, hci0 type 2 len 29
[ 46.058414] hci_recv_frame, hci0 type 4 len 7

Please refer to attached file (2_kern.log_4.13_event_mask_fffff3ff07f8bf1d) for detailed log.
Comment 1 Ethan Hsieh 2018-04-20 02:43:07 UTC
Created attachment 275453 [details]
2_btsnoop.log
Comment 2 Ethan Hsieh 2018-04-20 02:43:29 UTC
Created attachment 275455 [details]
3_kern.log_4.13_event_mask_fffffbff07f8bf3d
Comment 3 Ethan Hsieh 2018-04-20 02:43:49 UTC
Created attachment 275457 [details]
3_btsnoop.log
Comment 4 Ethan Hsieh 2018-04-20 02:44:02 UTC
Created attachment 275459 [details]
1_kern.log_4.13
Comment 5 Ethan Hsieh 2018-04-20 02:44:18 UTC
Created attachment 275461 [details]
1_btsnoop.log
Comment 6 Ethan Hsieh 2018-04-20 02:50:27 UTC
Failure rate is not 100%.
Here is the log that system can suspend successfully.

//Press "Suspend button" from UI
[ 58.989221] Suspending console(s) (use no_console_suspend to debug)
[ 59.933198] smpboot: CPU 3 is now offline
//Suspend
//System can suspend successfully.
//Press USB keyboard to wake up system
//Resume
[ 59.937275] ACPI: Low-level resume complete
[ 59.942637] ACPI: Waking up from system sleep state S3
[ 60.002027] pm_wakeup_dev_event: dev_name=0000:00:14.0
[ 60.057167] PM: early resume of devices complete after 71.506 msecs
[ 60.229524] hci_send_acl, hci0 chan ffffa03993668200 flags 0x0000
[ 60.229525] hci_queue_acl, hci0 nonfrag skb ffffa0398dd8b300 len 11
[ 60.229560] hci_send_frame, hci0 type 2 len 11

Please refer to attached file (1_kern.log_4.13) for detailed log.

BT device:
https://www.logitech.com/en-us/product/multi-device-keyboard-k480

Note You need to log in before you can comment on or make changes to this bug.