Realtek btusb dongle vanishes after resume from suspend

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

Bug Description

New laptop that is running Ubuntu Mate 19.10, most everything works out of the box even bluetooth but bluetooth does not resume after suspend. In fact I am unable to restart it and get it to work after a suspend. Wireless resumes and continues to work, just bluetooth fails. After suspend the controller and adapter are not found, restarting bluetooth.service nor restarting network manger solve the issue. After a resume the adapter is not found at all, I have tried to remove the module before a suspend and add it back to no avail, the only way to get it working is to reboot which is a pain.

Please let me know what additional data you may need, posting information below:

Chipset is Realtek RTL8822CE, combined wireless and Bluetooth module
Running Bluez 5.50 package...

Working on intial Boot:

lsusb -tv
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 3: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
        ID 0408:5365 Quanta Computer, Inc.
    |__ Port 3: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
        ID 0408:5365 Quanta Computer, Inc.
    |__ Port 10: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
        ID 0bda:b00c Realtek Semiconductor Corp.
    |__ Port 10: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
        ID 0bda:b00c Realtek Semiconductor Corp.

rfkill list
0: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no
1: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no

usb-devices
T: Bus=01 Lev=01 Prnt=01 Port=09 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0bda ProdID=b00c Rev=00.00
S: Manufacturer=Realtek
S: Product=Bluetooth Radio
S: SerialNumber=00e04c000001
C: #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#=0x0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
I: If#=0x1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb

lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0408:5365 Quanta Computer, Inc. HP TrueVision HD Camera
Bus 001 Device 003: ID 0bda:b00c Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

dmesg | grep Blue
[ 1.192743] usb 1-10: Product: Bluetooth Radio
[ 11.706607] Bluetooth: Core ver 2.22
[ 11.706620] Bluetooth: HCI device and connection manager initialized
[ 11.706624] Bluetooth: HCI socket layer initialized
[ 11.706626] Bluetooth: L2CAP socket layer initialized
[ 11.706628] Bluetooth: SCO socket layer initialized
[ 11.720229] Bluetooth: hci0: RTL: rtl: examining hci_ver=0a hci_rev=000c lmp_ver=0a lmp_subver=8822
[ 11.721252] Bluetooth: hci0: RTL: rom_version status=0 version=3
[ 11.721254] Bluetooth: hci0: RTL: rtl: loading rtl_bt/rtl8822cu_fw.bin
[ 11.722558] Bluetooth: hci0: RTL: rtl: loading rtl_bt/rtl8822cu_config.bin
[ 11.722879] Bluetooth: hci0: RTL: cfg_sz 6, total sz 24866
[ 15.466810] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 15.466812] Bluetooth: BNEP filters: protocol multicast
[ 15.466816] Bluetooth: BNEP socket layer initialized
[ 18.070246] Bluetooth: RFCOMM TTY layer initialized
[ 18.070250] Bluetooth: RFCOMM socket layer initialized
[ 18.070253] Bluetooth: RFCOMM ver 1.11

After resume:

lsusb -tv
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 3: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
        ID 0408:5365 Quanta Computer, Inc.
    |__ Port 3: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
        ID 0408:5365 Quanta Computer, Inc.

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

usb-devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh=12
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=05.03
S: Manufacturer=Linux 5.3.0-24-generic xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=0000:00:14.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.01 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0408 ProdID=5365 Rev=00.02
S: Manufacturer=SunplusIT Inc
S: Product=HP TrueVision HD Camera
C: #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
I: If#=0x1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=10000 MxCh= 6
D: Ver= 3.10 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev=05.03
S: Manufacturer=Linux 5.3.0-24-generic xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=0000:00:14.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0408:5365 Quanta Computer, Inc. HP TrueVision HD Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: bishop 1693 F.... pulseaudio
CurrentDesktop: MATE
DistroRelease: Ubuntu 19.10
InstallationDate: Installed on 2019-11-12 (36 days ago)
InstallationMedia: Ubuntu-MATE 19.10 "Eoan Ermine" - Release amd64 (20191017)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 002: ID 0408:5365 Quanta Computer, Inc. HP TrueVision HD Camera
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: HP HP Laptop 14-dq1xxx
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.3.0-24-generic root=/dev/mapper/vgroot-lvroot ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.3.0-24.26-generic 5.3.10
RelatedPackageVersions:
 linux-restricted-modules-5.3.0-24-generic N/A
 linux-backports-modules-5.3.0-24-generic N/A
 linux-firmware 1.183.2
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Tags: eoan
Uname: Linux 5.3.0-24-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 10/18/2019
dmi.bios.vendor: AMI
dmi.bios.version: F.07
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 86C8
dmi.board.vendor: HP
dmi.board.version: 56.21
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAMI:bvrF.07:bd10/18/2019:svnHP:pnHPLaptop14-dq1xxx:pvr:rvnHP:rn86C8:rvr56.21:cvnHP:ct10:cvrChassisVersion:
dmi.product.family: 103C_5335KV HP Notebook
dmi.product.name: HP Laptop 14-dq1xxx
dmi.product.sku: 7RP94UA#ABA
dmi.sys.vendor: HP

bishoptf (bishoptf)
description: updated
tags: added: eoan
summary: - bluez regression: Bluetooth fails after resume
+ Realtek btusb dongle vanishes after resume from suspend
affects: bluez (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1856872

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
bishoptf (bishoptf) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
bishoptf (bishoptf) wrote : CRDA.txt

apport information

Revision history for this message
bishoptf (bishoptf) wrote : CurrentDmesg.txt

apport information

Revision history for this message
bishoptf (bishoptf) wrote : IwConfig.txt

apport information

Revision history for this message
bishoptf (bishoptf) wrote : Lspci.txt

apport information

Revision history for this message
bishoptf (bishoptf) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
bishoptf (bishoptf) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
bishoptf (bishoptf) wrote : ProcEnviron.txt

apport information

Revision history for this message
bishoptf (bishoptf) wrote : ProcInterrupts.txt

apport information

Revision history for this message
bishoptf (bishoptf) wrote : ProcModules.txt

apport information

Revision history for this message
bishoptf (bishoptf) wrote : PulseList.txt

apport information

Revision history for this message
bishoptf (bishoptf) wrote : UdevDb.txt

apport information

Revision history for this message
bishoptf (bishoptf) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

In case you happen to have 'tlp' installed, please uninstall that.

Revision history for this message
bishoptf (bishoptf) wrote :

tlp has not been installed:

dpkg -l | grep tlp
$

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

Please test latest mainline kernel:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/

After installing the kernel, please do a cold reboot.

Norbert (nrbrtx)
tags: removed: eoan
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.