elementary / switchboard-plug-bluetooth

Switchboard Bluetooth Plug
GNU General Public License v3.0
24 stars 10 forks source link

Devices are duplicated when there are multiple Bluetooth adapters #188

Open tkashkin opened 3 years ago

tkashkin commented 3 years ago

What Happened?

I have multiple bluetooth adapters connected:

Bluetooth settings plug shows each discovered device multiple times if it's found by multiple adapters: initial

Discoverable as shows the name of the first adapter initially, but changes to the name of the last adapter when the Bluetooth plug is reopened without fully closing the System Settings app: reopened

I can connect an old Bluetooth 2.0 USB adapter to see even more duplicated devices (not all because this adapter can't interact with BLE devices): with_usb_adapter

Steps to Reproduce

  1. Connect multiple Bluetooth adapters
  2. Open Bluetooth plug in System Settings

Expected Behavior

I would expect any behavior of the following:

OS Version

6.x (Odin)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

$ bluetoothctl list
Controller 00:0A:94:03:E3:1E tk-desktop #3 [default]
Controller C8:E2:65:FB:44:EB tk-desktop #1
Controller 40:4E:36:DD:9A:49 tk-desktop #2
$ lsusb | egrep 'Intel|HTC|Bluetooth'

# Intel
Bus 003 Device 002: ID 8087:0029 Intel Corp.

# HTC Vive Link Box/BCM20703
Bus 005 Device 005: ID 0bb4:0306 HTC (High Tech Computer Corp.) USB2.0 Hub

# Old Bluetooth 2.0 adapter
Bus 005 Device 008: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
$ lspci | grep AX200 
05:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)