Last visit was: It is currently 22/11/2014, 3:58


All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: bluetooth audio (mostly solved)
PostPosted: 05/09/2009, 0:03 
Newbie
Newbie

Joined: 28/08/2009, 15:10
Posts: 7
How do I play music through bluetooth?

If I understand the icons under bluetooth preferences correctly, I have the device paired. I have also modified my .asoundrc as follows:

Code:
cout@sapphire:~$ cat .asoundrc
pcm.bluetooth {
  type bluetooth
  device <address of device as given by "hcitool dev">
}


but when I try to play a wav file I see:

Code:
cout@sapphire:~$ aplay /usr/share/sounds/alsa/Noise.wav -D bluetooth
ALSA lib pcm_bluetooth.c:1569:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
aplay: main:590: audio open error: Input/output error


Has anyone else been able to get this to work? Do I need a newer alsa?


Last edited by cout on 08/09/2009, 13:25, edited 1 time in total.

Top
 Profile  
 
 Post subject: RE: bluetooth audio
PostPosted: 08/09/2009, 13:24 
Newbie
Newbie

Joined: 28/08/2009, 15:10
Posts: 7
I think I figured this out, mostly.

Using instructions here:

http://ubuntuforums.org/showpost.php?p= ... stcount=11

I installed latest blueman, pulseaudio, and pulseaudio-plugin-bluetooth. Blueman replaced the gnome bluetooth applet and left it as a black box icon, so I logged out and logged back in. I repaired my device, and now blueman automatically creates the appropriate sink in pulseaudio.

Only problem is that when I connect to the A2DP service, I get an HSP sink instead of A2DP. So I installed pavucontrol which lets me change to an A2DP profile under the Configuration tab.

I don't know how to change the default sink via the gui yet, so if I want all audio to go through my headphones, I still have to type:

Code:
pacmd set-default-sink 2


(2 just happens to be the id for the A2DP sink on my machine; you can see them all with the list-sinks command)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net & kodeki