0a5c:21e8 Broadcom BCM20702A0: bluetooth mouse freezing for 4-9 seconds

Bug #1886245 reported by Sam Srzen
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Boot system, the Bluetooth mouse will stop for about 4-9 seconds, then it will work as normal.
I am using a plugable USB Bluetooth adapter for Bluetooth connections.
I am using blueman to connect.
Mouse used is a Kensington Exper Mouse Wireless Trackball
Issue does not occur with bluetooth speakers, or headphones.

Computer- Dell Precision 5520.

Logs show these errors as below

bt_uhid_send: Invalid argument (22)

Bluetooth: hci0: advertising data len corrected

Description: Ubuntu 20.04 LTS
Release: 20.04

blueman:
  Installed: 2.1.2-1
  Candidate: 2.1.2-1
  Version table:
 *** 2.1.2-1 500
        500 http://au.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bluetooth (not installed)
ProcVersionSignature: Ubuntu 5.4.0-40.44-generic 5.4.44
Uname: Linux 5.4.0-40-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sat Jul 4 13:24:01 2020
InstallationDate: Installed on 2020-06-03 (30 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
InterestingModules: rfcomm bnep btusb bluetooth
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 0c45:6713 Microdia Integrated_Webcam_HD
 Bus 001 Device 002: ID 0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. Precision 5520
ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_ezfsem@/vmlinuz-5.4.0-40-generic root=ZFS=rpool/ROOT/ubuntu_ezfsem ro quiet splash pcie_aspm=off vt.handoff=1
SourcePackage: bluez
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/22/2020
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.19.2
dmi.board.name: 06X96V
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.19.2:bd05/22/2020:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn06X96V:rvrA00:cvnDellInc.:ct10:cvr:
dmi.product.family: Precision
dmi.product.name: Precision 5520
dmi.product.sku: 07BF
dmi.sys.vendor: Dell Inc.
hciconfig:
 hci0: Type: Primary Bus: USB
  BD Address: 5C:F3:70:7E:32:2F ACL MTU: 1021:8 SCO MTU: 64:1
  UP RUNNING PSCAN ISCAN
  RX bytes:193521 acl:13666 sco:0 events:137 errors:0
  TX bytes:5858 acl:61 sco:0 commands:82 errors:0

Revision history for this message
Sam Srzen (ssarzen) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: BCM20702A bluetooth freezing after boot

This looks like a hardware problem or a kernel bug so reassigning...

summary: - bluetooth freezing after boot
+ BCM20702A bluetooth freezing after boot
affects: bluez (Ubuntu) → linux (Ubuntu)
summary: - BCM20702A bluetooth freezing after boot
+ BCM20702A bluetooth freezing for 4-9 seconds
summary: - BCM20702A bluetooth freezing for 4-9 seconds
+ BCM20702A bluetooth mouse freezing for 4-9 seconds
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
You-Sheng Yang (vicamo)
tags: added: hwe-bluetooth
Revision history for this message
You-Sheng Yang (vicamo) wrote : Re: BCM20702A bluetooth mouse freezing for 4-9 seconds

Could you try downloading https://github.com/winterheart/broadcom-bt-firmware/blob/master/brcm/BCM20702A1-0a5c-21e8.hcd to your /lib/firmware/brcm folder and see if the issue persists?

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

Does touchpad or external have the same issue? Maybe the cursor isn't moving because graphics freezes?

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

In Xorg sessions, the mouse cursor is managed by the Xorg process. So it won't be affected by graphics problems in the gnome-shell process at least.

Revision history for this message
Sam Srzen (ssarzen) wrote :

So what i have done since is:
Downloaded and copied the firmware as advised by You-Sheng Yang (vicamo).
Rebooted and then tried again, time was slightly less in waiting.

I then removed blueman again just in case that was giving issues and reattached the mouse via bluetooth (reboot again) with the same result.

And on the issue with the touchpad, it works fine, i also disabled it via the bios and used a wired mouse and that works fine.

I'll be getting another wireless mouse to test tomorrow.

Revision history for this message
Sam Srzen (ssarzen) wrote :

More info!

I checked the logs again and found:

xhci_hcd 0000:3e:00.0: HC died; cleaning up

Another one at the same time shows this message:

xhci_hcd 0000:3e:00.0: PCI post-resume error -19!

Sam Srzen (ssarzen)
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote :

@Sam, please try following kernel boot parameters, reboot and attach output of `journalctl -b`:

  btusb.enable_autosuspend=0

For detailed steps, please see https://wiki.ubuntu.com/Kernel/KernelBootParameters#Temporarily_Add_a_Kernel_Boot_Parameter_for_Testing

summary: - BCM20702A bluetooth mouse freezing for 4-9 seconds
+ 0a5c:21e8 Broadcom BCM20702A0: bluetooth mouse freezing for 4-9 seconds
Revision history for this message
Sam Srzen (ssarzen) wrote :

Hi All,

I will have to close or finish it off.
The laptop met an unfortunate end...
Thanks evertobe

Revision history for this message
Sam Srzen (ssarzen) wrote :

Thanks everyone rather.

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

If the affected laptop is dead then this bug is closed.

Changed in linux (Ubuntu):
status: Incomplete → Won't Fix
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.