[Kernel-packages] [Bug 1834085] Re: Bluetooth touchpad (Apple Magic Trackpad) disconnects every few minutes

2021-02-21 Thread Mike Jones
I'm having the same issues on my Dell Precision laptop with 20.04 lts,
kernel 5.8.0-43.

One thing I've noticed: it seems to happen less frequently with Wayland
than with X.

-- 
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/1834085

Title:
  Bluetooth touchpad (Apple Magic Trackpad) disconnects every few
  minutes

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I recently got an Apple's Magic Trackpad. I paired it with Ubuntu
  18.04.2 LTS and worked out of the box, no special drivers needed.

  However, I experience frequent disconnections that last a few seconds
  (5-15 seconds usually), which are quite annoying, as the cursor stops
  responding during that interval. The trackpad connects by itself after
  that period. That usually happens every 20-40 minutes.

  I use the onboard bluetooth device of my laptop. I also have, at the
  same time, two more bluetooth devices (keyboard and mouse) and they do
  not experience that issue, just the trackpad. On ocassion I use
  bluetooth headphones which work just fine.

  First of all:

  Using the command "bluetoothctl" I get the following every time I
  experience a disconnection:

  [CHG] Device F4:1B:A1:33:F9:8D Connected: no
  [CHG] Device F4:1B:A1:33:F9:8D Connected: yes

  Checking "dmesg" I can see more information: (if I am not mistaken,
  this shows 4 disconnections)

  
  [ 1609.070538] magicmouse 0005:05AC:030E.0007: unknown main item tag 0x0
  [ 1609.070797] input: Apple Wireless Trackpad as 
/devices/pci:00/:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:05AC:030E.0007/input/input23
  [ 1609.071460] magicmouse 0005:05AC:030E.0007: input,hidraw1: BLUETOOTH HID 
v1.60 Mouse [Apple Wireless Trackpad] on 64:5d:86:86:3f:98
  [ 1676.917377] NET: Registered protocol family 38
  [ 1872.815348] magicmouse 0005:05AC:030E.0008: unknown main item tag 0x0
  [ 1872.815559] input: Apple Wireless Trackpad as 
/devices/pci:00/:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:05AC:030E.0008/input/input24
  [ 1872.816248] magicmouse 0005:05AC:030E.0008: input,hidraw1: BLUETOOTH HID 
v1.60 Mouse [Apple Wireless Trackpad] on 64:5d:86:86:3f:98
  [ 3101.682671] magicmouse 0005:05AC:030E.0009: unknown main item tag 0x0
  [ 3101.683100] input: Apple Wireless Trackpad as 
/devices/pci:00/:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:05AC:030E.0009/input/input25
  [ 3101.683673] magicmouse 0005:05AC:030E.0009: input,hidraw1: BLUETOOTH HID 
v1.60 Mouse [Apple Wireless Trackpad] on 64:5d:86:86:3f:98
  [ 3110.683360] magicmouse 0005:05AC:030E.000A: unknown main item tag 0x0
  [ 3110.683929] input: Apple Wireless Trackpad as 
/devices/pci:00/:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:1024/0005:05AC:030E.000A/input/input26
  [ 3110.684487] magicmouse 0005:05AC:030E.000A: input,hidraw1: BLUETOOTH HID 
v1.60 Mouse [Apple Wireless Trackpad] on 64:5d:86:86:3f:98

  
  And this is what journalctl -b shows at the moment of the 
disconnection/reconnection:

  de juny 13 21:37:49 TM1703 /usr/lib/gdm3/gdm-x-session[4882]: (II) 
config/udev: removing device Apple Wireless Trackpad
  de juny 13 21:37:49 TM1703 /usr/lib/gdm3/gdm-x-session[4882]: (**) Option 
"fd" "64" (1,63 m)˜
  de juny 13 21:37:49 TM1703 /usr/lib/gdm3/gdm-x-session[4882]: (II) event16 - 
Apple Wireless Trackpad: device removed
  de juny 13 21:37:49 TM1703 gnome-shell[5071]: g_array_unref: assertion 
'array' failed
  de juny 13 21:37:49 TM1703 /usr/lib/gdm3/gdm-x-session[4882]: (II) 
UnloadModule: "libinput"
  de juny 13 21:37:49 TM1703 /usr/lib/gdm3/gdm-x-session[4882]: (II) 
systemd-logind: releasing fd for 13:80
  de juny 13 21:37:49 TM1703 upowerd[1271]: unhandled action 'unbind' on 
/sys/devices/pci:00/:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:05AC:030E.0008
  de juny 13 21:37:50 TM1703 kernel: magicmouse 0005:05AC:030E.0009: unknown 
main item tag 0x0
  de juny 13 21:37:50 TM1703 kernel: input: Apple Wireless Trackpad as 
/devices/pci:00/:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:05AC:030E.0009/input/input25
  de juny 13 21:37:50 TM1703 kernel: magicmouse 0005:05AC:030E.0009: 
input,hidraw1: BLUETOOTH HID v1.60 Mouse [Apple Wireless Trackpad] on 
64:5d:86:86:3f:98
  de juny 13 21:37:50 TM1703 /usr/lib/gdm3/gdm-x-session[4882]: (II) 
config/udev: Adding input device Apple Wireless Trackpad (/dev/input/mouse1)
  de juny 13 21:37:50 TM1703 /usr/lib/gdm3/gdm-x-session[4882]: (II) No input 
driver specified, ignoring this device.
  de juny 13 21:37:50 TM1703 /usr/lib/gdm3/gdm-x-session[4882]: (II) This 
device may have been added with another device file.
  de juny 13 21:37:50 TM1703 /usr/lib/gdm3/gdm-x-session[4882]: (II) 
config/udev: Adding input device Apple Wireless Trackpad (/dev/input/event16)
  de juny 13 21:37:50 TM1703 /usr/lib/gdm3/gdm-x-session[4882]: (**) Apple 

[Kernel-packages] [Bug 1593477] Re: Direct firmware load fails for bluetooth

2016-06-19 Thread Mike Jones
A little more information:

- Current and upstream kernel see some bluetooth devices (probably cell phones 
nearby), just not the keyboard and trackpad. These show up as general devices, 
not input devices.
- Keyboard and track pad do not show up as any device type (they work on 
windows on same laptop, indicating hardware is ok)
- Using the chargeable versions of the Mac keyboard and trackpad, and plugging 
in their USB, they work over USB, but not bluetooth, indicating they are 
recognized as HID devices

-- 
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/1593477

Title:
  Direct firmware load fails for bluetooth

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hardware: XPS 15 9550, BCM43602 Bluetooth
  Release: 16.04
  Main Symptom: Mac Key Board and Mac Trackpad not discovered, but other 
devices are discovered
  Details:

  Firmware not loading + misc errors.

  Edited /etc/init/bluetooth.conf to add -d on exec.
  sudo udevadm control --log-prioriry debug

  I am assuming the firmware or other errors explain the failure.

  Further Testing: Boot laptop on Windows 10 partition, both devices are
  discovered and work.

  Note: Bios has some setting to enable Wireless Switch, disable this
  does not help.

  The following are from the logs:

  Jun 16 17:12:37 mjones-XPS-15-9550 kernel: [   13.571762] bluetooth hci0: 
Direct firmware load for brcm/BCM-0a5c-6410.hcd failed with error -2
  Jun 16 17:12:37 mjones-XPS-15-9550 kernel: [   13.658067] brcmfmac 
:02:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.txt failed with 
error -2
  Jun 16 17:12:37 mjones-XPS-15-9550 NetworkManager[1109]:   
[1466118757.2989] manager[0x25341a0]: monitoring kernel firmware directory 
'/lib/firmware'.

  Jun 16 17:02:25 mjones-XPS-15-9550 kernel: [   13.450793] bluetooth hci0: 
Direct firmware load for brcm/BCM-0a5c-6410.hcd failed with error -2
  Jun 16 17:02:25 mjones-XPS-15-9550 NetworkManager[1092]:   
[1466118145.3663] Loaded device plugin: NMBluezManager 
(/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-bluetooth.so)
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Bluetooth daemon 5.37
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Starting SDP server
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Bluetooth management 
interface 1.10 initialized
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Failed to obtain handles 
for "Service Changed" characteristic
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Not enough free handles 
to register service
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Error adding Link Loss 
service
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Not enough free handles 
to register service
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: message repeated 2 
times: [ Not enough free handles to register service]
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Current Time Service 
could not be registered
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: gatt-time-server: 
Input/output error (5)
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Not enough free handles 
to register service
  Jun 16 17:02:25 mjones-XPS-15-9550 NetworkManager[1092]:   
[1466118145.4691] bluez: use BlueZ version 5
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Not enough free handles 
to register service
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Sap driver 
initialization failed.
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: sap-server: Operation 
not permitted (1)
  Jun 16 17:02:26 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint registered: 
sender=:1.45 path=/MediaEndpoint/A2DPSource
  Jun 16 17:02:26 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint registered: 
sender=:1.45 path=/MediaEndpoint/A2DPSink
  Jun 16 17:02:33 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint registered: 
sender=:1.80 path=/MediaEndpoint/A2DPSource
  Jun 16 17:02:33 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint registered: 
sender=:1.80 path=/MediaEndpoint/A2DPSink
  Jun 16 17:02:33 mjones-XPS-15-9550 bluetoothd[1273]: RFCOMM server failed for 
Headset Voice gateway: rfcomm_bind: Address already in use (98)
  Jun 16 17:02:51 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint unregistered: 
sender=:1.45 path=/MediaEndpoint/A2DPSource
  Jun 16 17:02:51 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint unregistered: 
sender=:1.45 path=/MediaEndpoint/A2DPSink
  Jun 16 17:11:16 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint unregistered: 
sender=:1.80 path=/MediaEndpoint/A2DPSource
  Jun 16 17:11:16 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint unregistered: 
sender=:1.80 path=/MediaEndpoint/A2DPSink
  Jun 16 17:12:37 mjones-XPS-15-9550 kernel: [   13.571762] bluetooth hci0: 
Direct firmware load for brcm/BCM-0a5c-6410.hcd failed with error -2
  Jun 16 17:12:37 mjones-XPS-15-9550 NetworkManager[1109]:   

[Kernel-packages] [Bug 1593477] Re: Direct firmware load fails for bluetooth

2016-06-19 Thread Mike Jones
Tested with 4.7-rc3 64 bit x86.

** Tags added: kernel-bug-exists-upstream

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
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/1593477

Title:
  Direct firmware load fails for bluetooth

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hardware: XPS 15 9550, BCM43602 Bluetooth
  Release: 16.04
  Main Symptom: Mac Key Board and Mac Trackpad not discovered, but other 
devices are discovered
  Details:

  Firmware not loading + misc errors.

  Edited /etc/init/bluetooth.conf to add -d on exec.
  sudo udevadm control --log-prioriry debug

  I am assuming the firmware or other errors explain the failure.

  Further Testing: Boot laptop on Windows 10 partition, both devices are
  discovered and work.

  Note: Bios has some setting to enable Wireless Switch, disable this
  does not help.

  The following are from the logs:

  Jun 16 17:12:37 mjones-XPS-15-9550 kernel: [   13.571762] bluetooth hci0: 
Direct firmware load for brcm/BCM-0a5c-6410.hcd failed with error -2
  Jun 16 17:12:37 mjones-XPS-15-9550 kernel: [   13.658067] brcmfmac 
:02:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.txt failed with 
error -2
  Jun 16 17:12:37 mjones-XPS-15-9550 NetworkManager[1109]:   
[1466118757.2989] manager[0x25341a0]: monitoring kernel firmware directory 
'/lib/firmware'.

  Jun 16 17:02:25 mjones-XPS-15-9550 kernel: [   13.450793] bluetooth hci0: 
Direct firmware load for brcm/BCM-0a5c-6410.hcd failed with error -2
  Jun 16 17:02:25 mjones-XPS-15-9550 NetworkManager[1092]:   
[1466118145.3663] Loaded device plugin: NMBluezManager 
(/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-bluetooth.so)
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Bluetooth daemon 5.37
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Starting SDP server
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Bluetooth management 
interface 1.10 initialized
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Failed to obtain handles 
for "Service Changed" characteristic
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Not enough free handles 
to register service
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Error adding Link Loss 
service
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Not enough free handles 
to register service
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: message repeated 2 
times: [ Not enough free handles to register service]
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Current Time Service 
could not be registered
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: gatt-time-server: 
Input/output error (5)
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Not enough free handles 
to register service
  Jun 16 17:02:25 mjones-XPS-15-9550 NetworkManager[1092]:   
[1466118145.4691] bluez: use BlueZ version 5
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Not enough free handles 
to register service
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Sap driver 
initialization failed.
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: sap-server: Operation 
not permitted (1)
  Jun 16 17:02:26 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint registered: 
sender=:1.45 path=/MediaEndpoint/A2DPSource
  Jun 16 17:02:26 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint registered: 
sender=:1.45 path=/MediaEndpoint/A2DPSink
  Jun 16 17:02:33 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint registered: 
sender=:1.80 path=/MediaEndpoint/A2DPSource
  Jun 16 17:02:33 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint registered: 
sender=:1.80 path=/MediaEndpoint/A2DPSink
  Jun 16 17:02:33 mjones-XPS-15-9550 bluetoothd[1273]: RFCOMM server failed for 
Headset Voice gateway: rfcomm_bind: Address already in use (98)
  Jun 16 17:02:51 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint unregistered: 
sender=:1.45 path=/MediaEndpoint/A2DPSource
  Jun 16 17:02:51 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint unregistered: 
sender=:1.45 path=/MediaEndpoint/A2DPSink
  Jun 16 17:11:16 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint unregistered: 
sender=:1.80 path=/MediaEndpoint/A2DPSource
  Jun 16 17:11:16 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint unregistered: 
sender=:1.80 path=/MediaEndpoint/A2DPSink
  Jun 16 17:12:37 mjones-XPS-15-9550 kernel: [   13.571762] bluetooth hci0: 
Direct firmware load for brcm/BCM-0a5c-6410.hcd failed with error -2
  Jun 16 17:12:37 mjones-XPS-15-9550 NetworkManager[1109]:   
[1466118757.4870] Loaded device plugin: NMBluezManager 
(/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-bluetooth.so)
  Jun 16 17:12:37 mjones-XPS-15-9550 bluetoothd[1262]: Bluetooth daemon 5.37
  Jun 16 17:12:37 mjones-XPS-15-9550 bluetoothd[1262]: Starting SDP server
  Jun 16 17:12:37 mjones-XPS-15-9550 bluetoothd[1262]: Bluetooth management 
interface 

Re: [Kernel-packages] SPAM-LOW: [Bug 1593477] Re: Direct firmware load fails for bluetooth

2016-06-17 Thread Mike Jones
Since it is a new laptop, I do not know if it ever worked. But, there
were updates during the first week of use, so it is up to date.

I have tested upstream kernels before, but since this is my everyday
work laptop, and because it has an encrypted partition, I need to review
the changes I made for booting on an encrypted partition, and make sure
I don't accidentally make an un-bootable system. That would be a
disaster for me.

I'll have a look on the weekend. I assume as long as the old image is
not deleted, and as long as I can boot on the install media, I can back
out of trouble. I just need to confirm this.

Sent from my iPad

> On Jun 17, 2016, at 12:23 AM, Joseph Salisbury 
>  wrote:
> 
> Did this issue start happening after an update/upgrade?  Was there a
> prior kernel version where you were not having this particular problem?
> 
> Would it be possible for you to test the latest upstream kernel? Refer
> to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
> v4.7-rc1 kernel[0].
> 
> If this bug is fixed in the mainline kernel, please add the following
> tag 'kernel-fixed-upstream'.
> 
> If the mainline kernel does not fix this bug, please add the tag:
> 'kernel-bug-exists-upstream'.
> 
> Once testing of the upstream kernel is complete, please mark this bug as
> "Confirmed".
> 
> 
> Thanks in advance.
> 
> [0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7-rc3-yakkety/
> 
> 
> ** Changed in: linux (Ubuntu)
>   Importance: Undecided => Medium
> 
> ** Changed in: linux (Ubuntu)
>   Status: Confirmed => Incomplete
> 
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1593477
> 
> Title:
>  Direct firmware load fails for bluetooth
> 
> Status in linux package in Ubuntu:
>  Incomplete
>

-- 
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/1593477

Title:
  Direct firmware load fails for bluetooth

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Hardware: XPS 15 9550, BCM43602 Bluetooth
  Release: 16.04
  Main Symptom: Mac Key Board and Mac Trackpad not discovered, but other 
devices are discovered
  Details:

  Firmware not loading + misc errors.

  Edited /etc/init/bluetooth.conf to add -d on exec.
  sudo udevadm control --log-prioriry debug

  I am assuming the firmware or other errors explain the failure.

  Further Testing: Boot laptop on Windows 10 partition, both devices are
  discovered and work.

  Note: Bios has some setting to enable Wireless Switch, disable this
  does not help.

  The following are from the logs:

  Jun 16 17:12:37 mjones-XPS-15-9550 kernel: [   13.571762] bluetooth hci0: 
Direct firmware load for brcm/BCM-0a5c-6410.hcd failed with error -2
  Jun 16 17:12:37 mjones-XPS-15-9550 kernel: [   13.658067] brcmfmac 
:02:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.txt failed with 
error -2
  Jun 16 17:12:37 mjones-XPS-15-9550 NetworkManager[1109]:   
[1466118757.2989] manager[0x25341a0]: monitoring kernel firmware directory 
'/lib/firmware'.

  Jun 16 17:02:25 mjones-XPS-15-9550 kernel: [   13.450793] bluetooth hci0: 
Direct firmware load for brcm/BCM-0a5c-6410.hcd failed with error -2
  Jun 16 17:02:25 mjones-XPS-15-9550 NetworkManager[1092]:   
[1466118145.3663] Loaded device plugin: NMBluezManager 
(/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-bluetooth.so)
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Bluetooth daemon 5.37
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Starting SDP server
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Bluetooth management 
interface 1.10 initialized
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Failed to obtain handles 
for "Service Changed" characteristic
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Not enough free handles 
to register service
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Error adding Link Loss 
service
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Not enough free handles 
to register service
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: message repeated 2 
times: [ Not enough free handles to register service]
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Current Time Service 
could not be registered
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: gatt-time-server: 
Input/output error (5)
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Not enough free handles 
to register service
  Jun 16 17:02:25 mjones-XPS-15-9550 NetworkManager[1092]:   
[1466118145.4691] bluez: use BlueZ version 5
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Not enough free handles 
to register service
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Sap driver 
initialization failed.
  Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: sap-server: Operation 
not 

[Kernel-packages] [Bug 1593477] [NEW] Direct firmware load fails for bluetooth

2016-06-16 Thread Mike Jones
Public bug reported:

Hardware: XPS 15 9550, BCM43602 Bluetooth
Release: 16.04
Main Symptom: Mac Key Board and Mac Trackpad not discovered, but other devices 
are discovered
Details:

Firmware not loading + misc errors.

Edited /etc/init/bluetooth.conf to add -d on exec.
sudo udevadm control --log-prioriry debug

I am assuming the firmware or other errors explain the failure.

Further Testing: Boot laptop on Windows 10 partition, both devices are
discovered and work.

Note: Bios has some setting to enable Wireless Switch, disable this does
not help.

The following are from the logs:

Jun 16 17:12:37 mjones-XPS-15-9550 kernel: [   13.571762] bluetooth hci0: 
Direct firmware load for brcm/BCM-0a5c-6410.hcd failed with error -2
Jun 16 17:12:37 mjones-XPS-15-9550 kernel: [   13.658067] brcmfmac 
:02:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.txt failed with 
error -2
Jun 16 17:12:37 mjones-XPS-15-9550 NetworkManager[1109]:   
[1466118757.2989] manager[0x25341a0]: monitoring kernel firmware directory 
'/lib/firmware'.

Jun 16 17:02:25 mjones-XPS-15-9550 kernel: [   13.450793] bluetooth hci0: 
Direct firmware load for brcm/BCM-0a5c-6410.hcd failed with error -2
Jun 16 17:02:25 mjones-XPS-15-9550 NetworkManager[1092]:   
[1466118145.3663] Loaded device plugin: NMBluezManager 
(/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-bluetooth.so)
Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Bluetooth daemon 5.37
Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Starting SDP server
Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Bluetooth management 
interface 1.10 initialized
Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Failed to obtain handles 
for "Service Changed" characteristic
Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Not enough free handles to 
register service
Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Error adding Link Loss 
service
Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Not enough free handles to 
register service
Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: message repeated 2 times: 
[ Not enough free handles to register service]
Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Current Time Service could 
not be registered
Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: gatt-time-server: 
Input/output error (5)
Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Not enough free handles to 
register service
Jun 16 17:02:25 mjones-XPS-15-9550 NetworkManager[1092]:   
[1466118145.4691] bluez: use BlueZ version 5
Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Not enough free handles to 
register service
Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: Sap driver initialization 
failed.
Jun 16 17:02:25 mjones-XPS-15-9550 bluetoothd[1273]: sap-server: Operation not 
permitted (1)
Jun 16 17:02:26 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint registered: 
sender=:1.45 path=/MediaEndpoint/A2DPSource
Jun 16 17:02:26 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint registered: 
sender=:1.45 path=/MediaEndpoint/A2DPSink
Jun 16 17:02:33 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint registered: 
sender=:1.80 path=/MediaEndpoint/A2DPSource
Jun 16 17:02:33 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint registered: 
sender=:1.80 path=/MediaEndpoint/A2DPSink
Jun 16 17:02:33 mjones-XPS-15-9550 bluetoothd[1273]: RFCOMM server failed for 
Headset Voice gateway: rfcomm_bind: Address already in use (98)
Jun 16 17:02:51 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint unregistered: 
sender=:1.45 path=/MediaEndpoint/A2DPSource
Jun 16 17:02:51 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint unregistered: 
sender=:1.45 path=/MediaEndpoint/A2DPSink
Jun 16 17:11:16 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint unregistered: 
sender=:1.80 path=/MediaEndpoint/A2DPSource
Jun 16 17:11:16 mjones-XPS-15-9550 bluetoothd[1273]: Endpoint unregistered: 
sender=:1.80 path=/MediaEndpoint/A2DPSink
Jun 16 17:12:37 mjones-XPS-15-9550 kernel: [   13.571762] bluetooth hci0: 
Direct firmware load for brcm/BCM-0a5c-6410.hcd failed with error -2
Jun 16 17:12:37 mjones-XPS-15-9550 NetworkManager[1109]:   
[1466118757.4870] Loaded device plugin: NMBluezManager 
(/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-bluetooth.so)
Jun 16 17:12:37 mjones-XPS-15-9550 bluetoothd[1262]: Bluetooth daemon 5.37
Jun 16 17:12:37 mjones-XPS-15-9550 bluetoothd[1262]: Starting SDP server
Jun 16 17:12:37 mjones-XPS-15-9550 bluetoothd[1262]: Bluetooth management 
interface 1.10 initialized
Jun 16 17:12:37 mjones-XPS-15-9550 bluetoothd[1262]: Failed to obtain handles 
for "Service Changed" characteristic
Jun 16 17:12:37 mjones-XPS-15-9550 bluetoothd[1262]: Not enough free handles to 
register service
Jun 16 17:12:37 mjones-XPS-15-9550 bluetoothd[1262]: Error adding Link Loss 
service
Jun 16 17:12:37 mjones-XPS-15-9550 bluetoothd[1262]: Not enough free handles to 
register service
Jun 16 17:12:37 mjones-XPS-15-9550 bluetoothd[1262]: message repeated 2 times: 
[ Not