You are Here:
Linux Lite 4.0 Final has been released. See the Release Announcements Section.




[ HELPFUL TIP ] Enabling full Bluetooth support in Linux Lite

Author (Read 23529 times)

0 Members and 1 Guest are viewing this topic.

Enabling full Bluetooth support in Linux Lite
« on: July 05, 2014, 02:26:28 AM »
 

N4RPS

  • Donator
  • Platinum Level Poster
  • **********
  • 1151
    Posts
  • Country: us
  • Reputation: 153
  • Knows JUST ENOUGH Linux to be DANGEROUS
    • Orphans for Christ, Self Advocates of Mecklenburg

  • Linux Lite: 2.6 64bit

  • CPU: Several Different 32-bit & 64-bit CPUs, 2-8 GB RAM

  • MEMORY: 8Gb

  • VIDEO CARD: Several Different AMD and Intel GPUs
Hello, All!

With my finally having the spare time to write up and to test this fix, here it is. Let me begin by giving credit where credit is due:

Wirezfree, for the link to the Plugable page containing the Broadcom BCM20702A0 Bluetooth fix:

Plugable, for posting the BCM20702A0 firmware fix on their website:

colin23erk, for providing references to the key pieces in solving this problem, and to those who posted the solutions below.

NOTE: This has been tested on the Targus AC10US1, but does not work on some of the newer Broadcom adapters. It also doesn't work on the Intel integrated WiFi/Bluetooth internal cards in certain HP laptops. The good news is that all this 'works like a champ' on the super cheap USB Bluetooth adapters available on Amazon or eBay!

Here goes:

1. Modify the file /etc/bluetooth/audio.conf file:

Code: [Select]
sudo leafpad /etc/bluetooth/audio.conf
Enter the magic word, then edit the appropriate area in the configuration file as follows:

[General]

Enable = Source,Sink,Headset,Gateway,Control,Media
Disable = Socket

HFP=false

[A2DP]
SBCSources=1
MPEG12Sources=0

Reference Link 1: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1181106 - post #15

NOTE: In the step above, if you use the info referred to in reference link #1, the 'pactl' commands will fail. Fret not, as it has no effect on the end result. What is important here are the changes to be made in the audio.conf file in the /etc/bluetooth folder to activate A2DP (stereo).

2. For the curious, the second reference link will explain to you why this fix is necessary in more detail:

Reference Link 2: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1283003 - post #92

Solving this problem involves:

a. Adding a PPA, and

b. Updating blueman (the Bluetooth manager) and installing the modules that interface Bluetooth with pulseaudio.

c. For Broadcom Bluetooth adapters, downloading the firmware and copying it to the /lib/firmware folder.

First, add the PPA:

Open a terminal window [CTRL-ALT-T] and enter the following:

Code: [Select]
sudo add-apt-repository ppa:cschramm/blueman
Enter the sudo password, and you should see this:

More info: https://launchpad.net/~cschramm/+archive/blueman
Press [ENTER] to continue or ctrl-c to cancel adding it

Press ENTER to add the PPA. After it is added, enter the following text:

Code: [Select]
sudo apt-get update && sudo apt-get install blueman pavucontrol pulseaudio-module-bluetooth -y
If you get any messages (you shouldn't) saying these are already installed, they can be ignored.

If your Bluetooth adapter is not Broadcom-based, you may reboot now. Otherwise...

1. Open your favorite terminal.
   
2. Run the following command to download the firmware file:

Code: [Select]
wget https://s3.amazonaws.com/plugable/bin/fw-0a5c_21e8.hcd
3. Copy the firmware file to the /lib/firmware folder:

Code: [Select]
sudo cp fw-0a5c_21e8.hcd /lib/firmware
Lastly, reboot into Linux Lite. The Bluetooth manager will now allow Audio Sink (A2DP) to be enabled.
 
This fix works not only on Linux Lite, but on ANY Ubuntu 14.04-based distro that uses pulseaudio - most, if not all of them, share this same issue...

73 DE N4RPS
Rob
Last Edit: November 28, 2016, 03:13:56 AM by Jerry


A gun in your hand is worth more than a whole police force on the phone.
 


Re: Enabling full Bluetooth support in Linux Lite
« Reply #1 on: July 05, 2014, 06:15:19 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 6099
    Posts
  • Country: nz
  • Reputation: 544
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 3.8 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 960
Thanks Rob, I don't have a bluetooth headset to test with, I'm assuming installing pulseaudio-module-bluetooth in LL doesn't help and that folks need the PPA? Cheers.
Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

Learn to use your emotions to think, not think with your emotions.



 

Re: Enabling full Bluetooth support in Linux Lite
« Reply #2 on: July 05, 2014, 07:09:52 AM »
 

N4RPS

  • Donator
  • Platinum Level Poster
  • **********
  • 1151
    Posts
  • Country: us
  • Reputation: 153
  • Knows JUST ENOUGH Linux to be DANGEROUS
    • Orphans for Christ, Self Advocates of Mecklenburg

  • Linux Lite: 2.6 64bit

  • CPU: Several Different 32-bit & 64-bit CPUs, 2-8 GB RAM

  • MEMORY: 8Gb

  • VIDEO CARD: Several Different AMD and Intel GPUs
Hello, Jerry!

Exactly. The PPA provides an update to blueman, the Bluetooth manager. As a result, a restart is required to load the updated module.

Why the PPA? As nearly as I can figure out from his explanation, the programmer of blueman said that earlier versions of pulseaudio were unstable. As a result, he turned off the automatic execution of module-bluetooth-discover, thus forcing it to be enabled manually via the terminal window. Apparently, pulseaudio's interaction with Bluetooth improved later on, so the guy issued an update via PPA that turns the automatic execution of module-bluetooth-discover back on again.

I imagine that this updated version will be included in the next update of the Ubuntu repositories - especially since this issue seems to be giving so many folks with Bluetooth accessories so much grief. The other program (pulseaudio-module-bluetooth) seems to not be installed in Ubuntu by default. After all, isn't really needed - that is, unless one uses Bluetooth.

It seems that Ubuntu 14.04 and its derivatives 'broke' a number of programs, but that's another post. As for the Bluetooth issue, it has been going on for roughly three versions of Ubuntu now. LL 1.0.x versions must have been immune, due the 12.04 LTS kernel ;)

73 DE N4RPS
Rob
Last Edit: April 20, 2015, 10:42:55 PM by N4RPS


A gun in your hand is worth more than a whole police force on the phone.
 

Re: Enabling full Bluetooth support in Linux Lite
« Reply #3 on: July 17, 2014, 05:20:58 AM »
 

arunp

  • Guest
Dear Rob,

A big Hug to you buddy, Excellent solution and the BT devices worked like breeze after this update. I recommend that this to be communicated to all LL 2 users and updated. I rolled back my LL to 1.08 because of this issue. Now i am back with LL 2 and really LL2 is much faster than LL 1.08

Thanks a lot once again  :)

Arun
 

Re: Enabling full Bluetooth support in Linux Lite
« Reply #4 on: July 18, 2014, 03:11:35 AM »
 

N4RPS

  • Donator
  • Platinum Level Poster
  • **********
  • 1151
    Posts
  • Country: us
  • Reputation: 153
  • Knows JUST ENOUGH Linux to be DANGEROUS
    • Orphans for Christ, Self Advocates of Mecklenburg

  • Linux Lite: 2.6 64bit

  • CPU: Several Different 32-bit & 64-bit CPUs, 2-8 GB RAM

  • MEMORY: 8Gb

  • VIDEO CARD: Several Different AMD and Intel GPUs
Hello!

No problem, guy. It was all the result of a team effort, and it's just part of what the Linux community is supposed to be about.

I just hope the updated blueman gets added into the repositories soon. As soon as I add LL to this new Dell netbook, I'll be looking at all this again myself, to avoid having to 'reinvent the wheel'...

73 DE N4RPS
Rob


A gun in your hand is worth more than a whole police force on the phone.
 

Re: Enabling full Bluetooth support in Linux Lite
« Reply #5 on: December 12, 2014, 11:23:09 PM »
 

Monkeyman

  • Forum Regular
  • ***
  • 237
    Posts
  • Country: us
  • Reputation: 14
  • Jesus Freak

  • Linux Lite: 2.8 64bit

  • CPU: AMD Phenom II (old skool!)

  • MEMORY: 4Gb

  • VIDEO CARD: GeForce 450
N4RPS --- You're my hero.  Just sayin'.  This fixed my BT issue.  Thank you!
 

Re: Enabling full Bluetooth support in Linux Lite
« Reply #6 on: December 15, 2014, 07:58:28 AM »
 

altman

  • Gold Level Poster
  • *******
  • 741
    Posts
  • Reputation: 43
  • Linux Lite Member
Thanx for the great How To again ! Keep them coming up .
HP DV7 i7 2670QM 500.1GB 8GB Ram Dual-Boot LL2.4 Beta / Extix 15.1.1 64-bit 
Dell Inspiron 1720 CrunchBang 11

Duckduckgo ( for now )
 

Re: Enabling full Bluetooth support in Linux Lite
« Reply #7 on: December 15, 2014, 07:30:45 PM »
 

Mike

  • Forum Regular
  • ***
  • 212
    Posts
  • Country: us
  • Reputation: 26
  • Linux Lite Enthusiast

  • Linux Lite: 3.6 64bit
Thanks, Rob! Now lets hope that PPA never goes away. :)
 

Re: Enabling full Bluetooth support in Linux Lite
« Reply #8 on: December 16, 2014, 07:09:55 AM »
 

N4RPS

  • Donator
  • Platinum Level Poster
  • **********
  • 1151
    Posts
  • Country: us
  • Reputation: 153
  • Knows JUST ENOUGH Linux to be DANGEROUS
    • Orphans for Christ, Self Advocates of Mecklenburg

  • Linux Lite: 2.6 64bit

  • CPU: Several Different 32-bit & 64-bit CPUs, 2-8 GB RAM

  • MEMORY: 8Gb

  • VIDEO CARD: Several Different AMD and Intel GPUs
Thanks, Rob! Now lets hope that PPA never goes away. :)

Hello!

Before I go any further, let me say again that it was a team effort. Colin23erk's efforts were instrumental in finding this solution. I just helped with some of the research, and wrote up the results.

As important as blueman is to Bluetooth support in Linux, I don't see the PPA going away. Even if it does, by then, HOPEFULLY, Ubuntu, perhaps even Debian stable, will have this version in the repositories. The PPA is only to tide us over in the meantime.

BTW, this seems to affect all the 'Buntus, if not all of Linux that uses blueman for Bluetooth...

73 DE N4RPS
Rob


A gun in your hand is worth more than a whole police force on the phone.
 

Re: Enabling full Bluetooth support in Linux Lite
« Reply #9 on: December 16, 2014, 07:17:18 AM »
 

Monkeyman

  • Forum Regular
  • ***
  • 237
    Posts
  • Country: us
  • Reputation: 14
  • Jesus Freak

  • Linux Lite: 2.8 64bit

  • CPU: AMD Phenom II (old skool!)

  • MEMORY: 4Gb

  • VIDEO CARD: GeForce 450
Is Blueman the only BT app/prog/client available?  I'm having intermittant connectivity issues although it could be the cheap, knockoff headset.  The authentic LG Tone headset seems to work fine all the time.
 

Re: Enabling full Bluetooth support in Linux Lite
« Reply #10 on: December 16, 2014, 07:43:00 AM »
 

N4RPS

  • Donator
  • Platinum Level Poster
  • **********
  • 1151
    Posts
  • Country: us
  • Reputation: 153
  • Knows JUST ENOUGH Linux to be DANGEROUS
    • Orphans for Christ, Self Advocates of Mecklenburg

  • Linux Lite: 2.6 64bit

  • CPU: Several Different 32-bit & 64-bit CPUs, 2-8 GB RAM

  • MEMORY: 8Gb

  • VIDEO CARD: Several Different AMD and Intel GPUs
Hello!

Bluetooth has several different versions. I believe the latest is 4.0. AFAIK, for Linux, blueman is the only game in town.

I, too, have problems with some of my headsets connecting properly. I have a Bluetooth Android tablet that has VERY choppy audio on my 5-year old Motorola headset, but is fine with the newer 'cheapie' headsets. Likewise, on my PC with an older, generic adapter, my old headset connects fine, but the newer ones will not. Go figure...

73 DE N4RPS
Rob
Last Edit: December 23, 2014, 04:35:48 AM by N4RPS


A gun in your hand is worth more than a whole police force on the phone.
 

Re: Enabling full Bluetooth support in Linux Lite
« Reply #11 on: December 16, 2014, 11:50:55 AM »
 

Mike

  • Forum Regular
  • ***
  • 212
    Posts
  • Country: us
  • Reputation: 26
  • Linux Lite Enthusiast

  • Linux Lite: 3.6 64bit
Quote from: N4RPS
As important as blueman is to Bluetooth support in Linux, I don't see the PPA going away.

Do we know who this cschramm person is? Maybe we should create our own PPA just to be safe.
 

Re: Enabling full Bluetooth support in Linux Lite
« Reply #12 on: December 17, 2014, 03:20:46 AM »
 

N4RPS

  • Donator
  • Platinum Level Poster
  • **********
  • 1151
    Posts
  • Country: us
  • Reputation: 153
  • Knows JUST ENOUGH Linux to be DANGEROUS
    • Orphans for Christ, Self Advocates of Mecklenburg

  • Linux Lite: 2.6 64bit

  • CPU: Several Different 32-bit & 64-bit CPUs, 2-8 GB RAM

  • MEMORY: 8Gb

  • VIDEO CARD: Several Different AMD and Intel GPUs
Do we know who this cschramm person is? Maybe we should create our own PPA just to be safe.

Hello!

Despite some editor/server issues, I was finally able to modify the OP. Thank you, Jerry - for straightening that out, and for everything else you do around here for us!

Now, back to your post. You can get more information here:

https://launchpad.net/~cschramm

Log in to Launchpad (through Ubuntu One), and his email address appears...

73 DE N4RPS
Rob
Last Edit: January 15, 2015, 02:04:36 AM by N4RPS


A gun in your hand is worth more than a whole police force on the phone.
 

Re: Enabling full Bluetooth support in Linux Lite
« Reply #13 on: December 17, 2014, 08:48:00 AM »
 

Monkeyman

  • Forum Regular
  • ***
  • 237
    Posts
  • Country: us
  • Reputation: 14
  • Jesus Freak

  • Linux Lite: 2.8 64bit

  • CPU: AMD Phenom II (old skool!)

  • MEMORY: 4Gb

  • VIDEO CARD: GeForce 450
Hello!

Bluetooth has several different versions. I believe the latest is 4.0. AFAIK, for Linux, blueman is the only game in town.

I, too, have problems with some of my headsets connecting properly. I have a Bluetooth Android tablet that has VERY choppy audio on my 5-year old Motorola headset, but is fine with the newer 'chapie' headsets. Likewise, on my PC with an older, generic adapter, my old headset connects fine, but the newer ones will not. Go figure...

73 DE N4RPS
Rob


Both of my headsets are v4.0.  Must just be the crappy knock off.  I have to reset the connection every time I boot up the computer but at least the "good" headset always seems to work.
 

Re: Enabling full Bluetooth support in Linux Lite
« Reply #14 on: December 25, 2014, 06:52:51 AM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1481
    Posts
  • Country: gb
  • Reputation: 404
  • Linux Lite "Advocate"

  • Linux Lite: 2.8 64bit

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
Hi Rob,

Bit old I know... re: Broadcom Drivers
I have been looking at various Bluetooth devices.
I came across this, Broadcom Linux Driver:

http://plugable.com/2014/06/23/plugable-usb-bluetooth-adapter-solving-hfphsp-profile-issues-on-linux

Maybe of use.?

Dave
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 


Tags:
 


Linux Lite 4.0 Final has been released. See the Release Announcements Section.