Bluetooth controller not detected after resume from suspend [Qualcomm Atheros AR9285 Malbec Bluetooth Adapter]

Bug #1838848 reported by Nikita B
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

It's very familiar to Bug #1788807.
I'm on 19.04.

How can I help to solve it?

1) $lsb_release -rd
Description: Ubuntu 19.04
Release: 19.04

2) $ apt-cache policy bluez
bluez:
  Установлен: 5.50-0ubuntu2
  Кандидат: 5.50-0ubuntu2
  Таблица версий:
 *** 5.50-0ubuntu2 500
        500 http://ru.archive.ubuntu.com/ubuntu disco/main amd64 Packages
        100 /var/lib/dpkg/status

3) Expectations: work as designed - no issues.
4) after resume from suspended state device is no longer available
- if open gnome (UI) bluetooth manager in journal:
03 16:35:50 PC-Name tracker-miner-f[1357]: Could not process 'file:///home/user/%23534117': Error when getting information for file “/home/user/#534117”: Нет такого файла или каталога*

*translation from russian: File or path does not exist

$ lspci -nnk | grep -iA3 net; lsusb; rfkill list; uname -r; dmesg | egrep -i 'blue|firm'
01:00.0 Network controller [0280]: Qualcomm Atheros AR9485 Wireless Network Adapter [168c:0032] (rev 01)
 Subsystem: Hewlett-Packard Company AR9485 Wireless Network Adapter [103c:1785]
 Kernel driver in use: ath9k
 Kernel modules: ath9k
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller [10ec:8136] (rev 05)
 Subsystem: Hewlett-Packard Company RTL810xE PCI Express Fast Ethernet controller [103c:3566]
 Kernel driver in use: r8169
 Kernel modules: r8169
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader [10ec:5209] (rev 01)
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 0e8f:0021 GreenAsia Inc. Multimedia Keyboard Controller
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 05c8:021e Cheng Uei Precision Industry Co., Ltd (Foxlink)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
1: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no
5.0.0-23-generic
[ 0.177448] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[ 0.198830] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[ 3.257474] [Firmware Bug]: Invalid critical threshold (0)
[ 4.140519] usb 6-1: Product: Bluetooth USB Host Controller
[ 6.610450] Bluetooth: Core ver 2.22
[ 6.610478] Bluetooth: HCI device and connection manager initialized
[ 6.610485] Bluetooth: HCI socket layer initialized
[ 6.610488] Bluetooth: L2CAP socket layer initialized
[ 6.610494] Bluetooth: SCO socket layer initialized
[ 16.795026] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 16.795029] Bluetooth: BNEP filters: protocol multicast
[ 16.795036] Bluetooth: BNEP socket layer initialized

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: bluez 5.50-0ubuntu2
ProcVersionSignature: Ubuntu 5.0.0-23.24-generic 5.0.15
Uname: Linux 5.0.0-23-generic x86_64
ApportVersion: 2.20.10-0ubuntu27.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Aug 3 16:19:13 2019
InstallationDate: Installed on 2019-08-03 (0 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
InterestingModules: bnep btusb bluetooth
MachineType: Hewlett-Packard HP Pavilion g6 Notebook PC
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-23-generic root=UUID=670d7b88-4792-45a0-a2d1-b026d4926c27 ro quiet splash vt.handoff=1
SourcePackage: bluez
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/24/2012
dmi.bios.vendor: Insyde
dmi.bios.version: F.53
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 3566
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 21.3A
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsyde:bvrF.53:bd10/24/2012:svnHewlett-Packard:pnHPPaviliong6NotebookPC:pvr0692120000204610000610100:rvnHewlett-Packard:rn3566:rvr21.3A:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.family: 103C_5335KV G=N L=CON B=HP S=PAV
dmi.product.name: HP Pavilion g6 Notebook PC
dmi.product.sku: A5Q13EA#ACB
dmi.product.version: 0692120000204610000610100
dmi.sys.vendor: Hewlett-Packard
hciconfig:

rfkill:
 1: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no

Revision history for this message
Nikita B (jsrezak) wrote :
Revision history for this message
Jeremy (wa113y3s) wrote :

Can you do dmesg | tail -30 in terminal after resume from suspend?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I don't think the log message "tracker-miner-f[1357] ..." is related to Bluetooth.

Can you say what "Bluetooth device" is not detected? Are you talking about a particular Bluetooth peripheral, or is the Bluetooth icon itself missing?

Changed in bluez (Ubuntu):
status: New → Incomplete
Revision history for this message
Jeremy (wa113y3s) wrote :

Daniel, it appears that the bluetooth adapter is not being found after resume. The Currentdmesg.txt showed

[ 4.140510] usb 6-1: New USB device found, idVendor=0cf3, idProduct=311d, bcdDevice= 0.02
[ 4.140515] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.140519] usb 6-1: Product: Bluetooth USB Host Controller

But the 0cf3:311d device isn't showing in the lsusb results in the description

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks, apparently idProduct=311d means:

  Atheros AR9285 Malbec Bluetooth Adapter

So if it is on the same board as the AR9485, it's at least a different chip.

summary: Bluetooth device not detected after resume from suspend [Qualcomm
- Atheros AR9485]
+ Atheros AR9285 Malbec Bluetooth Adapter]
summary: - Bluetooth device not detected after resume from suspend [Qualcomm
+ Bluetooth controller not detected after resume from suspend [Qualcomm
Atheros AR9285 Malbec Bluetooth Adapter]
affects: bluez (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Looks like it's already gone during boot:
[ 6.687752] usb 6-1: USB disconnect, device number 2

Revision history for this message
Nikita B (jsrezak) wrote :

q: - Can you do dmesg | tail -30 in terminal after resume from suspend?

2Jeremy (wa113y3s):
a: First of all thank you for your reply! Yes, I will do it immediately as soon as will find the correct way to reproduce it. The thing is that few days ago I turned on the laptop (HP Pavilion g6) and few times made it suspended but backed from work today I found that rfkill list now return this bluetooth adapter.
{code:java}
~$ rfkill list
0: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no
4: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no
{code}

So, I will try to find the absolutely way to reproduce it. Probably I need to connect it with headset. When I'm trying to connect happens this (via journalctl -f):
{code:java}
Pukhlya kernel: Bluetooth: hci0: command 0x0408 tx timeout
aug 06 20:38:19 Pukhlya bluetoothd[942]: connect error: Connection refused (111)
aug 06 20:38:21 Pukhlya kernel: Bluetooth: hci0: command 0x0408 tx timeout
{code}

q: - Are you talking about a particular Bluetooth peripheral, or is the Bluetooth icon itself missing?

2Daniel van Vugt (vanvugt):
a: - First of all, thank you for your answer too, Daniel! No, it's not about missing icon.
It's more about unstable behavior of bluetooth adapter.

So, I put more details here...
On Dabian 9.7-10 I've got exact the same problem with bluetooth:
Works>Suspended>No device at all.
So, I got very positive experience on another machine (PC) with Ubuntu and I reinstalled the OS to Ubuntu - but things are getting worser - I can connect the headset not every time, just every other.
This is what happens if via gnome UI bluetooth manager turn b_adapter off and on:
{code:java}
Bluetooth: hci0: urb 00000000222cb6a5 failed to resubmit (113)
aug 06 20:53:33 Pukhlya systemd[1]: systemd-rfkill.service: Succeeded.
aug 06 20:53:38 Pukhlya bluetoothd[942]: Failed to set mode: Failed (0x03)
{code}

2Kai-Heng Feng (kaihengfeng):
a: - Thank you for your attention to details.
Yes, looks like.

So, thank you all. But what to do except Jeremy's ask to collect log?

Revision history for this message
Nikita B (jsrezak) wrote :
Revision history for this message
Nikita B (jsrezak) wrote :
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Seems like nothing wrong from the dmesg?

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.