Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Panasonic TH-L50DT60 which supports A2DP audio streaming over Bluetooth. I have a netbook running Ubuntu. I edited my /etc/bluetooth/audio.conf by uncommenting these:


I tested whether my laptop receives audio by connecting a Nexus phone. I played a song on the phone and there was audio output from laptop speakers.

After this, I did a Bluetooth scan on the TV to see if it detects my laptop as an audio sink. But it failed to show any devises. But my laptop Bluetooth stack sees the TV as a A2DP audio source. As TV is the audio source and it should detect my laptop as an audio sink and it is not happening. I have many Bluetooth devises and TV detects none. So, how can I get my TV to detect my laptop as an A2DP audio sink?

share|improve this question
up vote 1 down vote accepted

Try changing your COD (class of device) in main.conf.

During the Bluetooth discovery process, certain devices may "see" your device but will not ennumerate it in their list of available devices because it is not advertising the major or minor class that the remote device is looking for. In this case you would probably want to change your laptop cod to something that traditionally has an audio sink role, such as a speaker or headset so your TV will ennummerate it in its list. See the Bluetooth SIG assigned numbers for reference.

share|improve this answer
Yes, I did. It didn't work too. – nixnotwin Mar 26 '14 at 4:24
@nixnotwin, try changing your cod. I have had issues connecting to devices that were resolved by changing my cod. – twinPrimesAreEz Mar 27 '14 at 18:15
I got it working by changing the cod. If you repost your comment as an answer to my question, I will accept it. – nixnotwin Mar 31 '14 at 9:46
Good to hear -- I updated the answer. – twinPrimesAreEz Apr 1 '14 at 14:11

The last 3 lines of /etc/bluetooth/audio.conf are commented, just uncomment those lines deleting the hash in front of them, leave like that:


This worked for me, now just connect to your headset and use a2dp. It should shows Bluetooth headset on audio configurations.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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