Package: bluez Version: 4.99-1 Severity: important Dear Maintainer, * What led up to the situation? an upgrade of the package
I have been using my bluetooth speakers happily with Debian bluez version 4.96 using the following configuration: ~$ cat .asoundrc pcm.bluetooth { type bluetooth device 00:02:3C:26:BA:87 # change this MAC address using the command "hcitool scan" profile "auto" } pcm.!default { type hw card 0 device 0 } using bluetooth pairing I was able to use either vlc or mplayer to play music through the bluetooth speakers. However, upgrading that packages rendered the speakers unusable. I downgraded the package, and installed manually the files from bluez-4.99 to their correct paths, until I found that the problematic file that causes the change of behaviour is /usr/sbin/bluetoothd. * What was the outcome of this action? with /usr/sbin/bluetoothd from 4.99 I am getting the following errors: root@somehost:# /etc/init.d/bluetooth stop root@somehost:# cp /usr/sbin/bluetoothd.ORG.4.99 /usr/sbin/bluetoothd root@somehost:# /etc/init.d/bluetooth start user@somehost:~/Music/$ mplayer -ao alsa:device=bluetooth Road.mp3 Failed to read /etc/mplayer/mplayer.conf.local: No such file or directory Warning unknown option include at line 171 MPlayer SVN-r34531 (C) 2000-2010 MPlayer Team Can't open joystick device /dev/input/js0: No such file or directory Can't init input joystick mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing Road.mp3. libavformat version 53.29.100 (internal) Audio only file format detected. Clip info: Title: Road Artist: nick drake Album: nick drake Year: 1971 Comment: 8B06AE0B Track: 3 Genre: Folk Load subtitles in ./ ========================================================================== Requested audio codec family [mpg123] (afm=mpg123) not available. Enable it at compilation. Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders libavcodec version 53.54.100 (internal) AUDIO: 44100 Hz, 2 ch, floatle, 192.0 kbit/6.80% (ratio: 24000->352800) Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio) ========================================================================== bt_audio_service_open: connect() failed: Connection refused (111) [AO_ALSA] Playback open error: Connection refused 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) the same error comes with vlc: $ vlc Road.mp3 VLC media player 1.1.13 The Luggage (revision exported) Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") [0x8e5c914] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. Blocked: call to setlocale(6, "") Blocked: call to setlocale(6, "") (process:15496): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. bt_audio_service_open: connect() failed: Connection refused (111) * What exactly did you do (or not do) that was effective (or ineffective)? if I copy cp /usr/sbin/bluetoothd.ORG.4.96 back to /usr/sbin/bluetoothd I have no problem using the bluetooth speakers. I would like to continue using the above configuration (or similar) to enjoy using my bluetooth speakers. I don't want to use pulse-audio, however, at the moment I can only use my speakers with pulse audio installed or with downgrading the bluez binary to the one from the package version 4.96. Thanks, Oz -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages bluez depends on: ii dbus 1.4.18-1 ii libc6 2.13-27 ii libcap-ng0 0.6.6-1 ii libdbus-1-3 1.4.18-1 ii libglib2.0-0 2.30.2-6 ii libreadline6 6.2-8 ii libudev0 175-3.1 ii libusb-0.1-4 2:0.1.12-20 ii lsb-base 3.2-28.1 ii module-init-tools 3.16-1 ii python-dbus 0.84.0-3 ii python-gobject 3.1.0-2 ii udev 175-3.1 bluez recommends no packages. bluez suggests no packages. -- Configuration Files: /etc/bluetooth/audio.conf changed: [General] [Headset] HFP=true MaxConnected=1 FastConnectable=false Enable=Socket -- no debconf information