Bluetooth is turned off at boot with latest update (bluez 5.37-0ubuntu5.2)

Bug #1744806 reported by cement_head
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

With latest update, BLUEZ is now off right after boot, as opposed to previous behaviour that was on/off depending on last setting.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: bluez 5.37-0ubuntu5.2
ProcVersionSignature: Ubuntu 4.13.0-31.34~16.04.1-generic 4.13.13
Uname: Linux 4.13.0-31-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Jan 22 16:08:20 2018
InstallationDate: Installed on 2017-09-29 (115 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
InterestingModules: rfcomm bnep btusb bluetooth
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 046d:c534 Logitech, Inc. Unifying Receiver
 Bus 001 Device 003: ID 04f2:b59d Chicony Electronics Co., Ltd
 Bus 001 Device 002: ID 8087:0a2b Intel Corp.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: System76 Lemur
ProcEnviron:
 LANGUAGE=en_US
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-31-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash resume=/dev/mapper/ubuntu--vg-swap_1 vt.handoff=7
SourcePackage: bluez
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/17/2017
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 5.12
dmi.board.asset.tag: Tag 12345
dmi.board.name: Lemur
dmi.board.vendor: System76
dmi.board.version: lemu7
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: System76
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr5.12:bd02/17/2017:svnSystem76:pnLemur:pvrlemu7:rvnSystem76:rnLemur:rvrlemu7:cvnSystem76:ct10:cvrN/A:
dmi.product.family: Not Applicable
dmi.product.name: Lemur
dmi.product.version: lemu7
dmi.sys.vendor: System76
hciconfig:
 hci0: Type: BR/EDR Bus: USB
  BD Address: AC:ED:5C:F6:32:44 ACL MTU: 1021:4 SCO MTU: 96:6
  DOWN
  RX bytes:667 acl:0 sco:0 events:38 errors:0
  TX bytes:405 acl:0 sco:0 commands:38 errors:0
mtime.conffile..etc.bluetooth.input.conf: 2017-12-06T11:16:58.937870
mtime.conffile..etc.bluetooth.main.conf: 2018-01-18T18:34:20.102879

Revision history for this message
cement_head (andorjkiss) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It appears this bug is due to a proposed change:

bluez (5.37-0ubuntu5.2) xenial; urgency=medium

  [Simon Fels]
  [Guilhem Lettron]
  [Cyrus Lien]
  * debian/main.conf:
    - Set AutoEnable parameter to true.
      (LP: #1510570)
  * debian/50-bluetooth-hci-auto-poweron.rules:
    - Get rid of legacy udev rule to power on bluetooth controllers on
      startup. Using hciconfig for that is the legacy way and will lead
      to different problems as the kernel side stack wont initialize
      all needed subsystems when used. BlueZ introduced a replacement
      for this with 5.36 which basically tells the bluetoothd through
      a config option to turn on all found Bluetooth controllers by
      default. With changing this there should be no change in terms
      of functionality.
      (LP: #1510570)

 -- Konrad Zapałowicz <email address hidden> Tue, 14 Nov 2017 14:07:37 +0100

You might find more information in bug 1510570, but this is still a bug by the sounds of it.

tags: added: regression-proposed
Changed in bluez (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
summary: - Bluetooth is turned off at boot with latest update
+ Bluetooth is turned off at boot with latest update (bluez
+ 5.37-0ubuntu5.2)
Revision history for this message
cement_head (andorjkiss) wrote :

Okay, thanks. I have AutoEnable=true and it won't come on, I'll subscribe to LP #1510570

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This bug is not a duplicate of bug 1510570. This bug is caused by the fix for bug 1510570 :)

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

I guess this is more likely to be a kernel bug, somehow hci_debugfs_create_bredr() gets intertwined with DRM?

[ 5.039111] Call Trace:
[ 5.039115] ? wait_woken+0x80/0x80
[ 5.039130] intel_atomic_commit+0x413/0x4b0 [i915]
[ 5.039139] ? drm_atomic_check_only+0x440/0x580 [drm]
[ 5.039144] ? handle_conflicting_encoders+0x284/0x2a0 [drm_kms_helper]
[ 5.039151] drm_atomic_commit+0x4b/0x50 [drm]
[ 5.039155] drm_atomic_helper_set_config+0x63/0xa0 [drm_kms_helper]
[ 5.039161] __drm_mode_set_config_internal+0x65/0x110 [drm]
[ 5.039167] drm_mode_setcrtc+0x4f6/0x640 [drm]
[ 5.039169] ? ww_mutex_unlock+0x26/0x30
[ 5.039174] ? drm_mode_getcrtc+0x180/0x180 [drm]
[ 5.039179] drm_ioctl_kernel+0x69/0xb0 [drm]
[ 5.039184] drm_ioctl+0x3e4/0x450 [drm]
[ 5.039189] ? drm_mode_getcrtc+0x180/0x180 [drm]
[ 5.039201] ? hci_debugfs_create_bredr+0x112/0x160 [bluetooth]
[ 5.039203] ? new_sync_read+0xdc/0x130
[ 5.039205] do_vfs_ioctl+0xa1/0x5f0
[ 5.039206] SyS_ioctl+0x79/0x90
[ 5.039208] entry_SYSCALL_64_fastpath+0x33/0xa3

Revision history for this message
cement_head (andorjkiss) wrote :

4.13.0-32-generic now boots with Bluetooth "ON"

Revision history for this message
cement_head (andorjkiss) wrote :

Kernel 4.13.0-32-generic fixes this regression

Changed in bluez (Ubuntu):
status: Triaged → Fix Released
affects: bluez (Ubuntu) → linux (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.