Public bug reported:

We're running Ubuntu 20.04.1 LTS
We're expecting the RTL8822BE to have bluetooth working after boot
We're not expecting the RTL8822BE to attach bluetooth, disconnect shortly, then 
become attach after resuming from a suspend.

My ThinkPad is equiped with the RTL8822BE chipset that's providing WiFi
and, should, Bluetooth. The WiFi portion of this works fine, however the
Bluetooth portion is acting unusual. It will detach itself during boot
then after resuming from a suspend it'll become reattached and stay
attached until the system is restarted.

In brevity: with dmesg, during boot it sees there's a USB device

[1.270947] usb 3-1: new full-speed USB device number 2 using xhci_hcd

Then later detects what it is

[    1.447016] usb 3-1: New USB device found, idVendor=0bda, idProduct=b023, 
bcdDevice= 1.10
[    1.447019] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.447022] usb 3-1: Product: Bluetooth Radio 
[    1.447024] usb 3-1: Manufacturer: Realtek 
[    1.447025] usb 3-1: SerialNumber: [...]

Then later it disconnects after thinkpad_acpi starts working

[   23.347846] thinkpad_acpi: ThinkPad ACPI Extras v0.26
[   23.347849] thinkpad_acpi: http://ibm-acpi.sf.net/
[   23.347850] thinkpad_acpi: ThinkPad BIOS R0UET76W (1.56 ), EC R0UHT76W
[   23.347850] thinkpad_acpi: Lenovo ThinkPad E585, model 20KVCTO1WW
[   23.351660] thinkpad_acpi: radio switch found; radios are enabled
[   23.351693] thinkpad_acpi: This ThinkPad has standard ACPI backlight 
brightness control, supported by the ACPI video driver
[   23.351693] thinkpad_acpi: Disabling thinkpad-acpi brightness events by 
default...
[   23.364134] usb 3-1: USB disconnect, device number 2

Then I suspend and resume.

[   40.285466] pci_bus 0000:01: Allocating resources
[   40.285603] pcieport 0000:00:01.1: bridge window [io  0x1000-0x0fff] to [bus 
01] add_size 1000
[   40.285606] pcieport 0000:00:01.1: bridge window [mem 0x00100000-0x000fffff 
64bit pref] to [bus 01] add_size 200000 add_align 100000
[   40.285660] pci_bus 0000:02: Allocating resources
[   40.285668] pcieport 0000:00:01.2: bridge window [mem 0x00100000-0x000fffff 
64bit pref] to [bus 02] add_size 200000 add_align 100000
[   40.285724] pci_bus 0000:03: Allocating resources
[   40.285735] pcieport 0000:00:01.3: bridge window [io  0x1000-0x0fff] to [bus 
03] add_size 1000
[   40.285737] pcieport 0000:00:01.3: bridge window [mem 0x00100000-0x000fffff 
64bit pref] to [bus 03] add_size 200000 add_align 100000
[   40.285748] pci_bus 0000:04: Allocating resources
[   40.285795] pcieport 0000:00:01.6: bridge window [mem 0x00100000-0x000fffff 
64bit pref] to [bus 04] add_size 200000 add_align 100000
[   40.285806] pcieport 0000:00:01.1: BAR 15: assigned [mem 
0xc0b00000-0xc0cfffff 64bit pref]
[   40.285809] pcieport 0000:00:01.2: BAR 15: assigned [mem 
0xc0d00000-0xc0efffff 64bit pref]
[   40.285814] pcieport 0000:00:01.3: BAR 15: assigned [mem 
0xc0f00000-0xc10fffff 64bit pref]
[   40.285817] pcieport 0000:00:01.6: BAR 15: assigned [mem 
0xc1100000-0xc12fffff 64bit pref]
[   40.285826] pcieport 0000:00:01.1: BAR 13: assigned [io  0x4000-0x4fff]
[   40.285831] pcieport 0000:00:01.3: BAR 13: assigned [io  0x5000-0x5fff]
[   40.286272] pci_bus 0000:05: Allocating resources
[   40.286330] pci_bus 0000:06: Allocating resources
[   40.286336] pcieport 0000:00:08.2: bridge window [io  0x1000-0x0fff] to [bus 
06] add_size 1000
[   40.286338] pcieport 0000:00:08.2: bridge window [mem 0x00100000-0x000fffff 
64bit pref] to [bus 06] add_size 200000 add_align 100000
[   40.286344] pcieport 0000:00:08.2: BAR 15: assigned [mem 
0xc1300000-0xc14fffff 64bit pref]
[   40.286347] pcieport 0000:00:08.2: BAR 13: assigned [io  0x6000-0x6fff]
[   40.288537] done.
[   40.418874] usb 3-1: new full-speed USB device number 4 using xhci_hcd
[   40.488676] PM: suspend exit
[   40.590358] usb 3-1: New USB device found, idVendor=0bda, idProduct=b023, 
bcdDevice= 1.10
[   40.590362] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   40.590364] usb 3-1: Product: Bluetooth Radio 
[   40.590365] usb 3-1: Manufacturer: Realtek 
[   40.590366] usb 3-1: SerialNumber: [...]

So either thinkpad_acpi is doing something that triggers the bluetooth
to disconnect (since it always seems to disconnect after thinkpad_acpi)
or something else is going wrong.

apport-collect will follow shortly.
--- 
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.11
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC1:  jarrod     4387 F.... pulseaudio
 /dev/snd/controlC0:  jarrod     4387 F.... pulseaudio
CasperMD5CheckResult: skip
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2019-10-17 (392 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191014)
MachineType: LENOVO 20KVCTO1WW
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
Package: linux (not installed)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-53-generic 
root=/dev/mapper/vgubuntu-root ro nouveau.modeset=0 quiet splash 
resume=/dev/vgubuntu/swap_1 vt.handoff=7
ProcVersionSignature: Ubuntu 5.4.0-53.59-generic 5.4.65
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-53-generic N/A
 linux-backports-modules-5.4.0-53-generic  N/A
 linux-firmware                            1.187.4
Tags:  focal
Uname: Linux 5.4.0-53-generic x86_64
UpgradeStatus: Upgraded to focal on 2020-05-02 (194 days ago)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 11/05/2019
dmi.bios.vendor: LENOVO
dmi.bios.version: R0UET76W (1.56 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20KVCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: 
dmi:bvnLENOVO:bvrR0UET76W(1.56):bd11/05/2019:svnLENOVO:pn20KVCTO1WW:pvrThinkPadE585:rvnLENOVO:rn20KVCTO1WW:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad E585
dmi.product.name: 20KVCTO1WW
dmi.product.sku: LENOVO_MT_20KV_BU_Think_FM_ThinkPad E585
dmi.product.version: ThinkPad E585
dmi.sys.vendor: LENOVO

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-collected focal

** Tags added: apport-collected focal

** Description changed:

  We're running Ubuntu 20.04.1 LTS
  We're expecting the RTL8822BE to have bluetooth working after boot
  We're not expecting the RTL8822BE to attach bluetooth, disconnect shortly, 
then become attach after resuming from a suspend.
  
  My ThinkPad is equiped with the RTL8822BE chipset that's providing WiFi
  and, should, Bluetooth. The WiFi portion of this works fine, however the
  Bluetooth portion is acting unusual. It will detach itself during boot
  then after resuming from a suspend it'll become reattached and stay
  attached until the system is restarted.
  
  In brevity: with dmesg, during boot it sees there's a USB device
  
  [1.270947] usb 3-1: new full-speed USB device number 2 using xhci_hcd
  
  Then later detects what it is
  
  [    1.447016] usb 3-1: New USB device found, idVendor=0bda, idProduct=b023, 
bcdDevice= 1.10
  [    1.447019] usb 3-1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
  [    1.447022] usb 3-1: Product: Bluetooth Radio 
  [    1.447024] usb 3-1: Manufacturer: Realtek 
  [    1.447025] usb 3-1: SerialNumber: [...]
  
  Then later it disconnects after thinkpad_acpi starts working
  
  [   23.347846] thinkpad_acpi: ThinkPad ACPI Extras v0.26
  [   23.347849] thinkpad_acpi: http://ibm-acpi.sf.net/
  [   23.347850] thinkpad_acpi: ThinkPad BIOS R0UET76W (1.56 ), EC R0UHT76W
  [   23.347850] thinkpad_acpi: Lenovo ThinkPad E585, model 20KVCTO1WW
  [   23.351660] thinkpad_acpi: radio switch found; radios are enabled
  [   23.351693] thinkpad_acpi: This ThinkPad has standard ACPI backlight 
brightness control, supported by the ACPI video driver
  [   23.351693] thinkpad_acpi: Disabling thinkpad-acpi brightness events by 
default...
  [   23.364134] usb 3-1: USB disconnect, device number 2
  
  Then I suspend and resume.
  
  [   40.285466] pci_bus 0000:01: Allocating resources
  [   40.285603] pcieport 0000:00:01.1: bridge window [io  0x1000-0x0fff] to 
[bus 01] add_size 1000
  [   40.285606] pcieport 0000:00:01.1: bridge window [mem 
0x00100000-0x000fffff 64bit pref] to [bus 01] add_size 200000 add_align 100000
  [   40.285660] pci_bus 0000:02: Allocating resources
  [   40.285668] pcieport 0000:00:01.2: bridge window [mem 
0x00100000-0x000fffff 64bit pref] to [bus 02] add_size 200000 add_align 100000
  [   40.285724] pci_bus 0000:03: Allocating resources
  [   40.285735] pcieport 0000:00:01.3: bridge window [io  0x1000-0x0fff] to 
[bus 03] add_size 1000
  [   40.285737] pcieport 0000:00:01.3: bridge window [mem 
0x00100000-0x000fffff 64bit pref] to [bus 03] add_size 200000 add_align 100000
  [   40.285748] pci_bus 0000:04: Allocating resources
  [   40.285795] pcieport 0000:00:01.6: bridge window [mem 
0x00100000-0x000fffff 64bit pref] to [bus 04] add_size 200000 add_align 100000
  [   40.285806] pcieport 0000:00:01.1: BAR 15: assigned [mem 
0xc0b00000-0xc0cfffff 64bit pref]
  [   40.285809] pcieport 0000:00:01.2: BAR 15: assigned [mem 
0xc0d00000-0xc0efffff 64bit pref]
  [   40.285814] pcieport 0000:00:01.3: BAR 15: assigned [mem 
0xc0f00000-0xc10fffff 64bit pref]
  [   40.285817] pcieport 0000:00:01.6: BAR 15: assigned [mem 
0xc1100000-0xc12fffff 64bit pref]
  [   40.285826] pcieport 0000:00:01.1: BAR 13: assigned [io  0x4000-0x4fff]
  [   40.285831] pcieport 0000:00:01.3: BAR 13: assigned [io  0x5000-0x5fff]
  [   40.286272] pci_bus 0000:05: Allocating resources
  [   40.286330] pci_bus 0000:06: Allocating resources
  [   40.286336] pcieport 0000:00:08.2: bridge window [io  0x1000-0x0fff] to 
[bus 06] add_size 1000
  [   40.286338] pcieport 0000:00:08.2: bridge window [mem 
0x00100000-0x000fffff 64bit pref] to [bus 06] add_size 200000 add_align 100000
  [   40.286344] pcieport 0000:00:08.2: BAR 15: assigned [mem 
0xc1300000-0xc14fffff 64bit pref]
  [   40.286347] pcieport 0000:00:08.2: BAR 13: assigned [io  0x6000-0x6fff]
  [   40.288537] done.
  [   40.418874] usb 3-1: new full-speed USB device number 4 using xhci_hcd
  [   40.488676] PM: suspend exit
  [   40.590358] usb 3-1: New USB device found, idVendor=0bda, idProduct=b023, 
bcdDevice= 1.10
  [   40.590362] usb 3-1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
  [   40.590364] usb 3-1: Product: Bluetooth Radio 
  [   40.590365] usb 3-1: Manufacturer: Realtek 
  [   40.590366] usb 3-1: SerialNumber: [...]
  
  So either thinkpad_acpi is doing something that triggers the bluetooth
  to disconnect (since it always seems to disconnect after thinkpad_acpi)
  or something else is going wrong.
  
  apport-collect will follow shortly.
+ --- 
+ ProblemType: Bug
+ ApportVersion: 2.20.11-0ubuntu27.11
+ Architecture: amd64
+ AudioDevicesInUse:
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC1:  jarrod     4387 F.... pulseaudio
+  /dev/snd/controlC0:  jarrod     4387 F.... pulseaudio
+ CasperMD5CheckResult: skip
+ DistroRelease: Ubuntu 20.04
+ InstallationDate: Installed on 2019-10-17 (392 days ago)
+ InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191014)
+ MachineType: LENOVO 20KVCTO1WW
+ NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
+ Package: linux (not installed)
+ ProcEnviron:
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
+ ProcFB: 0 amdgpudrmfb
+ ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-53-generic 
root=/dev/mapper/vgubuntu-root ro nouveau.modeset=0 quiet splash 
resume=/dev/vgubuntu/swap_1 vt.handoff=7
+ ProcVersionSignature: Ubuntu 5.4.0-53.59-generic 5.4.65
+ PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
+ RelatedPackageVersions:
+  linux-restricted-modules-5.4.0-53-generic N/A
+  linux-backports-modules-5.4.0-53-generic  N/A
+  linux-firmware                            1.187.4
+ Tags:  focal
+ Uname: Linux 5.4.0-53-generic x86_64
+ UpgradeStatus: Upgraded to focal on 2020-05-02 (194 days ago)
+ UserGroups: N/A
+ _MarkForUpload: True
+ dmi.bios.date: 11/05/2019
+ dmi.bios.vendor: LENOVO
+ dmi.bios.version: R0UET76W (1.56 )
+ dmi.board.asset.tag: Not Available
+ dmi.board.name: 20KVCTO1WW
+ dmi.board.vendor: LENOVO
+ dmi.board.version: SDK0J40697 WIN
+ dmi.chassis.asset.tag: No Asset Information
+ dmi.chassis.type: 10
+ dmi.chassis.vendor: LENOVO
+ dmi.chassis.version: None
+ dmi.modalias: 
dmi:bvnLENOVO:bvrR0UET76W(1.56):bd11/05/2019:svnLENOVO:pn20KVCTO1WW:pvrThinkPadE585:rvnLENOVO:rn20KVCTO1WW:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:
+ dmi.product.family: ThinkPad E585
+ dmi.product.name: 20KVCTO1WW
+ dmi.product.sku: LENOVO_MT_20KV_BU_Think_FM_ThinkPad E585
+ dmi.product.version: ThinkPad E585
+ dmi.sys.vendor: LENOVO

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1904069

Title:
  RTL8822BE ThinkPad E585, Bluetooth detaches on boot, attaches after
  suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1904069/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to