Bluetooth is stuck after suspend until WiFi networking is toggled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-lts-saucy (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi!
After update from 13.04 to 13.10 I've started to experience weird issue. I'm using bluetooth mouse and usually it works great. However if I suspend my machine and then wake it up, mouse suddenly stop working. According to bluetooth applet, mouse is still connected, but it does not work. I've found workaround for this issue though: if I open network manager applet and switch wireless network off and then back on, bluetooth start working again. However another unexpected behaviour occurs: it sometimes unmount my SD card.
My machine is HP ProBook 4320s. Here's additional hardware info:
$ uname -a
Linux cuthostname 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:12:00 UTC 2013 i686 i686 i686 GNU/Linux
$ lspci -v
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
Subsystem: Hewlett-Packard Company Device 1423
Flags: bus master, fast devsel, latency 0
Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device 1423
Flags: bus master, fast devsel, latency 0, IRQ 46
Memory at d0000000 (64-bit, non-prefetchable) [size=4M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
I/O ports at 5030 [size=8]
Expansion ROM at <unassigned> [disabled]
Kernel driver in use: i915
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
Subsystem: Hewlett-Packard Company Device 1423
Flags: bus master, fast devsel, latency 0, IRQ 47
Memory at d4904000 (64-bit, non-prefetchable) [size=16]
Kernel driver in use: mei_me
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Device 1423
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at d4909000 (32-bit, non-prefetchable) [size=1K]
Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
Subsystem: Hewlett-Packard Company Device 1424
Flags: bus master, fast devsel, latency 0, IRQ 49
Memory at d4900000 (64-bit, non-prefetchable) [size=16K]
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: d4800000-d48fffff
Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=42, sec-latency=0
I/O behind bridge: 00003000-00004fff
Memory behind bridge: d0800000-d47fffff
Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 05) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=43, subordinate=43, sec-latency=0
Memory behind bridge: d0700000-d07fffff
Kernel driver in use: pcieport
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 05) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=44, subordinate=44, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: d0600000-d06fffff
Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Device 1423
Flags: bus master, medium devsel, latency 0, IRQ 20
Memory at d4908000 (32-bit, non-prefetchable) [size=1K]
Kernel driver in use: ehci-pci
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=45, subordinate=45, sec-latency=32
Memory behind bridge: d0500000-d05fffff
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
Subsystem: Hewlett-Packard Company Device 1423
Flags: bus master, medium devsel, latency 0
Kernel driver in use: lpc_ich
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 05) (prog-if 01 [AHCI 1.0])
Subsystem: Hewlett-Packard Company Device 1423
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 44
I/O ports at 5028 [size=8]
I/O ports at 503c [size=4]
I/O ports at 5020 [size=8]
I/O ports at 5038 [size=4]
I/O ports at 5000 [size=32]
Memory at d4907000 (32-bit, non-prefetchable) [size=2K]
Kernel driver in use: ahci
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
Subsystem: Hewlett-Packard Company Device 1423
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at d4906000 (64-bit, non-prefetchable) [size=4K]
43:00.0 Network controller: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe
Subsystem: Hewlett-Packard Company Device 1453
Flags: bus master, fast devsel, latency 0, IRQ 48
Memory at d0700000 (32-bit, non-prefetchable) [size=64K]
Kernel driver in use: rt2800pci
44:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
Subsystem: Hewlett-Packard Company Device 1423
Physical Slot: 5
Flags: bus master, fast devsel, latency 0, IRQ 45
I/O ports at 2000 [size=256]
Memory at d0404000 (64-bit, prefetchable) [size=4K]
Memory at d0400000 (64-bit, prefetchable) [size=16K]
Expansion ROM at d0420000 [disabled] [size=128K]
Kernel driver in use: r8169
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
Subsystem: Intel Corporation Device 8086
Flags: bus master, fast devsel, latency 0
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
Subsystem: Intel Corporation Device 8086
Flags: bus master, fast devsel, latency 0
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
Subsystem: Intel Corporation Device 8086
Flags: bus master, fast devsel, latency 0
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
Subsystem: Intel Corporation Device 8086
Flags: bus master, fast devsel, latency 0
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
Subsystem: Intel Corporation Device 8086
Flags: bus master, fast devsel, latency 0
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
Subsystem: Intel Corporation Device 8086
Flags: bus master, fast devsel, latency 0
$ lsusb
Bus 002 Device 006: ID 148f:1000 Ralink Technology, Corp.
Bus 002 Device 005: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04f2:b1ac Chicony Electronics Co., Ltd
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
and here's content of syslog before/after suspend:
Oct 26 14:36:54 cuthostname anacron[3577]: Anacron 2.3 started on 2013-10-26
Oct 26 14:36:54 cuthostname anacron[3577]: Normal exit (0 jobs run)
Oct 26 14:37:10 cuthostname kernel: [ 882.282735] PM: Syncing filesystems ... done.
Oct 26 14:37:10 cuthostname kernel: [ 882.288425] PM: Preparing system for mem sleep
Oct 26 14:37:10 cuthostname kernel: [ 882.288639] Freezing user space processes ... (elapsed 0.001 seconds) done.
Oct 26 14:37:10 cuthostname kernel: [ 882.290053] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Oct 26 14:37:10 cuthostname kernel: [ 882.291247] PM: Entering mem sleep
Oct 26 14:37:10 cuthostname kernel: [ 882.291314] Suspending console(s) (use no_console_suspend to debug)
Oct 26 14:37:10 cuthostname kernel: [ 882.291490] wlan0: deauthenticating from CE:NS:OR:ED:MA:CA by local choice (reason=3)
Oct 26 14:37:10 cuthostname kernel: [ 882.349548] cfg80211: Calling CRDA to update world regulatory domain
Oct 26 14:37:10 cuthostname kernel: [ 882.349568] sd 0:0:0:0: [sda] Synchronizing SCSI cache
Oct 26 14:37:10 cuthostname kernel: [ 882.349627] sd 0:0:0:0: [sda] Stopping disk
Oct 26 14:37:10 cuthostname kernel: [ 882.397152] mei_me 0000:00:16.0: suspend
Oct 26 14:37:10 cuthostname kernel: [ 882.625953] snd_hda_intel 0000:00:1b.0: power state changed by ACPI to D3cold
Oct 26 14:37:10 cuthostname kernel: [ 882.876776] PM: suspend of devices complete after 585.918 msecs
Oct 26 14:37:10 cuthostname kernel: [ 882.876905] PM: late suspend of devices complete after 0.126 msecs
Oct 26 14:37:10 cuthostname kernel: [ 882.877141] r8169 0000:44:00.0: System wakeup enabled by ACPI
Oct 26 14:37:10 cuthostname kernel: [ 882.892792] ehci-pci 0000:00:1d.0: System wakeup enabled by ACPI
Oct 26 14:37:10 cuthostname kernel: [ 882.908851] ehci-pci 0000:00:1a.0: System wakeup enabled by ACPI
Oct 26 14:37:10 cuthostname kernel: [ 882.940635] PM: noirq suspend of devices complete after 63.790 msecs
Oct 26 14:37:10 cuthostname kernel: [ 882.940862] ACPI: Preparing to enter system sleep state S3
Oct 26 14:37:10 cuthostname kernel: [ 882.972662] PM: Saving platform NVS memory
Oct 26 14:37:10 cuthostname kernel: [ 882.973416] Disabling non-boot CPUs ...
Oct 26 14:37:10 cuthostname kernel: [ 883.076440] smpboot: CPU 1 is now offline
Oct 26 14:37:10 cuthostname kernel: [ 883.180388] smpboot: CPU 2 is now offline
Oct 26 14:37:10 cuthostname kernel: [ 883.180951] Broke affinity for irq 16
Oct 26 14:37:10 cuthostname kernel: [ 883.180962] Broke affinity for irq 20
Oct 26 14:37:10 cuthostname kernel: [ 883.180975] Broke affinity for irq 44
Oct 26 14:37:10 cuthostname kernel: [ 883.284259] smpboot: CPU 3 is now offline
Oct 26 14:37:10 cuthostname kernel: [ 883.285337] ACPI: Low-level resume complete
Oct 26 14:37:10 cuthostname kernel: [ 883.285379] PM: Restoring platform NVS memory
Oct 26 14:37:10 cuthostname kernel: [ 883.286017] Enabling non-boot CPUs ...
Oct 26 14:37:10 cuthostname kernel: [ 883.286064] smpboot: Booting Node 0 Processor 1 APIC 0x1
Oct 26 14:37:10 cuthostname kernel: [ 883.296297] Initializing CPU#1
Oct 26 14:37:10 cuthostname kernel: [ 883.299587] CPU1 is up
Oct 26 14:37:10 cuthostname kernel: [ 883.299606] smpboot: Booting Node 0 Processor 2 APIC 0x4
Oct 26 14:37:10 cuthostname kernel: [ 883.309754] Initializing CPU#2
Oct 26 14:37:10 cuthostname kernel: [ 883.313102] CPU2 is up
Oct 26 14:37:10 cuthostname kernel: [ 883.313119] smpboot: Booting Node 0 Processor 3 APIC 0x5
Oct 26 14:37:10 cuthostname kernel: [ 883.323268] Initializing CPU#3
Oct 26 14:37:10 cuthostname kernel: [ 883.326645] CPU3 is up
Oct 26 14:37:10 cuthostname kernel: [ 883.329131] ACPI: Waking up from system sleep state S3
Oct 26 14:37:10 cuthostname kernel: [ 883.481463] ehci-pci 0000:00:1a.0: System wakeup disabled by ACPI
Oct 26 14:37:10 cuthostname kernel: [ 883.486032] snd_hda_intel 0000:00:1b.0: power state changed by ACPI to D0
Oct 26 14:37:10 cuthostname kernel: [ 883.517422] ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI
Oct 26 14:37:10 cuthostname kernel: [ 883.565536] PM: noirq resume of devices complete after 131.770 msecs
Oct 26 14:37:10 cuthostname kernel: [ 883.565668] PM: early resume of devices complete after 0.102 msecs
Oct 26 14:37:10 cuthostname kernel: [ 883.565694] i915 0000:00:02.0: setting latency timer to 64
Oct 26 14:37:10 cuthostname kernel: [ 883.565730] mei_me 0000:00:16.0: irq 47 for MSI/MSI-X
Oct 26 14:37:10 cuthostname kernel: [ 883.565876] pci 0000:00:1e.0: setting latency timer to 64
Oct 26 14:37:10 cuthostname kernel: [ 883.565895] ahci 0000:00:1f.2: setting latency timer to 64
Oct 26 14:37:10 cuthostname kernel: [ 883.565988] ehci-pci 0000:00:1a.0: setting latency timer to 64
Oct 26 14:37:10 cuthostname kernel: [ 883.566833] ehci-pci 0000:00:1d.0: setting latency timer to 64
Oct 26 14:37:10 cuthostname kernel: [ 883.566918] snd_hda_intel 0000:00:1b.0: irq 49 for MSI/MSI-X
Oct 26 14:37:10 cuthostname kernel: [ 883.669258] pciehp 0000:00:
Oct 26 14:37:10 cuthostname kernel: [ 883.669262] pciehp 0000:00:
Oct 26 14:37:10 cuthostname kernel: [ 883.669302] r8169 0000:44:00.0: System wakeup disabled by ACPI
Oct 26 14:37:10 cuthostname kernel: [ 883.741468] r8169 0000:44:00.0 eth0: link down
Oct 26 14:37:10 cuthostname kernel: [ 883.777258] usb 1-1.5: reset high-speed USB device number 3 using ehci-pci
Oct 26 14:37:10 cuthostname kernel: [ 883.889062] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Oct 26 14:37:10 cuthostname kernel: [ 883.890882] ata2.00: unexpected _GTF length (8)
Oct 26 14:37:10 cuthostname kernel: [ 883.893125] ata2.00: unexpected _GTF length (8)
Oct 26 14:37:10 cuthostname kernel: [ 883.893130] ata2.00: configured for UDMA/100
Oct 26 14:37:10 cuthostname kernel: [ 883.897078] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Oct 26 14:37:10 cuthostname kernel: [ 883.897542] ata1.00: unexpected _GTF length (8)
Oct 26 14:37:10 cuthostname kernel: [ 883.898109] ata1.00: unexpected _GTF length (8)
Oct 26 14:37:10 cuthostname kernel: [ 883.898239] ata1.00: configured for UDMA/100
Oct 26 14:37:10 cuthostname kernel: [ 883.905023] ata5: SATA link down (SStatus 0 SControl 300)
Oct 26 14:37:10 cuthostname kernel: [ 883.917090] sd 0:0:0:0: [sda] Starting disk
Oct 26 14:37:10 cuthostname kernel: [ 883.941203] usb 2-1.6: reset full-speed USB device number 6 using ehci-pci
Oct 26 14:37:10 cuthostname kernel: [ 885.032034] usb 2-1.4: reset high-speed USB device number 5 using ehci-pci
Oct 26 14:37:10 cuthostname kernel: [ 885.132428] PM: resume of devices complete after 1568.298 msecs
Oct 26 14:37:10 cuthostname kernel: [ 885.132633] PM: Finishing wakeup.
Oct 26 14:37:10 cuthostname wpa_supplicant[
Oct 26 14:37:10 cuthostname NetworkManager[
Oct 26 14:37:10 cuthostname kernel: [ 885.132634] Restarting tasks ... done.
Oct 26 14:37:10 cuthostname kernel: [ 885.142175] video LNXVIDEO:01: Restoring backlight state
Oct 26 14:37:10 cuthostname kernel: [ 885.149097] cfg80211: World regulatory domain updated:
Oct 26 14:37:10 cuthostname kernel: [ 885.149103] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Oct 26 14:37:10 cuthostname kernel: [ 885.149106] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 26 14:37:10 cuthostname kernel: [ 885.149108] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 26 14:37:10 cuthostname kernel: [ 885.149110] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Oct 26 14:37:10 cuthostname kernel: [ 885.149112] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 26 14:37:10 cuthostname kernel: [ 885.149114] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 26 14:37:10 cuthostname anacron[3884]: Anacron 2.3 started on 2013-10-26
Oct 26 14:37:10 cuthostname anacron[3884]: Normal exit (0 jobs run)
Oct 26 14:37:10 cuthostname NetworkManager[
Oct 26 14:37:10 cuthostname anacron[3943]: Anacron 2.3 started on 2013-10-26
Oct 26 14:37:10 cuthostname anacron[3943]: Normal exit (0 jobs run)
Oct 26 14:37:11 cuthostname wpa_supplicant[
Oct 26 14:37:11 cuthostname kernel: [ 886.511553] wlan0: authenticate with CE:NS:OR:ED:MA:CA
Oct 26 14:37:11 cuthostname NetworkManager[
Oct 26 14:37:11 cuthostname wpa_supplicant[
Oct 26 14:37:11 cuthostname kernel: [ 886.558812] wlan0: send auth to CE:NS:OR:ED:MA:CA (try 1/3)
Oct 26 14:37:11 cuthostname kernel: [ 886.560873] wlan0: authenticated
Oct 26 14:37:11 cuthostname kernel: [ 886.562407] wlan0: associate with CE:NS:OR:ED:MA:CA (try 1/3)
Oct 26 14:37:11 cuthostname kernel: [ 886.566062] wlan0: RX AssocResp from CE:NS:OR:ED:MA:CA (capab=0x431 status=0 aid=3)
Oct 26 14:37:11 cuthostname kernel: [ 886.566145] wlan0: associated
Oct 26 14:37:11 cuthostname wpa_supplicant[
Oct 26 14:37:11 cuthostname NetworkManager[
Oct 26 14:37:11 cuthostname NetworkManager[
Oct 26 14:37:11 cuthostname NetworkManager[
Oct 26 14:37:11 cuthostname wpa_supplicant[
Oct 26 14:37:11 cuthostname wpa_supplicant[
Oct 26 14:37:11 cuthostname NetworkManager[
Oct 26 14:37:11 cuthostname wpa_supplicant[
I have a similar issue on a Dell XPS 13. Bluetooth does not work after suspend, it started happening after upgrade to 13.10.