Merge lp:~kzapalowicz/bluez/autoenable-bt-adapters into lp:~bluetooth/bluez/ubuntu

Proposed by Konrad Zapałowicz
Status: Merged
Merged at revision: 22
Proposed branch: lp:~kzapalowicz/bluez/autoenable-bt-adapters
Merge into: lp:~bluetooth/bluez/ubuntu
Diff against target: 76 lines (+34/-4)
5 files modified
debian/50-bluetooth-hci-auto-poweron.rules (+0/-2)
debian/bluez.install (+0/-1)
debian/changelog (+9/-1)
debian/patches/series (+1/-0)
debian/patches/use-autoenable-parameter-for-adapters.patch (+24/-0)
To merge this branch: bzr merge lp:~kzapalowicz/bluez/autoenable-bt-adapters
Reviewer Review Type Date Requested Status
Simon Fels Approve
Review via email: mp+314413@code.launchpad.net

This proposal supersedes a proposal from 2016-05-31.

Description of the change

Enable autoEnable parameter of bluez.

Fix #1510570

To post a comment you must log in.
Revision history for this message
Simon Fels (morphis) wrote : Posted in a previous version of this proposal

LGTM. @Konrad: we should go and land this together with an upgrade to Bluez 3.40 also for Touch.

Revision history for this message
Simon Fels (morphis) : Posted in a previous version of this proposal
review: Approve
Revision history for this message
Simon Fels (morphis) :
review: Needs Fixing
22. By Konrad Zapałowicz

Fix formatting in changelog

Revision history for this message
Simon Fels (morphis) wrote :

LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== removed file 'debian/50-bluetooth-hci-auto-poweron.rules'
2--- debian/50-bluetooth-hci-auto-poweron.rules 2015-08-14 10:04:55 +0000
3+++ debian/50-bluetooth-hci-auto-poweron.rules 1970-01-01 00:00:00 +0000
4@@ -1,2 +0,0 @@
5-# Set bluetooth power up
6-ACTION=="add", SUBSYSTEM=="bluetooth", KERNEL=="hci[0-9]*", RUN+="/bin/hciconfig %k up"
7
8=== modified file 'debian/bluez.install'
9--- debian/bluez.install 2016-02-02 17:16:14 +0000
10+++ debian/bluez.install 2017-01-10 13:05:15 +0000
11@@ -25,7 +25,6 @@
12 lib/udev/hid2hci
13 lib/udev/rules.d/97-hid2hci.rules
14 attrib/gatttool usr/bin
15-debian/50-bluetooth-hci-auto-poweron.rules lib/udev/rules.d
16 #-- for systemd
17 lib/systemd/system/bluetooth.service
18 etc/dbus-1/system.d/bluetooth.conf
19
20=== modified file 'debian/changelog'
21--- debian/changelog 2016-03-01 15:19:16 +0000
22+++ debian/changelog 2017-01-10 13:05:15 +0000
23@@ -1,6 +1,14 @@
24+bluez (5.37-0ubuntu6) UNRELEASED; urgency=medium
25+
26+ [ Guilhem Lettron ]
27+ * Add debian/patches/use-autoenable-parameter-for-adapters.patch
28+ - Fix pairing with BLE when adapter is initialized by hcitool
29+
30+ -- Konrad Zapałowicz <konrad.zapalowicz@canonical.com> Tue, 10 Jan 2017 13:06:26 +0100
31+
32 bluez (5.37-0ubuntu5) xenial; urgency=medium
33
34- [Tony Espy ]
35+ [ Tony Espy ]
36 * debian/control: fixup 'Architecture:' and 'Depends:' for bluez-
37 tests, as it now includes binary commands and thus can no
38 longer be 'Architecture: all'.
39
40=== modified file 'debian/patches/series'
41--- debian/patches/series 2016-02-11 13:46:45 +0000
42+++ debian/patches/series 2017-01-10 13:05:15 +0000
43@@ -1,3 +1,4 @@
44+use-autoenable-parameter-for-adapters.patch
45 0001-work-around-Logitech-diNovo-Edge-keyboard-firmware-i.patch
46 bluetooth.conf.patch
47 0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch
48
49=== added file 'debian/patches/use-autoenable-parameter-for-adapters.patch'
50--- debian/patches/use-autoenable-parameter-for-adapters.patch 1970-01-01 00:00:00 +0000
51+++ debian/patches/use-autoenable-parameter-for-adapters.patch 2017-01-10 13:05:15 +0000
52@@ -0,0 +1,24 @@
53+Description: Use 'AutoEnable' option for discovered BT adapters
54+Forwarded: not-needed
55+Origin: community
56+Author: Guilhem Lettron <guilhem.lettron@gmail.com>
57+
58+Index: bluez/src/main.conf
59+===================================================================
60+--- bluez.orig/src/main.conf
61++++ bluez/src/main.conf
62+@@ -64,7 +64,7 @@
63+ # 'false'.
64+ #FastConnectable = false
65+
66+-#[Policy]
67++[Policy]
68+ #
69+ # The ReconnectUUIDs defines the set of remote services that should try
70+ # to be reconnected to in case of a link loss (link supervision
71+@@ -86,4 +86,4 @@
72+ # AutoEnable defines option to enable all controllers when they are found.
73+ # This includes adapters present on start as well as adapters that are plugged
74+ # in later on. Defaults to 'false'.
75+-#AutoEnable=false
76++AutoEnable=true

Subscribers

People subscribed via source and target branches

to all changes: