← Back to team overview

kernel-packages team mailing list archive

[Bug 1491988] Re: 15.10: Multiple Bluetooth controllers not found

 

I've been working on this some more. I noticed that even when both
adapters are connected before bluetoothd starts, it does not find the
2nd adapter.

The problem appears to be in the read_index_list_complete() call-back,
which sees only 1 controller despite the RFkill events reporting 3
devices, 2 BT (type 2) and 1 WiFi.

src/main.c:main() Entering main loop
src/rfkill.c:rfkill_event() RFKILL event idx 0 type 2 op 0 soft 0 hard 0
Bluetooth management interface 1.10 initialized
src/adapter.c:read_version_complete() sending read supported commands command
src/adapter.c:read_version_complete() sending read index list command
src/rfkill.c:rfkill_event() RFKILL event idx 1 type 1 op 0 soft 0 hard 0
src/rfkill.c:rfkill_event() RFKILL event idx 2 type 2 op 0 soft 0 hard 0
src/adapter.c:read_commands_complete() Number of commands: 61
src/adapter.c:read_commands_complete() Number of events: 34
src/adapter.c:read_commands_complete() enabling kernel-side connection control
src/adapter.c:read_index_list_complete() Number of controllers: 1

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

Title:
  15.10: Multiple Bluetooth controllers not found

Status in bluez package in Ubuntu:
  Triaged

Bug description:
  $ hcitool dev
  Devices:
  	hci1	00:10:7A:4D:15:33
  	hci0	00:1F:3A:E0:0A:AF

  $ hcitool -i hci1 scan
  Scanning ...
  	00:0A:95:4B:BD:C2	Apple Wireless Keyboard

  $ sudo systemctl restart bluetooth

  $ journalctl -u bluetooth | grep adapter_service_add 
  Sep 03 19:39:12 hephaestion.lan.iam.tj bluetoothd[3973]: src/adapter.c:adapter_service_add() /org/bluez/hci0

  $ bluetoothctl
  [NEW] Controller 00:1F:3A:E0:0A:AF hephaestion.lan.iam.tj [default]
  [NEW] Device 00:0A:95:4B:BD:C2 Apple Wireless Keyboard
  [NEW] Device 00:07:61:3B:86:98 Bluetooth Travel Mouse
  [NEW] Device 00:19:15:29:83:14 Think Outside Keyboard
  [bluetooth]# list
  Controller 00:1F:3A:E0:0A:AF hephaestion.lan.iam.tj [default]

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


References