This affects me too:

$ journalctl  | grep -i bluetooth
Jul 16 16:58:40 machine kernel: Bluetooth: Core ver 2.21
Jul 16 16:58:40 machine kernel: Bluetooth: HCI device and connection manager 
initialized
Jul 16 16:58:40 machine kernel: Bluetooth: HCI socket layer initialized
Jul 16 16:58:40 machine kernel: Bluetooth: L2CAP socket layer initialized
Jul 16 16:58:40 machine kernel: Bluetooth: SCO socket layer initialized
Jul 16 16:58:40 machine kernel: Bluetooth: HCI UART driver ver 2.3
Jul 16 16:58:40 machine kernel: Bluetooth: HCI UART protocol H4 registered
Jul 16 16:58:40 machine kernel: Bluetooth: HCI UART protocol BCSP registered
Jul 16 16:58:40 machine kernel: Bluetooth: HCI UART protocol LL registered
Jul 16 16:58:40 machine kernel: Bluetooth: HCI UART protocol ATH3K registered
Jul 16 16:58:40 machine kernel: Bluetooth: HCI UART protocol Three-wire (H5) 
registered
Jul 16 16:58:40 machine kernel: Bluetooth: HCI UART protocol Intel registered
Jul 16 16:58:40 machine kernel: Bluetooth: HCI UART protocol BCM registered
Jul 16 16:58:40 machine kernel: Bluetooth: HCI UART protocol QCA registered
Jul 16 16:58:41 machine kernel: Bluetooth: hci0: Bootloader revision 0.0 build 
2 week 52 2014
Jul 16 16:58:41 machine kernel: Bluetooth: hci0: Device revision is 5
Jul 16 16:58:41 machine kernel: Bluetooth: hci0: Secure boot is enabled
Jul 16 16:58:41 machine kernel: Bluetooth: hci0: OTP lock is enabled
Jul 16 16:58:41 machine kernel: Bluetooth: hci0: API lock is enabled
Jul 16 16:58:41 machine kernel: Bluetooth: hci0: Debug lock is disabled
Jul 16 16:58:41 machine kernel: Bluetooth: hci0: Minimum firmware build 1 week 
10 2014
Jul 16 16:58:41 machine kernel: Bluetooth: hci0: Found device firmware: 
intel/ibt-11-5.sfi
Jul 16 16:58:41 machine NetworkManager[898]: <info>  [1468652321.0800] Loaded 
device plugin: NMBluezManager 
(/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-bluetooth.so)
Jul 16 16:58:41 machine kernel: Bluetooth: hci0: Failed to send firmware data 
(-38)
Jul 16 16:58:43 machine kernel: Bluetooth: hci0 command 0xfc05 tx timeout
Jul 16 16:58:47 machine kernel: Bluetooth: hci0: Reading Intel version 
information failed (-19)
Jul 16 16:58:48 machine systemd[1]: Starting Bluetooth service...
Jul 16 16:58:48 machine bluetoothd[1482]: Bluetooth daemon 5.37
Jul 16 16:58:48 machine bluetoothd[1482]: Starting SDP server
Jul 16 16:58:48 machine systemd[1]: Started Bluetooth service.
Jul 16 16:58:48 machine systemd[1]: Reached target Bluetooth.
Jul 16 16:58:48 machine systemd[1]: bluetooth.target: Unit not needed anymore. 
Stopping.
Jul 16 16:58:48 machine systemd[1]: Stopped target Bluetooth.
Jul 16 16:58:48 machine kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Jul 16 16:58:48 machine kernel: Bluetooth: BNEP filters: protocol multicast
Jul 16 16:58:48 machine kernel: Bluetooth: BNEP socket layer initialized
Jul 16 16:58:48 machine bluetoothd[1482]: Bluetooth management interface 1.10 
initialized
Jul 16 16:58:48 machine kernel: Bluetooth: hci0: Bootloader revision 0.0 build 
2 week 52 2014
Jul 16 16:58:48 machine kernel: Bluetooth: hci0: Device revision is 5
Jul 16 16:58:48 machine kernel: Bluetooth: hci0: Secure boot is enabled
Jul 16 16:58:48 machine kernel: Bluetooth: hci0: OTP lock is enabled
Jul 16 16:58:48 machine kernel: Bluetooth: hci0: API lock is enabled
Jul 16 16:58:48 machine kernel: Bluetooth: hci0: Debug lock is disabled
Jul 16 16:58:48 machine kernel: Bluetooth: hci0: Minimum firmware build 1 week 
10 2014
Jul 16 16:58:48 machine kernel: Bluetooth: hci0: Found device firmware: 
intel/ibt-11-5.sfi
Jul 16 16:58:50 machine kernel: Bluetooth: hci0: Waiting for firmware download 
to complete
Jul 16 16:58:50 machine kernel: Bluetooth: hci0: Firmware loaded in 1679702 
usecs
Jul 16 16:58:50 machine kernel: Bluetooth: hci0: Waiting for device to boot
Jul 16 16:58:50 machine kernel: Bluetooth: hci0: Device booted in 11770 usecs
Jul 16 16:58:50 machine kernel: Bluetooth: hci0: Found Intel DDC parameters: 
intel/ibt-11-5.ddc
Jul 16 16:58:50 machine kernel: Bluetooth: hci0: Applying Intel DDC parameters 
completed
Jul 16 16:58:50 machine kernel: Bluetooth: hci0: Setting Intel event mask 
failed (-16)
Jul 16 16:58:50 machine bluetoothd[1482]: Failed to obtain handles for "Service 
Changed" characteristic
Jul 16 16:58:50 machine bluetoothd[1482]: Not enough free handles to register 
service
Jul 16 16:58:50 machine bluetoothd[1482]: Error adding Link Loss service
Jul 16 16:58:50 machine bluetoothd[1482]: Not enough free handles to register 
service
Jul 16 16:58:50 machine bluetoothd[1482]: Not enough free handles to register 
service
Jul 16 16:58:50 machine bluetoothd[1482]: Not enough free handles to register 
service
Jul 16 16:58:50 machine bluetoothd[1482]: Current Time Service could not be 
registered
Jul 16 16:58:50 machine bluetoothd[1482]: gatt-time-server: Input/output error 
(5)
Jul 16 16:58:50 machine bluetoothd[1482]: Not enough free handles to register 
service
Jul 16 16:58:50 machine systemd[1]: Reached target Bluetooth.
Jul 16 16:58:50 machine bluetoothd[1482]: Not enough free handles to register 
service
Jul 16 16:58:50 machine bluetoothd[1482]: Sap driver initialization failed.
Jul 16 16:58:50 machine bluetoothd[1482]: sap-server: Operation not permitted 
(1)
Jul 16 16:58:50 machine kernel:  shpchp mei_me mei hci_uart btbcm 8250_fintek 
btqca btintel bluetooth intel_lpss_acpi intel_lpss acpi_pad mac_hid acpi_als 
kfifo_buf industrialio parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq 
hid_logitech_hidpp hid_logitech_dj hid_generic usbhid uas usb_storage i915_bpo 
intel_ips i2c_algo_bit drm_kms_helper syscopyarea e1000e sysfillrect sysimgblt 
psmouse fb_sys_fops ptp pps_core ahci nvme drm libahci wmi video 
pinctrl_sunrisepoint i2c_hid pinctrl_intel hid fjes
Jul 16 17:04:33 machine kernel:  shpchp mei_me mei hci_uart btbcm 8250_fintek 
btqca btintel bluetooth intel_lpss_acpi intel_lpss acpi_pad mac_hid acpi_als 
kfifo_buf industrialio parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq 
hid_logitech_hidpp hid_logitech_dj hid_generic usbhid uas usb_storage i915_bpo 
intel_ips i2c_algo_bit drm_kms_helper syscopyarea e1000e sysfillrect sysimgblt 
psmouse fb_sys_fops ptp pps_core ahci nvme drm libahci wmi video 
pinctrl_sunrisepoint i2c_hid pinctrl_intel hid fjes

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1490349

Title:
  15:10 and 16.04: bluetoothd reports "Not enough handles to register
  service" at start

Status in bluez package in Ubuntu:
  Confirmed

Bug description:
  On 15:10 after the bluetooth service has been stopped and restarted it
  is not possible to scan or connect to devices:

  $ sudo systemctl start bluetooth
  $ journalctl --unit=bluetooth | tail -n 19 | awk '{$1="";$2="";$4="";print 
$0}'
    23:31:53  systemd[1]: Starting Bluetooth service...
    23:31:53  bluetoothd[16647]: Bluetooth daemon 5.33
    23:31:53  systemd[1]: Started Bluetooth service.
    23:31:53  bluetoothd[16647]: Starting SDP server
    23:31:53  bluetoothd[16647]: Bluetooth management interface 1.9 initialized
    23:31:53  bluetoothd[16647]: Failed to obtain handles for "Service Changed" 
characteristic
    23:31:53  bluetoothd[16647]: Not enough free handles to register service
    23:31:53  bluetoothd[16647]: Error adding Link Loss service
    23:31:53  bluetoothd[16647]: Not enough free handles to register service
    23:31:53  bluetoothd[16647]: Not enough free handles to register service
    23:31:53  bluetoothd[16647]: Not enough free handles to register service
    23:31:53  bluetoothd[16647]: Current Time Service could not be registered
    23:31:53  bluetoothd[16647]: gatt-time-server: Input/output error (5)
    23:31:53  bluetoothd[16647]: Not enough free handles to register service
    23:31:53  bluetoothd[16647]: Not enough free handles to register service
    23:31:53  bluetoothd[16647]: Sap driver initialization failed.
    23:31:53  bluetoothd[16647]: sap-server: Operation not permitted (1)
    23:31:53  bluetoothd[16647]: Endpoint registered: sender=:1.440 
path=/MediaEndpoint/A2DPSource
    23:31:53  bluetoothd[16647]: Endpoint registered: sender=:1.440 
path=/MediaEndpoint/A2DPSink

  And

  $ 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
  [bluetooth]# scan on
  Failed to start discovery: org.bluez.Error.NotReady

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

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

Reply via email to