Debian Wheezy It looks like module-bluetooth can't contact the dbus bluetooth service. Edited /etc/bluetooth/audio.conf, enabling Source,Sink,Control Tried re-installing, bluetooth (4.99-2), bluez (4.99-2) and pulseaudio (4.0-6~bpo7+1) Other packages: bluez-alsa (4.99-2), bluez-audio (4.99-2), pulseaudio-module-bluetooth Tried solutions from this bug without success (end of page): https://bugs.freedesktop.org/show_bug.cgi?id=57239 This is the complete pulseaudio output -------------------------------------- E: [pulseaudio] bluetooth-util.c: org.bluez.HandsfreeGateway.GetProperties() failed: org.freedesktop.DBus.Error.UnknownMethod: Method "GetProperties" with signature "" on interface "org.bluez.HandsfreeGateway" doesn't exist E: [pulseaudio] bluetooth-util.c: org.bluez.HandsfreeGateway.GetProperties() failed: org.freedesktop.DBus.Error.UnknownMethod: Method "GetProperties" with signature "" on interface "org.bluez.HandsfreeGateway" doesn't exist E: [pulseaudio] bluetooth-util.c: org.bluez.HandsfreeGateway.GetProperties() failed: org.freedesktop.DBus.Error.UnknownMethod: Method "GetProperties" with signature "" on interface "org.bluez.HandsfreeGateway" doesn't exist E: [pulseaudio] bluetooth-util.c: org.bluez.HandsfreeGateway.GetProperties() failed: org.freedesktop.DBus.Error.UnknownMethod: Method "GetProperties" with signature "" on interface "org.bluez.HandsfreeGateway" doesn't exist -------------------------------------- It is a very tough problem to me, many thanks for every kind of help. Cheers
What are you trying to achieve? If you're just trying to use a headset, I don't think org.bluez.HandsfreeGateway.GetProperties() is relevant (although I don't think those errors are expected behaviour either).
Hi Tanu, I've an old pc with a SoundBlaster Live 5.1 running Debian Wheezy CLI only. I want to stream audio from my laptop through bluetooth. (pulseaudio over WiFi isn't reliable because of poor signal and lagging) This bug seems to come in my way and block the connection between the two PCs. The PCs are paired and see each others but stream can't be built. I mostly worked without a guide, I had a quick look to the following Raspberry Pi tutorial for some reference http://rootprompt.apatsch.net/2013/04/23/raspberry-pi-network-audio-player-pulseaudio-dlna-and-bluetooth-a2dp-part-3-bluetooth/ Thanks
Running into the same problem on the Raspberry Pi: Versions installed: pulseaudio: Installed: 2.0-6.1 -- pulseaudio-module-bluetooth: Installed: 2.0-6.1 -- bluez: Installed: 4.99-2 Raspbian with Kernel 3.10.28+ Device connects, I am able to route the audio where ever I wish and within a few seconds syslog shows: ------------------------------------------------------------------------ pulseaudio[6210]: [pulseaudio] bluetooth-util.c: org.bluez.HandsfreeGateway.GetProperties() failed: org.freedesktop.DBus.Error.UnknownMethod: Method "GetProperties" with signature "" on interface "org.bluez.HandsfreeGateway" doesn't exist pulseaudio[6210]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 pulseaudio[6210]: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 ------------------------------------------------------------------------ I'm able to route audio around after this message appears in the log, but the audio quickly fails (after 5 seconds or so) as bluetoothd unregisters my A2DP Sink and Source Endpoints: ------------------------------------------------------------------------ bluetoothd[3189]: Endpoint unregistered: sender=:1.43 path=/MediaEndpoint/HFPAG bluetoothd[3189]: Endpoint unregistered: sender=:1.43 path=/MediaEndpoint/HFPHS bluetoothd[3189]: Endpoint unregistered: sender=:1.43 path=/MediaEndpoint/A2DPSource bluetoothd[3189]: Endpoint unregistered: sender=:1.43 path=/MediaEndpoint/A2DPSink ------------------------------------------------------------------------
I managed to connect my Android Phone to Debian PC with speakers, not my Ubuntu PC thou. Ubuntu: I get the message "Stream setup failed", can't find any other log with further information. Android Phone: Connection achieved but nothing plays on the Debian Speakers. What I noticed is that module-bluetooth-device doesn't recognize any bluez source. Dmesg traces the the Phone Bluetooth MAC as a virtual input. Still pactl list sources and pactl list modules doesn't show anything regarding bluetooth. Running the Debian system on CLI/headless I had some problems with DBus requesting X11 to work correctly. I solved them for pulse exporting DBus values on startup. Still I'm quite convinced the problem regards DBus, somehow bluez and pulse can't communicate over DBus.
Please attach a verbose pulseaudio log as instructed here: https://wiki.ubuntu.com/PulseAudio/Log
Created attachment 93656 [details] pulseaudio-bluez bug - log connection and stream source with android Hi Tanu, the log as requested thank you
Created attachment 93658 [details] pulseaudio-bluez bug - log connection and stream source with ubuntu the log for ubuntu thanx
Sorry for the long delay... The org.bluez.Audio.State property never changes to "connected", which causes module-bluetooth-discover to not load module-bluetooth-device. I think you need to manually connect the bluetooth device on the Debian PC. Unfortunately, I don't know how to do that from the command line, so you'll need to do some research...
I managed to connect the bluetooth audio stream (uff, I hope I'll get through this and eventually write a tutorial), but pulse still doesn't see any audio source; following some logs that may be useful. pactl list modules short still gives unused bluetooth-discover thank you so much for your kind support ----------------------------------------------- D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.AudioSource, path=/org/bluez/2580/hci0/dev_88_53_2E_5C_F0_8E, member=PropertyChanged D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/2580/hci0/dev_88_53_2E_5C_F0_8E, member=PropertyChanged D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.Audio, path=/org/bluez/2580/hci0/dev_88_53_2E_5C_F0_8E, member=PropertyChanged D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.Device, path=/org/bluez/2580/hci0/dev_88_53_2E_5C_F0_8E, member=PropertyChanged D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.Device, path=/org/bluez/2580/hci0/dev_88_53_2E_5C_F0_8E, member=PropertyChanged D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.AudioSource, path=/org/bluez/2580/hci0/dev_88_53_2E_5C_F0_8E, member=PropertyChanged D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/2580/hci0/dev_88_53_2E_5C_F0_8E, member=PropertyChanged D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.Audio, path=/org/bluez/2580/hci0/dev_88_53_2E_5C_F0_8E, member=PropertyChanged D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.AudioSource, path=/org/bluez/2580/hci0/dev_88_53_2E_5C_F0_8E, member=PropertyChanged ----------------------------------------------- only once I experienced the following error, but I think it's dued to a bad closing connection ----------------------------------------------- bluetooth-util.c: org.bluez.Manager.GetProperties() failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.13" (uid=109 pid=3503 comm="pulseaudio -vvvv ") interface="org.bluez.Manager" member="GetProperties" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=2580 comm="/usr/sbin/bluetoothd ") ------------------------------------------------
(In reply to comment #9) > I managed to connect the bluetooth audio stream (uff, I hope I'll get > through this and eventually write a tutorial), but pulse still doesn't see > any audio source; following some logs that may be useful. > > pactl list modules short still gives unused bluetooth-discover The logs that you pasted weren't particularly useful. The full log would be better.
Created attachment 95683 [details] log for bluez on debian
sorry, I was in a hurry yesterday, here is the complete log. I started pulse and connected another pc through bluetooth using debian as audio sink. Thanx
Going through pulse's log I found this, may it be the problem? Thanx ------------------------------- bluetooth-util.c: org.bluez.Manager.GetProperties() failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.27" (uid=109 pid=6467 comm="pulseaudio -vvvv ") interface="org.bluez.Manager" member="GetProperties" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=2470 comm="/usr/sbin/bluetoothd ") ------------------------------- (In reply to comment #10) > (In reply to comment #9) > > I managed to connect the bluetooth audio stream (uff, I hope I'll get > > through this and eventually write a tutorial), but pulse still doesn't see > > any audio source; following some logs that may be useful. > > > > pactl list modules short still gives unused bluetooth-discover > > The logs that you pasted weren't particularly useful. The full log would be > better.
Yes, the failure in calling org.bluez.Manager.GetProperties() prevents any Bluetooth code from working in PulseAudio. This is a configuration issue on your machine, or you're running PulseAudio in some odd way. On my machine (Fedora 19) the access to BlueZ is granted by this snippet in /etc/dbus-1/system.d/bluetooth.conf: <policy at_console="true"> <allow send_destination="org.bluez"/> </policy> If you have the same on your machine, then the issue appears to be that you're running pulseaudio in some way that fails the "at_console" condition (before you ask, I don't know how the "at_console" rule actually works).
Created attachment 95844 [details] pulseaudio log - module-bluetooth issue Thank you for your quick answer, yes I figured it out, modified the dbus configuration and solved that one. Still nothing for module-bluetooth on pactl list modules short The log attached, at least we got to state connected, it's something :) Thanx
(In reply to comment #15) > Created attachment 95844 [details] > pulseaudio log - module-bluetooth issue > > Thank you for your quick answer, yes I figured it out, modified the dbus > configuration and solved that one. > > Still nothing for module-bluetooth on pactl list modules short > > The log attached, at least we got to state connected, it's something :) org.bluez.Audio didn't actually reach state "connected", only "connecting". I don't know why the connection process stopped there. I don't know enough about BlueZ to tell how to debug this issue. It doesn't seem related to PulseAudio in any way.
By the way, if you're wondering about that crash in module-combine-sink when you shut down the daemon, that's fixed in 5.0.
(In reply to comment #16) > (In reply to comment #15) > > Created attachment 95844 [details] > > pulseaudio log - module-bluetooth issue > > > > Thank you for your quick answer, yes I figured it out, modified the dbus > > configuration and solved that one. > > > > Still nothing for module-bluetooth on pactl list modules short > > > > The log attached, at least we got to state connected, it's something :) > > org.bluez.Audio didn't actually reach state "connected", only "connecting". > I don't know why the connection process stopped there. I don't know enough > about BlueZ to tell how to debug this issue. It doesn't seem related to > PulseAudio in any way. you mean it is missing the state connected for Sink? Because I can read it for Source (the last line) ----------------------------------- ( 20.582| 10.158) D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.Device, path=/org/bluez/2473/hci0/dev_88_53_2E_5C_F0_8E, member=PropertyChanged ( 20.763| 0.180) D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.AudioSource, path=/org/bluez/2473/hci0/dev_88_53_2E_5C_F0_8E, member=PropertyChanged ( 20.763| 0.000) D: [pulseaudio] bluetooth-util.c: Device /org/bluez/2473/hci0/dev_88_53_2E_5C_F0_8E interface org.bluez.AudioSource property 'State' changed to value 'connecting' ( 20.765| 0.002) D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/2473/hci0/dev_88_53_2E_5C_F0_8E, member=PropertyChanged ( 20.766| 0.000) D: [pulseaudio] bluetooth-util.c: Device /org/bluez/2473/hci0/dev_88_53_2E_5C_F0_8E interface org.bluez.AudioSink property 'State' changed to value 'connecting' ( 20.767| 0.000) D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.Audio, path=/org/bluez/2473/hci0/dev_88_53_2E_5C_F0_8E, member=PropertyChanged ( 20.767| 0.000) D: [pulseaudio] bluetooth-util.c: Device /org/bluez/2473/hci0/dev_88_53_2E_5C_F0_8E interface org.bluez.Audio property 'State' changed to value 'connecting' ( 20.900| 0.133) D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.AudioSource, path=/org/bluez/2473/hci0/dev_88_53_2E_5C_F0_8E, member=PropertyChanged ( 20.901| 0.000) D: [pulseaudio] bluetooth-util.c: Device /org/bluez/2473/hci0/dev_88_53_2E_5C_F0_8E interface org.bluez.AudioSource property 'State' changed to value 'connected' ----------------------------------- Should I try to force the 5.0 version of pulse? The 4th i'm using now is already forced from wheezy-backports Thanx
No, I mean org.bluez.Audio. PulseAudio won't do anything before org.bluez.Audio becomes "connected".
(In reply to comment #18) > Should I try to force the 5.0 version of pulse? I don't expect that to help. You're of course free to try if you want.
Created attachment 98064 [details] pulseaudio log - A2DP sink log
(In reply to comment #20) > (In reply to comment #18) > > Should I try to force the 5.0 version of pulse? > > I don't expect that to help. You're of course free to try if you want. Hi again, hope everything fine :) I got rid of every bluetooth problem, the receiver PC correctly receive sound from my Android phone. It now connects with my Ubuntu laptop and it is shown as A2DP sink in the Audio settings. Still when I try to stream audio to it from the laptop nothing happens and the used player stops to play (when I select the local speakers it starts again). I'm attaching the usual log, taken while I performed different attempts to stream some audio. As always, thank you very much for your patience and help Cheers
Created attachment 98065 [details] pulseaudio log - A2DP sink log
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/549.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.