2017-11-10 11:46:04 |
Konrad Zapałowicz |
bug |
|
|
added bug |
2017-11-10 11:46:04 |
Konrad Zapałowicz |
attachment added |
|
0001-bluetooth-increase-timeout-for-le-auto-connections.patch https://bugs.launchpad.net/bugs/1731467/+attachment/5006899/+files/0001-bluetooth-increase-timeout-for-le-auto-connections.patch |
|
2017-11-10 11:46:17 |
Konrad Zapałowicz |
bluez (Ubuntu): status |
New |
In Progress |
|
2017-11-10 11:46:20 |
Konrad Zapałowicz |
bluez (Ubuntu): assignee |
|
Konrad Zapałowicz (kzapalowicz) |
|
2017-11-10 11:58:04 |
Konrad Zapałowicz |
description |
It has been observed that sometimes it is not possible to pair with
BLE remote devices when the host system is using combo (WiFi + BT)
chip.
The root cause of the disconnection has been identified as coming from
the internal to bluez timeout. If bluez does not hear any reply from for
two seconds the link is automagically disconnected. The reason fro the
silence is not however a failure of the remote device but quite often a
delay in the WiFi/BT combo driver that causes the packages not to reach
the bluez stack.
The bug has been discussed and fixed here:
https://marc.info/?l=linux-bluetooth&m=150824844606937&w=2
[Patch]
https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=1f01d8be0e6a04bd682a55f6d50c14c1679e7571
[Impact]
Fixing this bug will enable xenial based Ubuntu core devices such as
gateways connect to various BLE sensors.
[Regression Potential]
Although the timeout has been increased the value is still very low
(4 seconds) therefore should not have a negative impact. It is
taken into consideration only during pairing and for connections that
are triggered by the scan report.
[Other Info]
The patch has been accepted by the upstream and will be a part of the next
kernel release. Currently in the bluetooth-next tree. |
It has been observed that sometimes it is not possible to pair with
BLE remote devices when the host system is using combo (WiFi + BT)
chip.
The root cause of the disconnection has been identified as coming from
the internal to bluez timeout. If bluez does not hear any reply from for
two seconds the link is automagically disconnected. The reason fro the
silence is not however a failure of the remote device but quite often a
delay in the WiFi/BT combo driver that causes the packages not to reach
the bluez stack.
[Impact]
Not possible to pair BLE remote devices such as sensors and such with
Ubuntu when the host system uses BT+WiFi combo SoC. The connection
attempt is disturbed with a timeout.
[Fix]
It has been fixed by increasing the timeout value from 2 seconds to
4 seconds. It is enough for the events to reach the stack (measured
that it takes between 3 and 3.5 seconds).
[Testcase]
Tested with the device that failed to connect to Ubuntu Core gateway.
It fails w/o the patch, it connects just fine with the patch applied.
[Regression Potential]
Very small. The increased timeout is taken into consideration only for
new and scan report triggered connections. It will not make any already
working device to fail to pair.
[Other Info]
The bug has been discussed and fixed here:
https://marc.info/?l=linux-bluetooth&m=150824844606937&w=2
[Patch]
https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=1f01d8be0e6a04bd682a55f6d50c14c1679e7571
The patch has been accepted by the upstream and will be a part of the next
kernel release. Currently in the bluetooth-next tree. |
|
2017-11-14 15:35:08 |
Kleber Sacilotto de Souza |
bug task added |
|
linux (Ubuntu) |
|
2017-11-14 15:37:05 |
Kleber Sacilotto de Souza |
nominated for series |
|
Ubuntu Xenial |
|
2017-11-14 16:00:04 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Incomplete |
|
2017-11-15 13:44:44 |
Stefan Bader |
bug task added |
|
linux (Ubuntu Xenial) |
|
2017-11-15 13:44:44 |
Stefan Bader |
bug task added |
|
bluez (Ubuntu Xenial) |
|
2017-11-15 14:01:41 |
Konrad Zapałowicz |
attachment added |
|
1731467-success-case.snoop https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1731467/+attachment/5009472/+files/1731467-success-case.snoop |
|
2017-11-15 14:01:54 |
Konrad Zapałowicz |
attachment added |
|
1731467-failure-case.snoop https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1731467/+attachment/5009473/+files/1731467-failure-case.snoop |
|
2017-11-15 14:02:13 |
Konrad Zapałowicz |
linux (Ubuntu Xenial): status |
New |
Confirmed |
|
2017-11-20 11:22:41 |
Stefan Bader |
nominated for series |
|
Ubuntu Artful |
|
2017-11-20 11:22:41 |
Stefan Bader |
bug task added |
|
linux (Ubuntu Artful) |
|
2017-11-20 11:22:41 |
Stefan Bader |
bug task added |
|
bluez (Ubuntu Artful) |
|
2017-11-20 11:22:41 |
Stefan Bader |
nominated for series |
|
Ubuntu Zesty |
|
2017-11-20 11:22:41 |
Stefan Bader |
bug task added |
|
linux (Ubuntu Zesty) |
|
2017-11-20 11:22:41 |
Stefan Bader |
bug task added |
|
bluez (Ubuntu Zesty) |
|
2017-11-20 11:27:38 |
Stefan Bader |
linux (Ubuntu Artful): importance |
Undecided |
Medium |
|
2017-11-20 11:27:38 |
Stefan Bader |
linux (Ubuntu Artful): status |
New |
Fix Committed |
|
2017-11-20 11:27:49 |
Stefan Bader |
linux (Ubuntu Zesty): importance |
Undecided |
Medium |
|
2017-11-20 11:27:49 |
Stefan Bader |
linux (Ubuntu Zesty): status |
New |
Fix Committed |
|
2017-11-20 11:28:02 |
Stefan Bader |
linux (Ubuntu Xenial): importance |
Undecided |
Medium |
|
2017-11-20 11:28:02 |
Stefan Bader |
linux (Ubuntu Xenial): status |
Confirmed |
Fix Committed |
|
2017-11-28 17:47:23 |
Khaled El Mously |
tags |
|
verification-needed-xenial |
|
2017-11-28 17:47:57 |
Khaled El Mously |
tags |
verification-needed-xenial |
verification-needed-xenial verification-needed-zesty |
|
2017-11-29 04:12:23 |
Konrad Zapałowicz |
tags |
verification-needed-xenial verification-needed-zesty |
verification-done-xenial verification-done-zesty |
|
2017-11-29 15:16:08 |
Khaled El Mously |
tags |
verification-done-xenial verification-done-zesty |
verification-done-xenial verification-done-zesty verification-needed-artful |
|
2017-12-05 00:27:28 |
penalvch |
linux (Ubuntu): importance |
Undecided |
Medium |
|
2017-12-05 00:27:28 |
penalvch |
linux (Ubuntu): status |
Incomplete |
Triaged |
|
2017-12-07 17:42:36 |
Launchpad Janitor |
linux (Ubuntu Artful): status |
Fix Committed |
Fix Released |
|
2017-12-07 17:42:36 |
Launchpad Janitor |
cve linked |
|
2017-1000405 |
|
2017-12-07 17:43:17 |
Launchpad Janitor |
linux (Ubuntu Zesty): status |
Fix Committed |
Fix Released |
|
2017-12-07 17:43:17 |
Launchpad Janitor |
cve linked |
|
2017-12146 |
|
2017-12-07 17:43:17 |
Launchpad Janitor |
cve linked |
|
2017-16939 |
|
2017-12-07 17:43:39 |
Launchpad Janitor |
linux (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2018-01-10 01:35:55 |
Launchpad Janitor |
linux (Ubuntu): status |
Triaged |
Fix Released |
|
2018-01-10 01:35:55 |
Launchpad Janitor |
cve linked |
|
2017-16995 |
|
2018-01-10 01:35:55 |
Launchpad Janitor |
cve linked |
|
2017-17862 |
|
2018-01-10 01:35:55 |
Launchpad Janitor |
cve linked |
|
2017-17863 |
|
2018-01-10 01:35:55 |
Launchpad Janitor |
cve linked |
|
2017-17864 |
|
2018-01-10 01:35:55 |
Launchpad Janitor |
cve linked |
|
2017-5754 |
|
2019-09-13 15:31:32 |
Konrad Zapałowicz |
bluez (Ubuntu): assignee |
Konrad Zapałowicz (kzapalowicz) |
|
|
2023-11-20 08:14:46 |
Daniel van Vugt |
bluez (Ubuntu): status |
In Progress |
Won't Fix |
|
2023-11-20 08:14:50 |
Daniel van Vugt |
bug task deleted |
bluez (Ubuntu Xenial) |
|
|
2023-11-20 08:14:54 |
Daniel van Vugt |
bug task deleted |
bluez (Ubuntu Zesty) |
|
|
2023-11-20 08:14:58 |
Daniel van Vugt |
bug task deleted |
bluez (Ubuntu Artful) |
|
|
2023-11-20 08:15:02 |
Daniel van Vugt |
bug |
|
|
added subscriber Daniel van Vugt |
2023-11-20 08:15:38 |
Daniel van Vugt |
bug task deleted |
bluez (Ubuntu) |
|
|