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 {
# type bluetooth
# device "48:C1:AC:F4:C2:98"
# profile "auto"
#}
# First try autodetection:
@hooks [
{
func load
files [
"/usr/share/alsa/bluetooth.conf"
]
errors false
}
]
My alsa restart command was slightly different than the wiki, but all was well. aplay -l still does not list any bluetooth connections.
Code:
bash-4.2$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: VT1802 Analog [VT1802 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: VT1802 Digital [VT1802 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: VT1802 HP [VT1802 HP]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
So, after setting my my asound.conf and pairing my headphones with the blueman-applet, I attempted to play a song using the syntax offered in the wiki:
Code:
mplayer -ao alsa:device=bluetooth *.mp3
Which returns this error:
Code:
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 54.21.101 (internal)
AUDIO: 44100 Hz, 2 ch, s16le, 966.8 kbit/68.51% (ratio: 120853->176400)
Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio)
==========================================================================
[AO_ALSA] alsa-lib: dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib64/alsa-lib/libasound_module_pcm_bluetooth.so
[AO_ALSA] Playback open error: No such device or address
Failed to initialize audio driver 'alsa:device=bluetooth'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video
This error is especially confusing because I do have the mentioned library installed.
Code:
locate libasound_module_pcm_bluetooth.so
/usr/lib64/alsa-lib/libasound_module_pcm_bluetooth.so
Why is this going wrong? Is there some configuration I am missing?