Configure ubuntu 16.04 as Bluetooth A2DP Sink, i.e. Play Songs from mobile and listen on laptop/desktop speaker over Bluetooth

Create a file as below,

 $ vim /etc/bluetooth/audio.conf  
# This section contains options which are not specific to any
# particular interface
[General]
Enable=Source,Sink,Headset,Gateway,Control,Media
Disable=Socket

Install Blueman as,

 $ sudo apt-get install blueman 
 $ sudo apt-get install pulseaudio-module-bluetooth 

Start blueman manager as,

 $ blueman-manager 

You may see a window like below,

Start Bluetooth on your mobile and make it discoverable, now click “Search” icon in blueman-manager window, so you can see your mobile gets listed in blueman manager like below,

Click “Setup” and “Pair Devices” and Next, once the device is paired successfully, click “Connect”

Once the mobile is paired successfully to your laptop, just play songs on mobile and you should be able to listen those on your laptop.

Android Android Commands Android Java Applications Application Libraries Bash / Shell Scripts Bluetooth driver Build Frameworks Commands and Packages Core Kernel C Programs Development Environment Setup Documents / Books Errors & Failures File Systems Framebuffer / Display Driver git Go Language Programs Hardware Platforms Home Kernel & Device Drivers Kernel Booting and Porting Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL NDK / Middleware / HAL Network Driver OS Concepts PHP Procfs Filesystem Programming Languages RaspberryPi Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Socurce Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Userspace Utilities Web design and development Wordpress Yocto / Bitbake / Openembedded

Leave a Reply