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 "rfkill unblock 1" will update the Settings window after 8s 
(the command itself returns immediately, but the same behaviour is present 
(immediate for acer-bluetooth, delayed for hci0)).

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1940759

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

Status in linux package in Ubuntu:
  Incomplete

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

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to