[Pkg-bluetooth-maintainers] Bug#532098: bluez-alsa is silent, but mplayer complains loudly
Mark Kamichoff
prox at prolixium.com
Wed Aug 5 13:34:14 UTC 2009
Hi -
I see the same thing, but only when I add ``profile "hifi"'' to my
.asoundrc. If I omit the profile line, it works fine, but sounds
terrible (like it's using the handsfree profile..by default?):
neodymium% cat ~/.asoundrc
pcm.bluetooth {
type bluetooth
# Altec Lansing
device "00:1C:EF:4B:33:C4"
profile "hifi"
}
neodymium% mplayer -nojoystick -nolirc -ao alsa:device=bluetooth 15\ Monsun.mp3
MPlayer dev-SVN-r29417
Playing 15 Monsun.mp3.
Audio only file format detected.
Clip info:
Title: Monsun
Artist: 3rd Moon
Album: A State of Trance 2009 (Mixed
Year: 2009
Comment:
Track: 15
Genre: Trance
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[AO_ALSA] alsa-lib: pcm_bluetooth.c:1607:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
[AO_ALSA] Playback open error: Input/output error
Failed to initialize audio driver 'alsa:device=bluetooth'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video
Exiting... (End of file)
neodymium%
But, I do see a message in my /var/log/daemon.log, right when I run
MPlayer:
Aug 5 09:21:29 neodymium bluetoothd[27847]: Unable to find a matching device
I'm not sure exactly what that's referring to. According to hcidump, bluez
doesn't try to connect to my device at all. Here's the bluez package versions
I have installed:
ii bluez 4.42-2 Bluetooth tools and daemons
ii bluez-alsa 4.42-2 Bluetooth ALSA support
ii bluez-audio 4.42-2 Transitional package
ii bluez-gstreamer 4.42-2 Bluetooth GStreamer support
ii bluez-hcidump 1.42-1 Analyses Bluetooth HCI packets
ii bluez-utils 4.42-2 Transitional package
ii alsa-base 1.0.20+dfsg-1 ALSA driver configuration files
ii alsa-oss 1.0.17-1 ALSA wrapper for OSS applications
ii alsa-source 1.0.20+dfsg-1 ALSA driver sources
ii alsa-utils 1.0.20-2 ALSA utilities
Let me know if I should try/send anything else. This same setup worked
fine with the 3.3x versions of bluez-audio, etc.
Thanks!
- Mark
--
Mark Kamichoff
prox at prolixium.com
http://www.prolixium.com/
More information about the Pkg-bluetooth-maintainers
mailing list