3

How can I get the bluetooth UI to use a specific bluetooth adapter when more than one is available?

My laptop's built-in bluetooth adapter has glitches. So I bought a USB bluetooth adapter. I'm able to command-line utils to connect a device with the 2nd adapter, but I can't get the UI to use it. :(

Steps for manual connection:

# Step 1: Find alias for my adapter
sudo hciconfig
# hci1: <stuff> (this is the new one)
# hci0: <stuff> (built-in)

# Step 2: Discover available devices
bt-adapter -a hci1 -d
# <bd mac>

# Step 3: Bind bluetooth device
bt-device -a hci1 -c <bd mac>

# Step 4: Connect audio device
bt-audio -a hci1 -c <bd mac>

Ubuntu release:

Distributor ID: Ubuntu
Description:    Ubuntu 12.04.5 LTS
Release:    12.04
Codename:   precise
  • I might be able to help, edit your question to add the results from lspci -nnk | grep -iA2 net and lsusb – Jeremy31 Mar 9 '15 at 23:34
  • I'm not trying to fix the built-in device. I just want to select the device the UI uses. The devices shouldn't matter, I'd be suspect if they did. – TJR Mar 9 '15 at 23:36
  • There are a few different ways to fix it if you post the info – Jeremy31 Mar 10 '15 at 0:40
3

You could manually shut it down with sudo hciconfig hci0 down but a udev rule could work also gksudo gedit /etc/udev/rules.d/10-local.rules and enter the following

ACTION=="add", KERNEL=="hci0", RUN+="/usr/bin/hciconfig hci0 down"

Save, exit and reboot

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.