← Back to team overview

kernel-packages team mailing list archive

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

 

I believe I've identified the root-cause:

$ hciconfig hci1 features 
hci1:   Type: BR/EDR  Bus: USB
        BD Address: 00:10:7A:4D:15:33  ACL MTU: 672:8  SCO MTU: 255:255
        Features: 0xff 0xfb 0x01 0x00 0x00 0x00 0x00 0x00
                <3-slot packets> <5-slot packets> <encryption> <slot offset> 
                <timing accuracy> <role switch> <hold mode> <sniff mode> 
                <park state> <RSSI> <SCO link> <HV2 packets> <HV3 packets> 
                <u-law log> <A-law log> <CVSD> 

$ hciconfig hci1 commands 
Can't read support commands on hci1: Input/output error (5)


I enabled dynamic_debug to get the BT_DBG() output:

echo 'file drivers/bluetooth/* +p' | sudo tee /sys/kernel/debug/dynamic_debug/control
echo 'file net/bluetooth/* +p' | sudo tee /sys/kernel/debug/dynamic_debug/control

The attached extract is from the kernel log when connecting the external
USB Bluetooth device.


** Attachment added: "kern.log with captured BT_DBG() a.k.a. pr_debug()"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1491988/+attachment/4460097/+files/kern.log

-- 
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:
  In Progress
Status in linux package in Ubuntu:
  In Progress

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