New issue
Advanced search Search tips

Issue 634909 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 635111
Owner: ----
Closed: Aug 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature

Blocking:
issue 607358



Sign in to add a comment

bluetooth: Can't handle multiple bluetooth adapters

Project Member Reported by fbeaufort@chromium.org, Aug 5 2016

Issue description

Version: 52.0.2743.116

What steps will reproduce the problem?
(1) Plug an external bluetooth USB adapter to your Chromebook
(2) Go to bt_console and choose it as the default one
(3) Open a new tab to https://googlechrome.github.io/samples/web-bluetooth/battery-level.html
(4) Make sure nearby BLE device advertise battery service
(5) Click button to trigger Bluetooth chooser

What is the expected output?
Chooser shows nearby BLE device

What do you see instead?
No devices found.

Looking at D-BUS logs, it looks like we're targeting hci1 (Embed bluetooth adapter) while it should be hci0 (USB adapter).
 
Description: Show this description
Blocking: 607358
Components: -Blink>Bluetooth IO>Bluetooth
Labels: -Type-Bug Type-Feature
Status: Available (was: Untriaged)
The code was designed with only one adapter in mind. We will need a pretty big refactoring to get this working.

Comment 3 by r...@chromium.org, Aug 5 2016

There is no impetus to get this working. Can you tell us a strong use case for having two BT adapters?

I'm not sure if it's a strong use case. But when the embed one is not 4.0, I'd like the second one to work. It is more about selecting the right adapter, not handling both at the same time.


Comment 5 by r...@chromium.org, Aug 5 2016

If the default adapter is disabled, we will work with the second adapter just fine.

The adapter needs to be disabled at a very low level right? So if someone wanted to use another adapter they would have to put their chromebook in dev mode.

Comment 7 by r...@chromium.org, Aug 5 2016

Sure, so maybe we want an easier way to be able to disable the existing adapter. We should file a separate bug for that though - which we can make higher priority.

Being able to switch out a default adapter that provides a lower (or maybe even broken) version of BT with a dongle is definitely something we should support.

Comment 8 by r...@chromium.org, Aug 6 2016

Mergedinto: 635111
Status: Duplicate (was: Available)
Since the purpose behind this issue is to be able to handle multiple adapters correctly, merging into the work item for doing so.

Sign in to add a comment