[Qualcomm Atheros QCA9565 / AR9565] Bluetooth settings have a delay between on and off modes

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

Bug Description

When I switch bluetooth on or off in Control Center, it has a delay (5-30s) between the switch icon and the actual screen output, some times I need to switch between options on the side bar or even close the Control Center.

outputs:
>>>lsb_release -rd
Description: Ubuntu 21.04
Release: 21.04

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: gnome-control-center 1:3.38.5-1ubuntu1
ProcVersionSignature: Ubuntu 5.11.0-31.33-generic 5.11.22
Uname: Linux 5.11.0-31-generic x86_64
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sun Aug 22 00:46:45 2021
ExecutablePath: /usr/bin/gnome-control-center
InstallationDate: Installed on 2021-04-20 (123 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
ProcEnviron:
 LANGUAGE=pt_BR:pt:en
 PATH=(custom, user)
 XDG_RUNTIME_DIR=<set>
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-control-center
UpgradeStatus: Upgraded to hirsute on 2021-06-08 (75 days ago)
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: junior 1611 F.... pulseaudio
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 21.04
InstallationDate: Installed on 2021-04-20 (126 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
 Bus 001 Device 003: ID 1bcf:2c81 Sunplus Innovation Technology Inc. HD WebCam
 Bus 001 Device 031: ID 04ca:3014 Lite-On Technology Corp. Qualcomm Atheros Bluetooth
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Acer Aspire E5-574
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.0-31-generic root=UUID=6767043c-143f-4c3a-976f-1c786765d862 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.11.0-31.33-generic 5.11.22
RelatedPackageVersions:
 linux-restricted-modules-5.11.0-31-generic N/A
 linux-backports-modules-5.11.0-31-generic N/A
 linux-firmware 1.197.3
Tags: hirsute
Uname: Linux 5.11.0-31-generic x86_64
UpgradeStatus: Upgraded to hirsute on 2021-06-08 (78 days ago)
UserGroups: adm cdrom dip docker lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 03/04/2016
dmi.bios.release: 0.0
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: V1.14
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: Zoro_SL
dmi.board.vendor: Acer
dmi.board.version: V1.14
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.ec.firmware.release: 2.70
dmi.modalias: dmi:bvnInsydeCorp.:bvrV1.14:bd03/04/2016:br0.0:efr2.70:svnAcer:pnAspireE5-574:pvrV1.14:rvnAcer:rnZoro_SL:rvrV1.14:cvnChassisManufacturer:ct10:cvrChassisVersion:
dmi.product.family: SKL
dmi.product.name: Aspire E5-574
dmi.product.sku: Aspire E5-574_100C_1.14
dmi.product.version: V1.14
dmi.sys.vendor: Acer

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

I fear this might be a hardware-specific issue. What is the model of machine? Please also run:

  journalctl -b0 > journal.txt
  lspci -kv > lspci.txt
  lsusb > lsusb.txt

and attach the resulting text files here.

Changed in gnome-control-center (Ubuntu):
status: New → Incomplete
Revision history for this message
Junior Martins (jrom) wrote :

My laptop is an Acer Aspire E5-574-592S.

summary: - bluetooth settings have a delay between on and off modes
+ [Qualcomm Atheros QCA9565 / AR9565] [Acer Aspire E5-574] bluetooth
+ settings have a delay between on and off modes
Changed in gnome-control-center (Ubuntu):
status: Incomplete → New
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 1940759

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
summary: - [Qualcomm Atheros QCA9565 / AR9565] [Acer Aspire E5-574] bluetooth
- settings have a delay between on and off modes
+ [Qualcomm Atheros QCA9565 / AR9565] Bluetooth settings have a delay
+ between on and off modes
no longer affects: gnome-control-center (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

See also bug 1925318

Revision history for this message
Junior Martins (jrom) wrote : AlsaInfo.txt

apport information

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

apport information

Revision history for this message
Junior Martins (jrom) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Junior Martins (jrom) wrote : IwConfig.txt

apport information

Revision history for this message
Junior Martins (jrom) wrote : Lspci.txt

apport information

Revision history for this message
Junior Martins (jrom) wrote : Lspci-vt.txt

apport information

Revision history for this message
Junior Martins (jrom) wrote : Lsusb-t.txt

apport information

Revision history for this message
Junior Martins (jrom) wrote : Lsusb-v.txt

apport information

Revision history for this message
Junior Martins (jrom) wrote : PaInfo.txt

apport information

Revision history for this message
Junior Martins (jrom) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Junior Martins (jrom) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Junior Martins (jrom) wrote : ProcEnviron.txt

apport information

Revision history for this message
Junior Martins (jrom) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Junior Martins (jrom) wrote : ProcModules.txt

apport information

Revision history for this message
Junior Martins (jrom) wrote : PulseList.txt

apport information

Revision history for this message
Junior Martins (jrom) wrote : RfKill.txt

apport information

Revision history for this message
Junior Martins (jrom) wrote : UdevDb.txt

apport information

Revision history for this message
Junior Martins (jrom) wrote (last edit ):

Bug 1925318 might be related, but my computer doesn't have a problem of connecting and disconnecting, but with this delay between the mode itself and what is shown to the user.

This also affects the top-right bar, if I disconnect from there, it will show as "Bluetooth off", but will still have the option to turn it off available below.

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

That issue sounds like bug 1738838.

Revision history for this message
Junior Martins (jrom) wrote :

Thank you, so this is a duplicate, and 4 years old one at that! How can I close mine and mark it as such?

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

No I mean the issue in the last paragraph of comment #23 sounds like bug 1738838. This bug however is still unique, which just means you are the first to report it. I should note though that complaints about Bluetooth behaviour with the QCA9565 chip are not new. I can tell from other bug reports that Linux support for QCA9565 is at least improving.

Revision history for this message
Junior Martins (jrom) wrote :
Download full text (3.3 KiB)

Is there any difference between turning bluetooth on and off in the Settings window versus the top-right bar? Or how they receive/read the bluetooth status? Because the differences I see are that mine applies to both turning on and off and that it also affects the Settings window.

Since the top-right bar is behaving strangely with rfkill, switch or pressing "turn off", I didn't test it, but only the Settings window. I also didn't test it using my laptop airplane mode.

rfkill output and behaviours:
The ID for bluetooth device hci0 changes after execution of "rfkill block 1" or switch off. Also, hci0 reappears with a new ID (+1 the previous).

>>>rfkill (bluetooth is on)
ID TYPE DEVICE SOFT HARD
 0 wlan acer-wireless unblocked unblocked
 1 bluetooth acer-bluetooth unblocked unblocked
 2 wlan phy0 unblocked unblocked
21 bluetooth hci0 unblocked unblocked

>>>rfkill (bluetooth is off due to switch or rfkill block 1)
ID TYPE DEVICE SOFT HARD
 0 wlan acer-wireless unblocked unblocked
 1 bluetooth acer-bluetooth blocked unblocked
 2 wlan phy0 unblocked unblocked

>>>rfkill (bluetooth is off due to rfkill block 53)
ID TYPE DEVICE SOFT HARD
 0 wlan acer-wireless unblocked unblocked
 1 bluetooth acer-bluetooth unblocked unblocked
 2 wlan phy0 unblocked unblocked
53 bluetooth hci0 blocked unblocked

If bluetooth is currently on and if I use the switch to turn it off and on again, or if bluetooth is currently off and I use the switch to turn it on, the delay mentioned in the bug description will appear as described.

ACER-BLUETOOTH DEVICE

If bluetooth is currently on: "rfkill block 1" will make Settings window instantly show as off while the switch stays on, it doesn't goes off until I change panels and come back.
If bluetooth is currently off due to "rfkill block 1": "rfkill unblock 1" will make Settings window show as on after 3-8s
If bluetooth is currently off due to "rfkill block 46": "rfkill unblock 1" won't work
If bluetooth is currently off due to switch: "rfkill unblock 1" will make Settings window and switch show as on after 6-8s (the command itself returns earlier, after 3s, and it is already updated with acer-bluetooth as unblocked)

HCI0 DEVICE

It should be noted that "rfkill block 46" followed by "rfkill unblock 46" didn't reproduce the delay, but kept the disparity between switch and state (Settings window)/"Off and turn off" (top-right bar).

If bluetooth is currently on: "rfkill block 46" will display the same behaviour as "rfkill block 1"
If bluetooth is currently off due to "rfkill block 1": I cannot use "rfkill unblock 46" as it doesn't exist and would return with ID 47.
If bluetooth is currently off due to "rfkill block 46": "rfkill unblock 46" will make Settings window show as on immediately.
If bluetooth is currently off due to switch: hci0 disappears from rfkill output.
-Unblocking via switch takes a lot of time, rfkill itself updates immediately to show acer-bluetooth as unblocked, but hci0 reappears only after the change takes effect in Settings window.
-Unblocking via...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Changed in linux (Ubuntu):
status: Expired → 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
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.