<div dir="ltr">Package: bluez<br>Version: 4.99-1<br>Severity: important<br><br>Dear Maintainer,<br>* What led up to the situation?<br>an upgrade of the package<br><br>I have been using my bluetooth speakers happily with Debian bluez version 4.96<br>

using the following configuration:<br><br>~$ cat .asoundrc<br>pcm.bluetooth {<br>    type bluetooth<br>        device 00:02:3C:26:BA:87 # change this MAC address using the command "hcitool scan"<br>         profile "auto"<br>

         }<br><br>pcm.!default {<br>     type hw<br>     card 0<br>     device 0<br>}<br><br><br>using bluetooth pairing I was able to use either vlc or mplayer to play music through the<br>bluetooth speakers.<br><br>However, upgrading that packages rendered the speakers unusable. I downgraded the package, <br>

and installed manually the files from bluez-4.99 to their correct paths, until I found that<br>the problematic file that causes the change of behaviour is /usr/sbin/bluetoothd. <br><br>* What was the outcome of this action?<br>

<br>with /usr/sbin/bluetoothd from 4.99 I am getting the following errors:<br>root@somehost:# /etc/init.d/bluetooth stop<br>root@somehost:# cp /usr/sbin/bluetoothd.ORG.4.99 /usr/sbin/bluetoothd<br>root@somehost:# /etc/init.d/bluetooth start<br>

<br>user@somehost:~/Music/$ mplayer -ao alsa:device=bluetooth Road.mp3 <br>Failed to read /etc/mplayer/mplayer.conf.local: No such file or directory<br>Warning unknown option include at line 171<br>MPlayer SVN-r34531 (C) 2000-2010 MPlayer Team<br>

Can't open joystick device /dev/input/js0: No such file or directory<br>Can't init input joystick<br>mplayer: could not connect to socket<br>mplayer: No such file or directory<br>Failed to open LIRC support. You will not be able to use your remote control.<br>

<br>Playing Road.mp3.<br>libavformat version 53.29.100 (internal)<br>Audio only file format detected.<br>Clip info:<br>Title: Road<br>Artist: nick drake<br>Album: nick drake<br>Year: 1971<br>Comment: 8B06AE0B                    <br>

      Track: 3<br>       Genre: Folk<br>       Load subtitles in ./<br>       ==========================================================================<br>       Requested audio codec family [mpg123] (afm=mpg123) not available.<br>

       Enable it at compilation.<br>       Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders<br>       libavcodec version 53.54.100 (internal)<br>       AUDIO: 44100 Hz, 2 ch, floatle, 192.0 kbit/6.80% (ratio: 24000->352800)<br>

       Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio)<br>       ==========================================================================<br>       bt_audio_service_open: connect() failed: Connection refused (111)<br>

       [AO_ALSA] Playback open error: Connection refused<br>       Failed to initialize audio driver 'alsa:device=bluetooth'<br>       Could not open/initialize audio device -> no sound.<br>       Audio: no sound<br>

       Video: no video<br><br><br>       Exiting... (End of file)<br><br>the same error comes with vlc:<br>$ vlc Road.mp3 <br>VLC media player 1.1.13 The Luggage (revision exported)<br>Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")<br>

Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")<br>[0x8e5c914] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.<br>Blocked: call to setlocale(6, "")<br>

Blocked: call to setlocale(6, "")<br><br>(process:15496): Gtk-WARNING **: Locale not supported by C library.<br>    Using the fallback 'C' locale.<br>    bt_audio_service_open: connect() failed: Connection refused (111)<br>

<br><br>* What exactly did you do (or not do) that was effective (or  ineffective)?<br>if I copy cp /usr/sbin/bluetoothd.ORG.4.96 back to /usr/sbin/bluetoothd<br>I have no problem using the bluetooth speakers.<br><br>I would like to continue using the above configuration (or similar) <br>

to enjoy using my bluetooth speakers.<br>I don't want to use pulse-audio, however, at the moment I can only use<br>my speakers with pulse audio installed or with downgrading the bluez <br>binary to the one from the package version 4.96.<br>

<br><br><br>Thanks, <br>Oz<br><br><br><br><br>-- System Information:<br>Debian Release: wheezy/sid<br>  APT prefers testing<br>  APT policy: (500, 'testing')<br>Architecture: i386 (i686)<br><br>Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)<br>

Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)<br>Shell: /bin/sh linked to /bin/dash<br><br>Versions of packages bluez depends on:<br>ii  dbus               1.4.18-1<br>ii  libc6              2.13-27<br>ii  libcap-ng0         0.6.6-1<br>

ii  libdbus-1-3        1.4.18-1<br>ii  libglib2.0-0       2.30.2-6<br>ii  libreadline6       6.2-8<br>ii  libudev0           175-3.1<br>ii  libusb-0.1-4       2:0.1.12-20<br>ii  lsb-base           3.2-28.1<br>ii  module-init-tools  3.16-1<br>

ii  python-dbus        0.84.0-3<br>ii  python-gobject     3.1.0-2<br>ii  udev               175-3.1<br><br>bluez recommends no packages.<br><br>bluez suggests no packages.<br><br>-- Configuration Files:<br>/etc/bluetooth/audio.conf changed:<br>

[General]<br>[Headset]<br>HFP=true<br>MaxConnected=1<br>FastConnectable=false<br>Enable=Socket<br><br><br>-- no debconf information<br></div>