Merge lp:~lihow731/bluez/fix-suspend-bug-1584620 into lp:~bluetooth/bluez/ubuntu

Proposed by Leon Liao
Status: Needs review
Proposed branch: lp:~lihow731/bluez/fix-suspend-bug-1584620
Merge into: lp:~bluetooth/bluez/ubuntu
Diff against target: 26 lines (+12/-0)
2 files modified
debian/50-bluetooth-hci-auto-poweron.rules (+1/-0)
debian/changelog (+11/-0)
To merge this branch: bzr merge lp:~lihow731/bluez/fix-suspend-bug-1584620
Reviewer Review Type Date Requested Status
Bluetooth Pending
Review via email: mp+298273@code.launchpad.net
To post a comment you must log in.

Unmerged revisions

20. By Leon Liao

* Synchronize the bluetooth status. (LP: #1584620)
 - In some machines, the USB will be power off when enter S3.
   The bluetooth will be initiallized after resuming from S3.
   In this case, the bluetooth indicator icon will be gray.
   In bluetoothctl, it shows the bluetooth is not powered.
   Actually, the bluetooth is powered.
 - I tried to enable the "autoenable" in /etc/bluetooth/main.conf.
   But the "autoenable" feature can not fix the bluetooth asynchornized state bug.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified 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 2016-06-24 06:16:23 +0000
4@@ -1,2 +1,3 @@
5 # Set bluetooth power up
6 ACTION=="add", SUBSYSTEM=="bluetooth", KERNEL=="hci[0-9]*", RUN+="/bin/hciconfig %k up"
7+ACTION=="remove", SUBSYSTEM=="bluetooth", KERNEL=="hci[0-9]*", RUN+="/bin/hciconfig %k down"
8
9=== modified file 'debian/changelog'
10--- debian/changelog 2016-03-01 15:19:16 +0000
11+++ debian/changelog 2016-06-24 06:16:23 +0000
12@@ -1,3 +1,14 @@
13+bluez (5.37-0ubuntu5somerville1) xenial; urgency=medium
14+
15+ * Synchronize the bluetooth status. (LP: #1584620)
16+ - In some machines, the USB will be power off when enter S3.
17+ The bluetooth will be initiallized after resuming from S3.
18+ In this case, the bluetooth indicator icon will be gray.
19+ In bluetoothctl, it shows the bluetooth is not powered.
20+ Actually, the bluetooth is powered.
21+
22+ -- Li-Hao Liao (Leon Liao) <leon.liao@canonical.com> Fri, 24 Jun 2016 12:06:29 +0800
23+
24 bluez (5.37-0ubuntu5) xenial; urgency=medium
25
26 [Tony Espy ]

Subscribers

People subscribed via source and target branches

to all changes: