Bluetooth headphones as an A2DP sink
Hello, all. I recently purchased a pair of bluetooth headphones and wish to set up my laptop (which runs slackware 14.0) to send audio to these headphones. I think this would make the headphones an A2DP sink.
Basically, I have been following generic instructions to complete this task. http://wiki.gentoo.org/wiki/Bluetooth_Headset My /etc/asound.conf Code:
#pcm.bluetooth { Code:
bash-4.2$ aplay -l Code:
mplayer -ao alsa:device=bluetooth *.mp3 Code:
========================================================================== Code:
locate libasound_module_pcm_bluetooth.so |
Does mplayer work as root? Check that every part of the /usr/lib64/alsa-lib/libasound_module_pcm_bluetooth.so path is readable by your non-root user.
|
Code:
bash-4.2$ ls -l /usr/lib64/alsa-lib/libasound_module_pcm_bluetooth.so |
Yes, now check for o+rx on /usr/lib64/alsa-lib/, /usr/lib64/, /usr/, and / (though since it looks like you did that ls as a non-root user it is probably fine)
What does file `which mplayer` return? What does file /usr/lib64/alsa-lib/libasound_module_pcm_bluetooth.so return? |
Okay, I'm not familiar with o, does this represent owned? Also I think you were asking for ls -l on those directories, so here is the output of that.
Code:
bash-4.2$ ls -l /usr/lib64/alsa-lib/ When you ask "what does file 'which mplayer' return?" I'm not sure if the syntax is '$file 'which mplayer' or if you mean to ask what does 'which mplayer' return. Because the former gives an error but the latter determines the position of the executable for mplayer. Code:
bash-4.2$ which mplayer |
o stands for other, see man chmod. Again just checking that regular users can read libasound_module_pcm_bluetooth.so and every part of the path down to it. Your previous post doesn't include the permissions on /usr nor / -- but they are probably permissive enough.
Code:
file `which mplayer` |
My previous post does include ls -l output for /usr and /.
As for the other command, thank you for clearing up the confusion. Code:
bash-4.2$ file `which mplayer` |
All times are GMT -5. The time now is 01:33 PM. |