Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #205964 > unrolled thread
| Started by | Mark Fletcher <mark27q1@gmail.com> |
|---|---|
| First post | 2019-03-03 16:30 +0100 |
| Last post | 2019-04-01 17:10 +0200 |
| Articles | 7 — 3 participants |
Back to article view | Back to linux.debian.user
Bluetooth audio problem Mark Fletcher <mark27q1@gmail.com> - 2019-03-03 16:30 +0100
Re: Bluetooth audio problem deloptes <deloptes@gmail.com> - 2019-03-03 18:10 +0100
Re: Bluetooth audio problem Mark Fletcher <mark27q1@gmail.com> - 2019-03-22 15:30 +0100
Re: Bluetooth audio problem deloptes <deloptes@gmail.com> - 2019-03-22 20:50 +0100
Re: Bluetooth audio problem Mark Fletcher <mark27q1@gmail.com> - 2019-03-23 08:50 +0100
Re: Bluetooth audio problem Nicholas Geovanis <nickgeovanis@gmail.com> - 2019-03-23 14:30 +0100
Re: Bluetooth audio problem Mark Fletcher <mark27q1@gmail.com> - 2019-04-01 17:10 +0200
| From | Mark Fletcher <mark27q1@gmail.com> |
|---|---|
| Date | 2019-03-03 16:30 +0100 |
| Subject | Bluetooth audio problem |
| Message-ID | <xxBdT-5RZ-1@gated-at.bofh.it> |
Hello Since upgrading to Stretch shortly after it became stable, I have had to execute the following after a reboot before being able to connect to bluetooth devices using the Gnome bluetooth applet: $ sudo pactl load-module module-bluetooth-discover Without that command, needed once only after each reboot, the Gnome applet is unable to connect to any bluetooth audio devices, eg my headphones to be used as an audio sink, or my iPhone to be used as an audio source. Once that command has been issued once, everything works as it should, and continues to do so until the next reboot. I've been away for a couple of weeks and so hadn't installed updates to my stretch installation for something like 3 weeks, until Saturday this week when I installed updates. Unfortunately I didn't pay enough attention to exactly what was upgraded but I _believe_ I saw udev in the list of things getting upgraded. Now, when I run the above command it is erroring out with: xcb_connection_has_error() returned true Connection failure: Connection refused pa_context_connect() failed: Connection refused Googling for this has only turned up old information which does not seem to relate to the problem I am facing. In most cases the context is audio not working; in my case audio output through speakers plugged into the sound card is working fine, USB mic connected by a wire is working fine, the only problem is anything bluetooth. Bluetooth on this machine is provided by a USB bluetooth dongle which I have been using for ages. Can anyone suggest steps to diagnose? TIA Mark
[toc] | [next] | [standalone]
| From | deloptes <deloptes@gmail.com> |
|---|---|
| Date | 2019-03-03 18:10 +0100 |
| Message-ID | <xxCMF-6TY-1@gated-at.bofh.it> |
| In reply to | #205964 |
Mark Fletcher wrote: > Hello > > Since upgrading to Stretch shortly after it became stable, I have had to > execute the following after a reboot before being able to connect to > bluetooth devices using the Gnome bluetooth applet: > > $ sudo pactl load-module module-bluetooth-discover > > Without that command, needed once only after each reboot, the Gnome > applet is unable to connect to any bluetooth audio devices, eg my > headphones to be used as an audio sink, or my iPhone to be used as an > audio source. Once that command has been issued once, everything works > as it should, and continues to do so until the next reboot. > > I've been away for a couple of weeks and so hadn't installed updates to > my stretch installation for something like 3 weeks, until Saturday this > week when I installed updates. Unfortunately I didn't pay enough > attention to exactly what was upgraded but I _believe_ I saw udev in the > list of things getting upgraded. > > Now, when I run the above command it is erroring out with: > > xcb_connection_has_error() returned true > Connection failure: Connection refused > pa_context_connect() failed: Connection refused > > Googling for this has only turned up old information which does not seem > to relate to the problem I am facing. In most cases the context is audio > not working; in my case audio output through speakers plugged into the > sound card is working fine, USB mic connected by a wire is working > fine, the only problem is anything bluetooth. > > Bluetooth on this machine is provided by a USB bluetooth dongle which I > have been using for ages. > > Can anyone suggest steps to diagnose? > When I want to debug pulse I do echo "autospawn = no" > ~/.pulse/client.conf kill PA and run it from command line with -v option you can also use --log-level (man pulseaudio) perhaps you can see what is the problem there. If not it might be dbus issue with permissions - check the dbus settings Also some times it helps to remove the ~/.pulse directory and restart pulseaudio. regards
[toc] | [prev] | [next] | [standalone]
| From | Mark Fletcher <mark27q1@gmail.com> |
|---|---|
| Date | 2019-03-22 15:30 +0100 |
| Message-ID | <xEtlf-8ri-1@gated-at.bofh.it> |
| In reply to | #205967 |
On Sun, Mar 03, 2019 at 06:04:05PM +0100, deloptes wrote: > Mark Fletcher wrote: > > > Hello > > > > Since upgrading to Stretch shortly after it became stable, I have had to > > execute the following after a reboot before being able to connect to > > bluetooth devices using the Gnome bluetooth applet: > > > > $ sudo pactl load-module module-bluetooth-discover > > <self-snip (ouch!)> > > Now, when I run the above command it is erroring out with: > > > > xcb_connection_has_error() returned true > > Connection failure: Connection refused > > pa_context_connect() failed: Connection refused > > > > > When I want to debug pulse I do > > echo "autospawn = no" > ~/.pulse/client.conf > > kill PA and run it from command line with -v option you can also > use --log-level (man pulseaudio) > > perhaps you can see what is the problem there. If not it might be dbus issue > with permissions - check the dbus settings > > Also some times it helps to remove the ~/.pulse directory and restart > pulseaudio. > So this turned out to be a weirdie -- if I dropped the "sudo" my original command worked. So now, suddenly from that update that started this thread, if I run the pactl command as an unprivileged user, it works fine. I have no idea why it changed but I'm just happy I have it working again. Mark
[toc] | [prev] | [next] | [standalone]
| From | deloptes <deloptes@gmail.com> |
|---|---|
| Date | 2019-03-22 20:50 +0100 |
| Message-ID | <xEykV-2VM-1@gated-at.bofh.it> |
| In reply to | #206452 |
Mark Fletcher wrote: > So this turned out to be a weirdie -- if I dropped the "sudo" my > original command worked. > > So now, suddenly from that update that started this thread, if I run the > pactl command as an unprivileged user, it works fine. I have no idea why > it changed but I'm just happy I have it working again. you can mark also as solved, if solved
[toc] | [prev] | [next] | [standalone]
| From | Mark Fletcher <mark27q1@gmail.com> |
|---|---|
| Date | 2019-03-23 08:50 +0100 |
| Message-ID | <xEJzH-1v8-1@gated-at.bofh.it> |
| In reply to | #206476 |
On Fri, Mar 22, 2019 at 08:44:46PM +0100, deloptes wrote: > Mark Fletcher wrote: > > > So this turned out to be a weirdie -- if I dropped the "sudo" my > > original command worked. > > > > So now, suddenly from that update that started this thread, if I run the > > pactl command as an unprivileged user, it works fine. I have no idea why > > it changed but I'm just happy I have it working again. > > you can mark also as solved, if solved > True, I could have. But I don't think it will kill interested people who follow after to read a 3-mail thread to see the resolution.
[toc] | [prev] | [next] | [standalone]
| From | Nicholas Geovanis <nickgeovanis@gmail.com> |
|---|---|
| Date | 2019-03-23 14:30 +0100 |
| Message-ID | <xEOSJ-4PF-1@gated-at.bofh.it> |
| In reply to | #206452 |
[Multipart message — attachments visible in raw view] — view raw
On Fri, Mar 22, 2019 at 9:29 AM Mark Fletcher <mark27q1@gmail.com> wrote: > > So this turned out to be a weirdie -- if I dropped the "sudo" my > original command worked. > So now, suddenly from that update that started this thread, if I run the > pactl command as an unprivileged user, it works fine. Is it possible that you had previously started pulseaudio as root, and could no longer communicate with it as an unprivileged user? I ask this having been a pulseaudio victim myself sometimes. > Mark > >
[toc] | [prev] | [next] | [standalone]
| From | Mark Fletcher <mark27q1@gmail.com> |
|---|---|
| Date | 2019-04-01 17:10 +0200 |
| Message-ID | <xI6Js-3A8-3@gated-at.bofh.it> |
| In reply to | #206518 |
On Sat, Mar 23, 2019 at 08:24:30AM -0500, Nicholas Geovanis wrote: > On Fri, Mar 22, 2019 at 9:29 AM Mark Fletcher <mark27q1@gmail.com> wrote: > > > > > So this turned out to be a weirdie -- if I dropped the "sudo" my > > original command worked. > > So now, suddenly from that update that started this thread, if I run the > > pactl command as an unprivileged user, it works fine. > > > Is it possible that you had previously started pulseaudio as root, and > could no longer communicate with it as an unprivileged user? > I ask this having been a pulseaudio victim myself sometimes. > > Hmm, interesting idea, but the situation I was previously in pertained over a period since Stretch became Stable until shortly before my original mail in this thread (sometime in February if I recall correctly). Over, naturally, multiple reboots. For that period, I had to use sudo when issuing the pactl command (in Jessie and previously, the pactl command wasn't necessary at all). So I guess I could have had some sort of configuration which repeatedly put me in that situation on every reboot, and the update that "created the problem" actually fixed whatever *that* problem was... otherwise, no I don't think so. Thanks for the suggestion though Mark
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web