Bluetooth headset/speakers listed but not selectable in Sound settings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
blueman (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
New
|
Undecided
|
Unassigned | ||
bluez (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
gnome-bluetooth (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
Xenial |
Invalid
|
Undecided
|
Unassigned | ||
pulseaudio (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Daniel van Vugt |
Bug Description
[Impact]
Bluetooth headset/speakers are listed but not selectable in Sound settings (the correct device's options don't appear in the right pane). Hence no Bluetooth audio is unusable.
[Test Case]
1. Pair a Bluetooth audio device with Ubuntu.
2. Go to Sound settings and try to select the device.
Expected: The Bluetooth audio device is selectable (its options appear in the right pane when clicked and the selection stays on that device).
[Regression Potential]
Low. The SRU focuses on Bluetooth logic in pulseaudio, so that is the main area affected. A combination of related A2DP bugs in pulseaudio in xenial means it is difficult to get working at all without this patch. So highly unlikely Bluetooth audio support could get worse. Since pulseaudio itself is being modified there is always a regression potential in support for other audio devices, but several audio devices have been tested and all continue to work well with the patch.
[Other notes]
Related to bug 1438510 and bug 1582213. Possibly others too. The debdiff which fixes this is attached to bug 1582213.
Please note that Bluetooth and Bluetooth audio support in xenial is still not perfect. This SRU only aims to address a few of the most troublesome issues. Please consider the fact that this is an incremental improvement and some people are still likely to experience some bugs related to pulseaudio and Bluetooth, even after this SRU.
The patch was authored by Luke Yelavich with help from Konrad Zapałowicz. And it has received further testing over the past two months by Konrad, Jim Hodapp and Daniel van Vugt. The debdiff proposed here only changes the changelog wording from Luke's original PPA.
[Original Description]
Hi,
I found a bug in Ubuntu 14.04 !
I tried to pair a bluetooth stereo headset (A2DP compatible). The pairing process goes well, but after that I can't select it on the audio preferences.
When I select it, it only shows the last selected item options and don't do anything. (he should switch to the headset output).
I must mention that it worked very well on Ubuntu 12.04.
This bug can be in the bluetooth stack or in unity-control-
Lee Davis (lee-gixxer) wrote : | #1 |
Launchpad Janitor (janitor) wrote : | #2 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in unity-control-center (Ubuntu): | |
status: | New → Confirmed |
no longer affects: | unity-control-center |
Changed in unity-control-center (Ubuntu): | |
importance: | Undecided → Medium |
importance: | Medium → High |
cacula (cacula) wrote : | #3 |
same here. while trying to pair a new device no device is found
dell latitude e6510. Ubuntu 14.04 - all updates installed
Akaname (akaname) wrote : | #4 |
Same problem for me. No devices found. Until and including Ubuntu 13.10 no problems with bluetooth audio.
Of course, hardware key for WiFi and Bluetooth is activated.
State "On" and "Off" in Unity Bluetooth menu and Bluetooth dialog seem to be not in sync. If I change one of them, the change is not reflected in the other. Perhaps switching to "On" does not work in both places?
HP 635, Ubuntu 14.04, all updates installed.
Nathan Haines (nhaines) wrote : | #5 |
My symptoms match the above, but most importantly, booting from a daily trusty image, Bluetooth works perfectly, while on the desktop it stopped working after the upgrade.
Chris (crm7290) wrote : | #6 |
I have the above issue also. Running 14.04. Bluetooth worked fine prior to the upgrade from 12.04.
I do note that during the update, I noticed that my bluetooth failed. I was putzing around on the web while the updater was running and my mouse eventually failed to move. I believe it was when it was adding packages.
I am also encountering the Bluetooth menu and dialog box not being synced together.
Has a workaround been found at this time?
JohnDoe_71Rus (johndoe99) wrote : | #7 |
Similar situation.
Lubuntu 14.04
The headset is paired, the profile is connected. Device for sound output does not appear.
Andrea Pivetta (vanpivix) wrote : | #8 |
Same here, with an Apple wireless keyboard. The keyboard wasn't working so I tried to remove and readd it but my computer can't find it. My nexus 4 finds the keyboard in a second.
Miguel-Angel QUEVEDO (miguelqvd) wrote : | #9 |
Hi, I have the same problem with two different bluetooth a2dp devices, maybe this could be useful:
E: [pulseaudio] bluetooth-util.c: org.bluez.
E: [pulseaudio] bluetooth-util.c: org.bluez.
E: [pulseaudio] bluetooth-util.c: org.bluez.
E: [pulseaudio] bluetooth-util.c: org.bluez.
E: [pulseaudio] bluetooth-util.c: Volume change does not have an associated transport
E: [pulseaudio] bluetooth-util.c: Volume change does not have an associated transpor
Ge-org Brohammer (george97477) wrote : | #11 |
Also affects me but if I use Veromix to force the output device it works until I open the sound settings again and it changes the output device back always.
jay (jayanth-murthy) wrote : | #12 |
Upgraded to 14.04. Apple bluetooth keyboard stops working after login. Strangely works only during login where I can enter the password after the keyboard auto connects. Bluetooth mouse works fine though. See a lock symbol on the Bluetooth tray icon.
Colum Gaynor (columgaynor) wrote : | #13 |
After upgrade from Ubuntu 12.04 LTS to Ubuntu 14.04 LTS (32 bit version) for my LG F1 Express Dual, I cannot get reliable A2DP working on my Bluetooth Headset - Model is Philips SHB4000. The old trick of using Blueman / Refresh Services and then re-connect no longer works. With sufficient tinkering around, mostly removing the device and then re-pairing with PIN 0000 option,
I can sometime get the device to work and even enter the High Fidelity A2DP mode, but the exact working sequence seems to be unpredictable. I also upgrades my Fujitsu Amilo PA3553 64bit from Ubuntu 12.04 LTS to 14.04 LTS, but the same device seems to work correctly there. I'd be happy to attach logs, if anyone can advise what should be captured. -Colum
Omri Stein (omri-stein) wrote : | #14 |
Had the same problem fixed it with:
"pactl list cards short" to get the device id
then I did "pactl set-card-profile x a2dp"
where X is your device id
found it by reading
http://
Akaname (akaname) wrote : | #15 |
During different states of updates in Ubuntu 14.04 I experienced all bugs from original bug description (pairing works, but no audio) and also from comment #1 and comment #4 (pairing does not work, no devices found).
This actually solved my problems:
sudo mv /etc/bluetooth /etc/bluetooth.
sudo apt-get install --reinstall bluez
After a reboot everything is working again. The /etc/bluetooth directory is empty now.
If this does not work for you, just move back the bluetoth.backup directory to it's original place.
Kiori (kiori) wrote : | #16 |
I've tried any and all solutions, nothing works. it was working flawlesly with 13.10. I'm thinking about ditching bluez and trying another app, anyone had success with blueman?
Kiori (kiori) wrote : | #17 |
I just tested it off a xubuntu 14.04 image, and it works as intended with blueman, its clearly a bluez issue. If i use blueman under ubuntu without removing bluez, things get confused, but at least it recognizes the device. My guess is that removing bluez will solve things altogether, the problem is that bluez is tied to everything-buntu so its really -not- a option. No solution so far.
JoeD (nichtsowichtig88) wrote : | #18 |
In my 14.04 bluez seems to be connecting ok. My headset connects with headset profile but I don't have audio devices to actually direct streams to the headset. This appears pulseaudio related. Listing the modules with "pactl list" I cannot find "bluetooth-device" and only my default audio sink. When I try to "pactl load-module module-
I had some success when I did "pactl load-module module-
At least as a headset it is working now.
Kiori (kiori) wrote : | #19 |
JoeD
My doesnt connect, doesnt discover, unless i use blueman, but you have to make sure pulseaudio-
In Blueman i can select what it connects, and avoid the duplicate issue you described and connects to A2DP(audio sink).
It sometimes bugs out, and it has crashed my sound system-wise, but generally it can work.
Colum Gaynor (columgaynor) wrote : | #20 |
@Omri Stein, @Akaname, @Kiori, @Joe D.
First some good news... There seems to be a simple workaround to restore the highquality A2DP interworking to your Bluetooth headset.
1) Use Blueman to pair to the headset. My experience was that it will pair and even connect as headset with the horrible audio
quality "Telephony Duplex (HSP/HFP)" audio profile.
2) The Ubuntu Sound Control panel wont however show the Bluetooth device yet!
3) Open a command terminal and issue the command: pulseaudio -k
4) After a short delay you should see the Headset appear in the listed audio devices of the Ubuntu Sound Control Panel
5) Select the device and connect some audio source (VLC Media or your favourite player)... The quality will still be poor...
6) Now use Blueman GUI, select the device and press mouse right click and then select the "Refresh Services".
It should show a succes message in the lower status bar.
7) Right click on the headset device in Blueman GUI and select Audio Sink. If it displays a success message your in luck.
8) Now right click the headset device in Blueman GUI and select Audio Profile menu and then select "High Fidelity Playback (A2DP)". It should suceed and switch into the correct mode.
==> You will always have to issue the "pulseaudio -k" command from terminal before using the headset, but it's a tolerable
work around.
Hope this works for you too. -Colum
Kiori (kiori) wrote : | #21 |
Colum,
After Blueman did its job, you have to activate the 'audio sink' component, personally i leave both on.
-But- after that you can just go to the sound options and switch to a2dp on the go, if blueman initiated audio sink, it will show up in the options, no need to use the audio profile route.
Ofcourse resetting pulse audio is a req. also.
Currently i have a2dp on the ears and the mic on, at the same time, because of this on the go switching in the sound options.
Its sad that Ubuntu doesnt use blueman or an implementation based on it, this could be one of those 'it just works' scenarios, without blueman it wont even pair my device...
Colum Gaynor (columgaynor) wrote : RE: [Bug 1283003] Re: [Bluetooth + 14.04] Bluetooth headsets are not working after last couple of updates | #22 |
CG: Many thanks for the tip. I had similar issues in Ubuntu 13.10
whereas 12.04 worked fine. I had hoped 14.04 would have solved it. I
also agree with you about Blueman. Without it I would have given up on
Bluetooth on Ubuntu long ago. Regards Colum :-D
Sent from my Windows Phone
From: Kiori
Sent: 23/04/2014 16:11
To: <email address hidden>
Subject: [Bug 1283003] Re: [Bluetooth + 14.04] Bluetooth headsets are
not working after last couple of updates
Colum,
After Blueman did its job, you have to activate the 'audio sink'
component, personally i leave both on.
-But- after that you can just go to the sound options and switch to
a2dp on the go, if blueman initiated audio sink, it will show up in
the options, no need to use the audio profile route.
Ofcourse resetting pulse audio is a req. also.
Currently i have a2dp on the ears and the mic on, at the same time,
because of this on the go switching in the sound options.
Its sad that Ubuntu doesnt use blueman or an implementation based on
it, this could be one of those 'it just works' scenarios, without
blueman it wont even pair my device...
--
You received this bug notification because you are subscribed to the bug
report.
https:/
Title:
[Bluetooth + 14.04] Bluetooth headsets are not working after last
couple of updates
Status in “gnome-bluetooth” package in Ubuntu:
New
Status in “unity-
Confirmed
Bug description:
Hi,
I found a bug in Ubuntu 14.04 !
I tried to pair a bluetooth stereo headset (A2DP compatible). The
pairing process goes well, but after that I can't select it on the
audio preferences.
When I select it, it only shows the last selected item options and
don't do anything. (he should switch to the headset output).
I must mention that it worked very well on Ubuntu 12.04.
This bug can be in the bluetooth stack or in unity-control-
maybe pulseaudio. I actually have no idea.
To manage notifications about this bug go to:
https:/
morlando (morland-chris) wrote : Re: [Bluetooth + 14.04] Bluetooth headsets are not working after last couple of updates | #23 |
using sony vaio on ubuntu 14.04 and no devices found on when pairing. I have tried multiple devices too. One was a bluetooth headset and the other my samsung galaxy phone.
I then tried to see if my phone would see it visible if I turned the visibility to on on ubuntu but its still the same.
thanks
MorNando
Launchpad Janitor (janitor) wrote : | #24 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in gnome-bluetooth (Ubuntu): | |
status: | New → Confirmed |
zig59 (zig-59) wrote : | #25 |
Unbuntu 14.04 desktop 64bit. Standard install.
Motorola S805 BT headphones found, paired and connected fine.
Connects/
Headphones listed on output and input tabs in Sound Settings.
But...
System doesn't automatically select the headphones as output/input in Sound Settings.
Manually selecting the headphones in Sound Settings makes no difference, the sound still comes out of the amplified speakers and there is no recognition of input through the headphone mic.
So close...
If any logs required please instruct. Thanks
RazTaz (qvovadis) wrote : | #26 |
I confirm the problems.
I run Ubuntu 14.04 and it fails to route the sound to my external bluetooth speaker (Logitech UE Boom), which used to work nice and easy under 12.04.
The speaker is recognized and I can pair it with the computer . The service (Audio Sink) is recognized by Blueman, but it fails to connect and hence the external speaker, does not apear in the list of sound output devices.
Finally, I tried to install pulseaudio-
Sebastian F (sf-lp) wrote : | #27 |
Is the following bug related?
https:/
Launchpad Janitor (janitor) wrote : | #28 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in blueman (Ubuntu): | |
status: | New → Confirmed |
RazTaz (qvovadis) wrote : | #29 |
My problem was resolved by applying the sollution listed here: https:/
"The real issue was that module-
Test by:
pactl list | grep -i module-
If empty load via
pactl load-module module-
Pulse audio will then (hopefully) recognize the device"
I would like to thank Sebastian F (sf-lp) for pointing me in the right direction, as it seems the bugs were related (at least in my case).
Karim Sonbol (karim-sonbol279) wrote : | #30 |
The solution in last comment by RazTaz (qvovadis) worked for me (using Philips SounShooter)! I just need to find how to make it run at every login.
Sebastien Bacher (seb128) wrote : | #31 |
David, could you have a look to the pulseaudio side in case that's an issue there (see recent comments)
affects: | unity-control-center (Ubuntu) → pulseaudio (Ubuntu) |
Changed in pulseaudio (Ubuntu): | |
assignee: | nobody → David Henningsson (diwic) |
David Henningsson (diwic) wrote : | #32 |
Ok, I first did a quick test here and my BT headset paired, showed up in sound settings, worked as usual, and profile was selectable. So at least the problem is not *that* generic.
Anyway, module-
So if you can verify that module-
grep "pulseaudio.
...to see if you find anything that looks suspicious?
Thanks!
Changed in pulseaudio (Ubuntu): | |
status: | Confirmed → Incomplete |
zig59 (zig-59) wrote : | #33 |
Like you David, my BT headset is paired and connecting when switched on. The profile is also showing up in Sound Settings.
In my case though, the profile is not being autoselected in Sound Settings and manually selecting it does nothing. Sound is still routed through the wired amplified speakers.
pactl list | grep -i module-
Name: module-
Prior to switching on the headset: grep "pulseaudio.
Post switching on the headset: grep "pulseaudio.
pulseaudio[1928]: [pulseaudio] module.c: Module "module-
pulseaudio[1928]: [pulseaudio] module-
David Henningsson (diwic) wrote : | #34 |
Ok, so this is several bugs in one then...
> pulseaudio[1928]: [pulseaudio] module-
For this error, if it appears when you're trying to switch to the headset, it looks like something on the bluez side. Look for bluez errors in syslog right above this line. Also make sure /etc/bluetooth/
zig59 (zig-59) wrote : | #35 |
Incidentally, (follow-up from comment #33), in my case, "pactl load-module module-
pulseaudio[1928]: [pulseaudio] module.c: Module "module-
zig59 (zig-59) wrote : | #36 |
- audio.conf Edit (1.5 KiB, text/plain)
David, in response to comment #34 the log entries prior to the bluetooth error are showing:
Apr 29 09:06:52 Voyager kernel: [ 2013.010319] Bluetooth: re-auth of legacy device is not possible.
Apr 29 09:06:55 Voyager bluetoothd[716]: Protocol not supported (93)
I'm not exactly sure what to be looking for in the audio.conf file so, as it's not very big, I've attached it in case it provides any info. Modification date says 13 June 2012.
David Henningsson (diwic) wrote : | #37 |
> Apr 29 09:06:52 Voyager kernel: [ 2013.010319] Bluetooth: re-auth of legacy device is not possible.
> Apr 29 09:06:55 Voyager bluetoothd[716]: Protocol not supported (93)
This indeed looks like the kernel is at fault. I don't know much bluetooth (I'm more into the audio side of things), so can't help further. Sorry.
Marcin Stefański (mstefanski1987) wrote : | #38 |
I can confirm the problem exists with my hardware as well.
Medion MD86751, Ubuntu 14.04 with latest updates.
How do I report this upstream? I am fairly inexperienced with submitting bugs.
Colum Gaynor (columgaynor) wrote : Re: [Bug 1283003] Re: [Bluetooth + 14.04] Bluetooth headsets are not working after last couple of updates | #39 |
CG: @David:
Could you please consider to reverse the status back from
'INCOMPLETE' to 'CONFIRMED' (again).
There would /seem/ to be a real issue which has been confirmed
by several contributors
in this thread...
Regards Colum
On 29.04.2014 12:58, David Henningsson wrote:
>> Apr 29 09:06:52 Voyager kernel: [ 2013.010319] Bluetooth: re-auth of legacy device is not possible.
> > Apr 29 09:06:55 Voyager bluetoothd[716]: Protocol not supported (93)
>
> This indeed looks like the kernel is at fault. I don't know much
> bluetooth (I'm more into the audio side of things), so can't help
> further. Sorry.
>
Mário Saleiro (mariosaleiro-z) wrote : Re: [Bluetooth + 14.04] Bluetooth headsets are not working after last couple of updates | #40 |
Hi, I'm also having issues with Bluetooth on a fresh install of Ubuntu 14.04. I have the RT3290 chipset and had to patch and compile the Bluetooth driver from source. After installing the Bluetooth driver, the Bluetooth icon shows up as expected and I can try to pair with other devices. I tested with Logitech Bluetooth Headset for iPad2 and with a Siliphone Bluetooth Speaker. Both worked perfectly fine under Ubuntu 12.04. However, when I try to pair the devices I always get something like "Failure configuring device" (not this exact words because my Ubuntu is not in english). It happens with both. I also tried with bluez-simple-agent and I get the error "Creating device failed: org.bluez.
Taras Romaniv (t-romaniv) wrote : | #41 |
Me too. A have already connected my BT headset using Bluez and I can see it in the audio devices list. But when I trying to set it as audio input/output device then nothing happens.
Bruno Browning (browning) wrote : | #42 |
I see this problem (the "re-auth of legacy device is not possible/Protocol not supported" one) when using a Motorola H300 headset which previous to 14.04 worked fine. On the same machine, a Samsung HM1700 works perfectly.
David Henningsson (diwic) wrote : | #43 |
> Could you please consider to reverse the status back from 'INCOMPLETE' to 'CONFIRMED' (again).
I will do so for PulseAudio if I get the requested information, which is:
"if you can verify that module-
grep "pulseaudio.
...to see if you find anything that looks suspicious?"
Other errors seem not to be PulseAudio's fault at this point.
ali.abry (ali-abry) wrote : | #44 |
i have the same issue using LG HBS-250
Marcin Stefański (mstefanski1987) wrote : | #45 |
Few days ago after tinkering with bluetooth audio configuration I made to the point where nothing worked, headset wouldn't even connect. Then I replaced broken audio.conf with https:/
Today after I connected my headset i got AD2P up and running with no problems.
Steps that seem necessary:
1. Replace audio.conf with the one from https:/
2. Reboot your computer
3. Remove your bluetooth headset from paired devices
4. Pair your bluetooth headset again.
I have no idea why it worked, but next time I'll grep all I can and put it here.
So as for now Medion MD86751 problem seems to have fixed itself.
zig59 (zig-59) wrote : | #46 |
Thanks for posting that Martin, I hope it helps others.
Unfortunately, that audio.conf file seems to be the same as mine from standard (attached in post #36) but in my case I still can't route through my headphones even though the system is showing it as paired and connected. Manually selecting the headphones in Sound Settings still has no effect. I've even removed the headphones and paired them. Strangely though I've never been asked for a pin number.
Did you do anything else other than change the audio.conf file?
Regards
Marcin Stefański (mstefanski1987) wrote : | #47 |
I know that - it was my attempt to restore original configuration and forget about it until some sort of fix is available.
Unfortunately I have no idea what caused my machine to act different this time. The only thing that changed is that I have played music from youtube using chromium and flash plugin instead of movie in vlc.
bluetooth-discovery was running in both cases, and shortly before I got AD2P working I disconnected and reconnected my bluetooth dongle (although I tried that before and it didn't work).
There is nothing else I can think of, but I will visit this bug and try to help if there is anything I can do.
Colum Gaynor (columgaynor) wrote : | #48 |
- pactl list output Edit (17.0 KiB, text/plain)
Sorry for a delayed response to comment #43. The suggested command:
grep "pulseaudio.
produced NO OUTPUT.
The output from "pactl list" is uploaded as attachment, but there is no sign of any entry with text:
module-
-Colum
David Henningsson (diwic) wrote : | #49 |
@Colum, thanks. Could you try the following:
edit /etc/pulse/
set-log-level 4
Reboot your computer and confirm that the bug is still present. Then do a
grep pulseaudio /var/log/syslog > /tmp/syslog.txt
and then attach /tmp/syslog.txt here. Thanks!
(Afterwards you might want to restore default.pa to avoid your syslog being flooded with debug messages.)
Colum Gaynor (columgaynor) wrote : Re: [Bug 1283003] Re: [Bluetooth + 14.04] Bluetooth headsets are not working after last couple of updates | #50 |
CG: Seeing this quite late tonight. I will try to action your request
soon. BR. Colum
On 11 May 2014 22:20, "David Henningsson" <email address hidden>
wrote:
> @Colum, thanks. Could you try the following:
> edit /etc/pulse/
> Automatically load driver modules for Bluetooth hardware", add a line with
> this text:
> set-log-level 4
>
> Reboot your computer and confirm that the bug is still present. Then do a
> grep pulseaudio /var/log/syslog > /tmp/syslog.txt
>
> and then attach /tmp/syslog.txt here. Thanks!
>
> (Afterwards you might want to restore default.pa to avoid your syslog
> being flooded with debug messages.)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> [Bluetooth + 14.04] Bluetooth headsets are not working after last
> couple of updates
>
> Status in “blueman” package in Ubuntu:
> Confirmed
> Status in “gnome-bluetooth” package in Ubuntu:
> Confirmed
> Status in “pulseaudio” package in Ubuntu:
> Incomplete
>
> Bug description:
> Hi,
>
> I found a bug in Ubuntu 14.04 !
>
> I tried to pair a bluetooth stereo headset (A2DP compatible). The
> pairing process goes well, but after that I can't select it on the
> audio preferences.
>
> When I select it, it only shows the last selected item options and don't
> do anything. (he should switch to the headset output).
> I must mention that it worked very well on Ubuntu 12.04.
>
> This bug can be in the bluetooth stack or in unity-control-
> maybe pulseaudio. I actually have no idea.
>
> To manage notifications about this bug go to:
>
> https:/
>
Colum Gaynor (columgaynor) wrote : Re: [Bluetooth + 14.04] Bluetooth headsets are not working after last couple of updates | #51 |
- Log File as requested by David. Edit (161.9 KiB, text/plain)
@David ... I carried out the modification to the /etc/pulse/
I re-booted system and observed problem still on. After getting the Bluetooth Headset to
pair with Blueman. Using sound control panel, the bluetooth headset still not recognised.
Cannot get A2DP profile established. After I issue command: pulseaudio -k the headset
appear in the sound control panel and after that I can get the A2DP to work. Log file attached
as requested. - Colum
David Henningsson (diwic) wrote : | #52 |
@Colum, thanks - from the log we can see that module-
May 13 19:58:09 gaynor-F1-22PTV1 pulseaudio[2501]: [pulseaudio] module-
May 13 19:58:09 gaynor-F1-22PTV1 pulseaudio[2501]: [pulseaudio] module.c: Unloading "module-
May 13 19:58:09 gaynor-F1-22PTV1 pulseaudio[2501]: [pulseaudio] module.c: Unloaded "module-
However, the answer is not far away. Here's what I found in blueman/
for k, v in modules.
...so if blueman unloads module-
Changed in pulseaudio (Ubuntu): | |
status: | Incomplete → Invalid |
Colum Gaynor (columgaynor) wrote : Re: [Bug 1283003] Re: [Bluetooth + 14.04] Bluetooth headsets are not working after last couple of updates | #53 |
CG: @David, OK & Thanks for your work to investigate/clarify this case.
Colum
On 14 May 2014 00:55, "David Henningsson" <email address hidden>
wrote:
> @Colum, thanks - from the log we can see that module-
> is unloaded manually. The program unloading it is "python2.7" which
> unfortunately does not tell us exactly from where this comes, just that
> it is some software written in python...
>
> May 13 19:58:09 gaynor-F1-22PTV1 pulseaudio[2501]: [pulseaudio]
> module-
> May 13 19:58:09 gaynor-F1-22PTV1 pulseaudio[2501]: [pulseaudio] module.c:
> Unloading "module-
> May 13 19:58:09 gaynor-F1-22PTV1 pulseaudio[2501]: [pulseaudio] module.c:
> Unloaded "module-
>
> However, the answer is not far away. Here's what I found in
> blueman/
>
> for k, v in modules.
> if v["name"] ==
> "module-
> pa_utils.
> dprint("Unload module-
>
> ...so if blueman unloads module-
> PulseAudio's fault if it does not find new devices. Reassigning to
> Blueman.
>
> ** Changed in: pulseaudio (Ubuntu)
> Status: Incomplete => Invalid
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> [Bluetooth + 14.04] Bluetooth headsets are not working after last
> couple of updates
>
> Status in “blueman” package in Ubuntu:
> Confirmed
> Status in “gnome-bluetooth” package in Ubuntu:
> Confirmed
> Status in “pulseaudio” package in Ubuntu:
> Invalid
>
> Bug description:
> Hi,
>
> I found a bug in Ubuntu 14.04 !
>
> I tried to pair a bluetooth stereo headset (A2DP compatible). The
> pairing process goes well, but after that I can't select it on the
> audio preferences.
>
> When I select it, it only shows the last selected item options and don't
> do anything. (he should switch to the headset output).
> I must mention that it worked very well on Ubuntu 12.04.
>
> This bug can be in the bluetooth stack or in unity-control-
> maybe pulseaudio. I actually have no idea.
>
> To manage notifications about this bug go to:
>
> https:/
>
Kiori (kiori) wrote : Re: [Bluetooth + 14.04] Bluetooth headsets are not working after last couple of updates | #54 |
Updating my feedback.
I tried the above suggestions and indeed module-
The bottom line is my headset works ok with blueman, but if i remove blueman and try built in standard bluez with standard gnome interface-
Perhaps the issue is with the gnome discoverer, because i cant pair, as in it wont recognize the device with it.
And its prob written in pythn right? its worth looking into ;).
Either way, its a bluez/gnome-
At least for me
Mr Lee (leet+) wrote : | #55 |
I'm struggling with this bug as well. My situation seems to be nearly the same as Kiori's, except that even with Blueman pairing the speaker successfully, it still doesn't show up in PulseAudio control.
It did work for a short while about a week ago, but then it stopped, and though I've tried to do everything I did before, and more, it hasn't worked again.
Pulseaudio-
Mr Lee (leet+) wrote : | #56 |
Update: I had success by following #15 from https:/
What's new was modifying audio.conf with these lines:
[General]
Enable = Source,
Disable = Socket
HFP=false
[A2DP]
SBCSources=1
MPEG12Sources=0
And running:
pactl load-module module-
Not entirely sure which part solved it. I note that disabling "socket" contradicts my last post.
Kiori (kiori) wrote : | #57 |
Tried what Mr Lee said, and indeed its works nows. But the problem remains that crapware bluetooth-wizard is unable to pair the device, after its paired, the above setup works 'out of the box'.
The only downside so far is that without it, i could toy with blueman and get a2dp AND hsp or wahtever to be on -at the same time-. So i would have a mic on the headphone going AND the sound keeping a a2dp superior quality output at the same time.
Now with the given solution its either or, you cant have the esquizofrenia of being both things at once.
I'm gonna toy with the config and see what happens.
On a side note though, canonical needs to make bluetooth-wizard 'an offer it cannot refuse'. ;)
Kiori (kiori) wrote : | #58 |
Tried a few edits, the bottom line is that if we want both on at the same time, they both need to be loaded, which you can do with blueman, and i have no idea how to do this without it.
I'm posting about this, because its ideal to have the best sound AND your headphone's mic work at the same time right.
Its would-be basic situations like these that keep me quiet when people start bashing canonical, they do give linux a bad name, in spite of all the great stuff they've done, specially with unity.
aanno (thomas-pasch) wrote : | #59 |
Well, IMHO bluetooth is one big mess in ubuntu. I'm using a BT headset for nearly 7 years now, and it has NEVER worked without some quirks.
Even this would be OK for me, but the quirks differ not only between releases but also between updates. Hence you can never be sure if the headset will work on any day... (BTW, why the hell we are STILL sitting here with the legacy Bluez 4.x stack? I guess an upgrade to Bluez 5.x could not make the state of affairs more encumbering.)
The one and only good news that I've got that I SUCCESSFULLY USED MY BT HEADSET YESTERDAY (17.05.2014) on an up-to-date ubuntu 14.04/trusty. This is trick/quirk that made things work:
> pactl load-module module-
Given that, there are a couple of ticket out here that points into this direction:
https:/
https:/
https:/
zig59 (zig-59) wrote : | #60 |
As David said in post #34 there appears to be a number of bugs going on here.
I've not had any trouble pairing and connecting my BT headphones (Motorola S805) 'out of the box' but it simply won't route the output to them even manually through Sound Settings. I've tried a number of the solutions posted including those of RazTaz, Marcin and Mr Lee, all to no avail.
This is the first release since Feisty Fawn 7.04 (at least) that I haven't been able to get them working.
I use a BT USB dongle that still works in Windows XP and 7. Even so my post #36 would suggest Ubuntu now sees this as a hardware issue in my case with the messages:
Apr 29 09:06:52 Voyager kernel: [ 2013.010319] Bluetooth: re-auth of legacy device is not possible.
Apr 29 09:06:55 Voyager bluetoothd[716]: Protocol not supported (93)
Kiori (kiori) wrote : | #61 |
@aanno
Bluez 4 is being used because 5 lacks many needed features, such as having the headphone and mic working at once.
The devs say its working, but i've read its really not. I read a few months ago that the guys at pulse audio were working to change that, maybe in a few months we'll see the results.
So bluez 4 is kept for greater feature parity and common sense. plus i read that bluz devs are rather nutty. but that might be just gossip.
Mr Lee (leet+) wrote : | #62 |
Another update... I've lost the connection twice now. It works for a couple days, then breaks. Now I'm at the point where Blueman doesn't even find the device. I've been playing with it--reversing, repeating, reinstalling--but I can't get it back.
Bearing in mind that I know next to nothing about this sort of thing, it seems to be Python-related. I use Quodlibet (written in Python), and one time the Bluetooth speaker connection seemed to break immediately on closing Quodlibet.
Stuart Gillies (gillies) wrote : | #63 |
Bluetooth working well for a headset on 12.04, not working on 14.04, either as new install or as upgrade. It pairs normally, but on one machine (new install) does not appear in sound settings, on the other it appears but in neither case does it switch sound from speakers to the headset when on.
Hartwig Kolbe (kolbeb) wrote : | #64 |
Bluetooth worked well in 13.04 and 13.10, but after upgrade to 14.04 it does not work anymore.
I am using a generic USB dongle (CSR) on an old 32 bit system.
grep "pulseaudio.
pulseaudio[3094]: [pulseaudio] module.c: Module "module-
pactl load-module module-
Failure: Module initialization failed
would be nice, if bluetooth could work again
Hartwig Kolbe (kolbeb) wrote : | #65 |
update:
After power down and restart this morning I tried again:
Bluetooth recognized my paired headset as connected, displayed the lock in the icon, but in sound settings the headset did not show up, no sound from headset.
After
pactl load-module module-
24
After that the headset is connecting and functioning.
So, it seems, sometimes BT can be activated directly after reboot by loading its discovery module (which in my case returned 24).
Hartwig Kolbe (kolbeb) wrote : | #66 |
syslog entries:
grep "pulseaudio.
Jun 4 09:57:52 xxx-Linux pulseaudio[3248]: [pulseaudio] module-
Jun 4 09:57:52 xxx-Linux pulseaudio[3248]: [pulseaudio] module.c: Failed to load module "module-
Hartwig Kolbe (kolbeb) wrote : | #67 |
However, the headset seems to work properly if the command
pactl load-module module-
is executed directly after startup/login before any paired BT device tries to connect - from a terminal window, returning "24".
It should be called automatically, but that doesn't seem to happen, or, something unloads it automatically. Syslog has no entry for module-
Btw., Blueman seems to screw up in this case, so I don't use it.
malheum (maxheise) wrote : | #68 |
Neither does not work with a bluetooth headset BeeWi BBh100. Not in headset mode, and not in a2dp mode.
Stuart Gillies (gillies) wrote : | #69 |
Well I now have BT working in A2DP mode. Hopefully it will stay working. There was never any problem pairing or connecting, just no sound would come out and the sound settings screen did not offer any choices.
So, once paired and "pulseaudio -k" issued (but I don't know if that is needed or not):
In the Sound Settings window, the headset is visible but does not offer any options to choose a profile.
In bluetooth settings, pairing is shown but not profiles
However, found by accident, right-clicking on the entry in the Blueman screen offers the option to select an audio profile. This was set to 'none' by default (why I cannot imagine). Setting it to High Fidelity fixed the problem immediately.
Why have default settings that cannot produce the output that every user is going to need? Weird. And why have both sound settings and bluetooth settings screens, and yet the crucial function is on a blueman screen that does not come up when looking at the settings? Bluetooth settings and blueman should be merged.
There still remains the problem that the sound settings screen does not allow the profile to be selected, though it did in 12.04.
The other problem of course is that there are no definitive and reliable user functional instructions for this (or indeed most of Ubuntu) and major searching of individual users problems and attempted fixes is needed to find clues. 14.04 is an LTS release and all this stuff should 'just work'. Using Ubuntu is more like a research project than using a working system.
I appreciate that lots of people give up their effort to develop Ubuntu and other distros, and that is appreciated. But things that work (as all this did in 12.04) should not be tinkered with until they then fail.
Now I feel better.
Hartwig Kolbe (kolbeb) wrote : | #70 |
What is disturbing here is the fact that this bug is unassigned or (in case of pulseaudio) marked invalid.
That means nobody feels responsible and takes care.
We - most probably - will have to wait a long time for this problem to be solved.
Since the manual loading of module-
David Henningsson (diwic) wrote : | #71 |
Well, since the Linux kernel and PulseAudio both are in main and officially supported, but blueman is not, and one of the problems seems to be that blueman unloads module-
how well do things work *without* blueman?
I e, uninstall blueman and reboot and see how well the headset works. It probably won't fix your bug if there is a kernel error (such as "protocol not supported" or "re-auth of legacy device not possible"), but if the problem is only that module-
David Henningsson (diwic) wrote : Blueman unloads module-bluetooth-discover | #72 |
Hi Blueman developers,
This is an outreach for help - let me know if this is the right channel
or not. We seem to have a lot of people claiming that pulseaudio's
module-
problems with bluetooth headsets.
Reading the code I can see that blueman deliberately unloads
module-
those lines of code, which probably are there for a reason?
Here are some related bugs:
https:/
https:/
--
David Henningsson, Canonical Ltd.
https:/
dominik christ (dominik-christ) wrote : Re: [Bluetooth + 14.04] Bluetooth headsets are not working after last couple of updates | #73 |
Hi all,
I have been following this discussion for a while because the connection to my A2DP device was broken after upgrading to 14.04 with all the symptoms described above.
Following David Henningsson's suggestion in post #71, I used "apt-get purge blueman" to fully uninstall blueman from my system. After a restart, I could connect to the A2DP device with the Unity-default tool and the connection would not break down after ~1s anymore. The system did not switch the audio output to this device automatically, but after manual switch audio output was just fine.
So in short: Uninstalling blueman solved my bluetooth connection problem, which confirms that it is causing this issue.
affects: | blueman (Ubuntu) → blueman |
Changed in blueman (Ubuntu): | |
status: | New → Confirmed |
Sebastian F (sf-lp) wrote : | #74 |
I created an upstream bugreport for blueman:
https:/
David Henningsson (diwic) wrote : | #75 |
Thanks Sebastian! Based on what was written in the github report, I've just commented out the module unloading that blueman does, built the result and put it in a ppa here:
https:/
It is possible that blueman messes with more stuff so that just commenting out this part does not resolve the problem, but it's worth a try.
So, anybody wants to try the blueman in this ppa, reboot, and see if this fixes the headset pairing issue?
zig59 (zig-59) wrote : | #76 |
Hi David,
I'm not expecting bluemantest to actually resolve my problem as I can already pair and connect but not route to my headphones. Anyway anything is worth a shot at the moment so I tried to install the file through Synaptic but am getting a fail with the message "E: blueman: subprocess installed post-installation script returned error exit status 101". The program seems to have partially installed but won't run.
The log is reporting:
Processing triggers for man-db (2.6.7.1-1) ...
Setting up blueman (1.23-git201403
Sorry: IndentationError: expected an indented block (PulseAudio.py, line 235)
dpkg: error processing package blueman (--configure):
subprocess installed post-installation script returned error exit status 101
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up blueman (1.23-git201403
Sorry: IndentationError: expected an indented block (PulseAudio.py, line 235)
dpkg: error processing package blueman (--configure):
subprocess installed post-installation script returned error exit status 101
Errors were encountered while processing:
blueman
Furthermore, as a point of confirmation I didn't have the official Blueman Manager installed when I could connect/pair and see my headphones in Sound Settings. As soon as I installed the official Blueman my headphones no longer appeared Sound Settings.
Also, I tried Stuart's solution (post #69) but it refused to allow me to specify the High Fidelity option by keeping switching it back to Off.
Regards
David Henningsson (diwic) wrote : | #77 |
> Sorry: IndentationError: expected an indented block (PulseAudio.py, line 235)
Oops, then I screwed up. Please do not use the package.
Hartmut (hesse-hsr) wrote : | #78 |
Hartwig Kolbe (kolbeb) wrote : | #79 |
#78 > a hacking fix:
https:/
That causes Blueman to crash at startup, but for Pulseaudio, it seems tyo work.
Colum Gaynor (columgaynor) wrote : | #80 |
@Harmut (hesse-hsr)
Thank you! I just tried your "hacking fix" and it works very nicely indeed :) .
Now the bluetooth headset shows up fine in the sound settings panel
and I can switch on A2DP profile; without problems.
Incidently, I did not encounter the reported Blueman crash, which
@Hartwig Kolbe reported.
Hopefully Blueman developers will finally try to issue a permanent fix!
Thanks again also to @David for his discovery of the failure root cause.
- Colum
zig59 (zig-59) wrote : | #81 |
Thank you Hartmut, this works for me too.
In addition to rebooting I also had to remove and then re-add/
As a note there are some peculiar quirks for me:
For some reason I have 2 headphone entries in Sound Settings both in Output and Input tabs. Disconnecting the headphones removes both entries in both tabs.
Switching on the headphones shows a connection symbol in the Unity top activity bar without rerouting the sound from wired speakers. I have to manually connect through Blueman, specify the A2DP profile and select the headphones in Sound Settings every time I want to use the headphones.
Specifying the A2DP profile appears to be a bit hit and miss. Sometimes it works, other times it'll drop back to Off. Once it does 'catch' it holds without dropout.
Trying to access Sound Settings via the activity bar bluetooth icon stopped working when I installed Blueman. I can still access the settings via System Settings though.
All the above being said, this is a big step forward.
Cheers
David Henningsson (diwic) wrote : | #82 |
> > Sorry: IndentationError: expected an indented block (PulseAudio.py, line 235)
> Oops, then I screwed up. Please do not use the package.
This should now be fixed. A new package is currently building in the ppa.
Kiori (kiori) wrote : | #83 |
Guys lets just not forget that there are people that have issues with blueman, and people that have issues even without blueman(with bluez and gnome stuff instead).
Just making sure this wont be forgotten.
zig59 (zig-59) wrote : | #84 |
@David Henningsson
Hi David,
Have installed the new bluemantest from the ppa and for me it works. Thank you.
It works in the same way that editing the Pulseaudio.py file worked as specified by Hartmut. I.e. there are quirks (specified in post #81) to navigate to actually get the sound routed to the headphones, it's not simply a case of connecting the headphones and everything else is seamless.
In particular,
i) even after pairing/trusting the headphones in blueman I couldn't select the A2DP profile (pulseaudio[1926]: [pulseaudio] module-
ii) had to manually select the headset in Sound Settings
iii) selecting the headset (Output tab) in Sound Settings caused A2DP to switch Off
iv) switching A2DP back on in blueman showed A2DP assigned in Sound Settings (Output tab) UNTIL I went into the Input tab to select the headphones there and then A2DP dropped out in the Output tab. Selecting A2DP after the headset was selected in both Output and Input tabs allowed things to work as required.
@Kiori
Indeed. In my case the irony is that without blueman (which I originally didn't have installed) I couldn't get the headset to work at all. So despite blueman having problems of its own it has actually helped to resolve my problem to the extent where I can actually use the headset albeit by going around the houses.
Andrey (lissovoy) wrote : | #85 |
Thank you, David!
I installed blueman from your ppa (#75), reboot, and all works fine.
(Mint 17 (2014-03) Mate 32bit)
Sebastian F (sf-lp) wrote : | #86 |
With the Blueman package from Davids PPA, I'm able to connect with my bluetooth speakers again. I only have to choose them manually as default output.
On a sidenote: The Blueman deb should depend on pulseaudio-
nachokb (nachokb) wrote : | #87 |
I suffer the same symptoms. Used it in 14.04 (Ubuntu GNOME over here) and stopped working (though I did change lots of PPAs). Device is detected, paired correctly but it won't show up in Preferences > Sound.
Running 'paclt list cards short' (per #14) does not list this (only the built-in card), while in Preferences > Bluetooth device shows up as paired (and device responds accordingly). Weirdly, sometimes the toggle "Bluetooth" in Preferences > Bluetooth shows up as disabled, while the device acts like it is indeed paired (so it is enabled actually).
I've also found this on /var/log/syslog:
> Jun 20 20:10:51 valinor bluetoothd[20013]: Adapter /org/bluez/
> Jun 20 20:10:51 valinor bluetoothd[20013]: Unknown command complete for opcode 19
> Jun 20 20:10:51 valinor bluetoothd[20013]: Endpoint registered: sender=:1.57 path=/MediaEndp
> Jun 20 20:10:51 valinor bluetoothd[20013]: Endpoint registered: sender=:1.57 path=/MediaEndp
> Jun 20 20:10:51 valinor bluetoothd[20013]: Endpoint registered: sender=:1.57 path=/MediaEndp
> Jun 20 20:10:51 valinor bluetoothd[20013]: Endpoint registered: sender=:1.57 path=/MediaEndp
> Jun 20 20:11:17 valinor bluetoothd[20013]: Adapter /org/bluez/
> Jun 20 20:11:17 valinor bluetoothd[20013]: Adapter /org/bluez/
> Jun 20 20:11:20 valinor bluetoothd[20013]: Discovery session 0x7f2e86c14df0 with :1.149 activated
> Jun 20 20:11:27 valinor bluetoothd[20013]: Unknown command complete for opcode 37
> Jun 20 20:11:30 valinor bluetoothd[20013]: Stopping discovery
> Jun 20 20:11:33 valinor bluetoothd[20013]: Badly formated or unrecognized command: AT+CBC=63
> Jun 20 20:11:33 valinor bluetoothd[20013]: Badly formated or unrecognized command: AT+BIA=
These last two lines look suspect, perhaps they're useful somehow.
wribeiro (wlainer) wrote : | #88 |
Sorry for my english. I have two bluetooth devices, a headphone and a bluetooth audio receiver that i bought in china. The first device pair but a cannot select the profile a2dp, it only work for the first time when a add a device, after on reconnect it wont work anymore. The second device work flawless, every time a turn it on, it's recognize and the sound output automatic change to device and the profile to a2dp.
fk (kamisli) wrote : | #89 |
I discovered a solution which worked for me. It is from this youtube video http://
All you have to do is :
1- Install PulseAudio Volume Control from Ubuntu Software Center
2- Open it and select Configuration tab
3- Switch the paired Bluetooth device's Profile from Off to A2DP
At the moment, it seems you may have to repeat steps 2 and 3 every time you connect the bluetooth device or open a music app.
Kiori (kiori) wrote : | #90 |
- Audio.conf for funcitoning btooth headset Edit (1.6 KiB, text/plain)
-------
Guys if you're still having issues and using gimmicks i guess you missed the post that talked about adding this:
[General]
Enable = Source,
Disable = Socket
HFP=false
[A2DP]
SBCSources=1
MPEG12Sources=0
To audio.conf.
-------
So what does that mean?
It means type at the terminal : sudo gedit /etc/bluetooth/
(assuming you're on ubuntu, if not use Kate, or mousepad, etc.)
And add the above lines in each corresponding section.
So basically my current audio.conf is like this:
# Configuration file for the audio service
# This section contains options which are not specific to any
# particular interface
[General]
Enable = Source,
Disable = Socket
#Enable=Gateway
# Switch to master role for incoming connections (defaults to true)
#Master=true
# If we want to disable support for specific services
# Defaults to supporting all implemented services
#Disable=
#Disable = Socket
# SCO routing. Either PCM or HCI (in which case audio is routed to/from ALSA)
# Defaults to HCI
#SCORouting=PCM
# Automatically connect both A2DP and HFP/HSP profiles for incoming
# connections. Some headsets that support both profiles will only connect the
# other one automatically so the default setting of true is usually a good
# idea.
#AutoConnect=true
# Headset interface specific options (i.e. options which affect how the audio
# service interacts with remote headset devices)
[Headset]
# Set to true to support HFP, false means only HSP is supported
# Defaults to true
HFP=true
#HFP=false
# Maximum number of connected HSP/HFP devices per adapter. Defaults to 1
MaxConnected=1
# Set to true to enable use of fast connectable mode (faster page scanning)
# for HFP when incoming call starts. Default settings are restored after
# call is answered or rejected. Page scan interval is much shorter and page
# scan type changed to interlaced. Such allows faster connection initiated
# by a headset.
FastConnectable
# Just an example of potential config options for the other interfaces
[A2DP]
SBCSources=1
MPEG12Sources=0
-------
The bad part about this is that it completely fixes A2DP as a standard, so i cant have both modes at once, which would mean having the mic and high quality sound at the same time, but its better than nothing right.
Beyond that the only major software problem that i still see is that gnome-discovery or whatnot is incapable of pairing any device i throw at it, so we are all forced to use 'Blueman' the mighty savior for the win.
In case your lazy or did not understand, i added my audio.conf to the comment for easy testing.
Download it and copy it to /etc/bluetooth/ , also remember to backup your existing audio.conf in case you're not used to this sort of thing.
If you don't know how to copy this in root-protected folders, simply type "sudo nautilus" at the terminal and have fun.
Best wishes to all,
still hoping for the day canonical gives gnome the finger.
Seriously, why couldn't they have based ubuntu on KDE in the first place?
Oh ...
Kiori (kiori) wrote : | #91 |
Also, remember that after you set that and basically restart, when you're all set and your bt headset is paired you still have to go to sound options and select it as an output and select A2DP or you won't be getting any sound out of it.
Every time you play with something you have to go back there and set your headset as the output again. ;)
Alternatively, this restarts bt for the system:
sudo service bluetooth restart
And this restarts pulseAudio:
pulseaudio -k
Use as needed.
Cheers
cschramm (cschramm) wrote : | #92 |
Hi all,
blueman maintainer here. I understand this is not 100 % a blueman problem, but blueman is definitely having its part.
As you found out, there is a blueman applet plugin that unloads pulseaudio's bluetooth-discover module and handles devices manually. The original author let me know that this is due to pulseaudio (the discovery module especially) not working well back then. For more details see https:/
I've prepared a blueman version without that pulseaudio applet plugin, but still including the manager plugin. That one is responsible for selecting the A2DP profile. Although there are other ways to do this (e.g. PulseAudio Volume Control as mentioned above), it seems like this is a useful feature to some users.
You can test the changes using the following PPA:
https:/
The code can be found in the nopahandling branch:
https:/
Cheers
zig59 (zig-59) wrote : | #93 |
Hi cschramm,
Have installed your ppa version of Blueman and it is not working for me.
The manager allows me to find, pair and connect to my headphones but there is no entry in Sound Settings (there was before) to allow me to route to the headphones.
In addition I now have 2 bluetooth icons on the top activity bar (Unity desktop) showing different option. 1 is the standard bluetooth options, the other is new and contains options to sned and browse files to the device, local services, plugins, etc.
The following code is from var/log/syslog, I'm not exactly sure what, if anything is relevent.
Regards
Jun 26 10:12:32 Voyager blueman-mechanism: Starting blueman-mechanism
Jun 26 10:12:32 Voyager dbus[697]: [system] Successfully activated service 'org.blueman.
Jun 26 10:12:33 Voyager blueman-mechanism: loading Network
Jun 26 10:12:33 Voyager blueman-mechanism: loading RfKill
Jun 26 10:12:33 Voyager blueman-mechanism: loading Config
Jun 26 10:12:33 Voyager blueman-mechanism: loading Ppp
Jun 26 10:12:33 Voyager bluetoothd[734]: Endpoint unregistered: sender=:1.67 path=/MediaEndp
Jun 26 10:12:33 Voyager bluetoothd[734]: Endpoint unregistered: sender=:1.67 path=/MediaEndp
Jun 26 10:12:33 Voyager bluetoothd[734]: Endpoint unregistered: sender=:1.67 path=/MediaEndp
Jun 26 10:12:33 Voyager bluetoothd[734]: Endpoint unregistered: sender=:1.67 path=/MediaEndp
Jun 26 10:12:33 Voyager bluetoothd[734]: hci0: Remove UUID (0x0011) failed: Busy (0x0a)
Jun 26 10:13:02 Voyager blueman-mechanism: Exiting
Jun 26 10:14:36 Voyager bluetoothd[734]: Discovery session 0x7f42550c3ac0 with :1.96 activated
Jun 26 10:14:39 Voyager bluetoothd[734]: Unknown command complete for opcode 37
Jun 26 10:14:46 Voyager bluetoothd[734]: Stopping discovery
Jun 26 10:15:29 Voyager pulseaudio[1908]: [pulseaudio] module-
Jun 26 10:15:29 Voyager pulseaudio[1908]: [pulseaudio] module.c: Failed to load module "module-
Jun 26 10:17:01 Voyager CRON[3005]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jun 26 10:17:04 Voyager bluetoothd[734]: Unable to select SEP
Jun 26 10:17:04 Voyager kernel: [ 343.203153] input: 00:0C:55:D1:91:ED as /devices/
Jun 26 10:17:05 Voyager acpid: input device has been disconnected, fd 16
Jun 26 10:17:28 Voyager kernel: [ 367.422005] input: 00:0C:55:D1:91:ED as /devices/
Jun 26 10:48:51 Voyager dbus[697]: [system] Activating service name='org.
Jun 26 10:48:51 Voyager dbus[697]: [system] Successfully activated service 'org.freedeskto
Sebastian F (sf-lp) wrote : | #94 |
@cschramm
The package from your PPA (version 1.23-git2014062
I have to do this manually, so the PulseAudio manager plugin doesn't seem to work, yet (I have "Move streams" and "Make default sink" enabled).
Upon connect I get the following error in syslog:
Jun 26 15:21:33 laptop pulseaudio[1364]: [pulseaudio] module-
and upon disconnect:
Jun 26 15:23:45 laptop pulseaudio[1364]: [bluetooth] bluetooth-util.c: Failed to release transport /org/bluez/
cschramm (cschramm) wrote : | #95 |
The nopahandling does not include the plugin, while the deb version does and only hasn't got the pulseaudio module unload. So it should be identical to David Henningsson's PPA version.
Since the nopahandling branch did not work for zig59, I'm going for this minimalistic approach. Although I'm not sure how pulseaudio could work with other tools like gnome-bluetooth then, since they do not employ any specific pulseaudio handling at all...
The syslog messages are probably a result of blueman competing with the discovery module for the initialization of the devices. I'm not sure if the source redirection (that's the rest the applet plugin is responsible for) will even work if blueman cannot load the device module itself. Looking at the source I do not think so, but then it should not make a difference to just remove the module-
Kiori (kiori) wrote : | #96 |
@zig59, please post you audio.conf.
To me the new ppa blueman is working flawlessly, and it doesnt bug out on me anymore, it used to crash now and then. However, before using it I was careful to get my audio.conf back to its original state of basically no config, so it leaves everything to blueman.
And btw the second icon that you get IS blueman.
@cschramm
Good job so far man.
cschramm (cschramm) wrote : | #97 |
When using the deb version (1.23-git201406
There should be things like:
Starting source redirector
Found source
Source not found :(
module-loopback load result
Loopback module unload result
Destroying redirector
And some IDs from the Module class. Basically every output from the PulseAudio.py file is relevant.
zig59 (zig-59) wrote : | #98 |
- Contains audio.conf, terminal and syslog messages Edit (9.8 KiB, text/plain)
@Kiori
audio.conf is attached. This is as installed as standard as far as I know.
@cschramm
As a simple user I'm starting to get out of my depth with the diagnostic procedures, please bear that in mind if I've misinterpreted your instructions.
When I originally ran blueman-applet in terminal I got:
Loading configuration plugins
blueman-applet version 1.23 starting
There is an instance already running
So issuing killall blueman-applet and then reissuing blueman-applet I did not get any of the output you specified, simply a load of app load and initialisation messages. I've copied these into the attached file.
I've also included the relevant part of var/log/syslog although there's not much to see.
Apologies in advance if there is a delay over the next few days. I may be able to get back online on Sunday.
Regards
cschramm (cschramm) wrote : | #99 |
Thanks for the output!
Did you connect the audio device? Then it looks like the applet plugin indeed does not do anything... But then again the version without the plugin (1.23-git201406
zig59 (zig-59) wrote : | #100 |
- blueman-messages-2 Edit (7.6 KiB, text/plain)
@cschramm
I've just received a new version of the ppa which seems to include additional debugging messages.
I've attached the output from the new version
Regards
Josep (pepmanuel) wrote : | #101 |
@cschramm
I just installed the blueman package from your ppa and it works for me. Thanks a lot :-)
For people who still have issues, see #92.
Hartwig Kolbe (kolbeb) wrote : | #102 |
That blueman ppa version works for me, also.
But, I had to reboot to have it working, restarting blueman and pulseaudio did not do the job.
Strange enough that it now works with blueman. Despite i never use blueman, its startup seems necessary.
Kiori (kiori) wrote : | #103 |
Today for whatever reason after a few updates(sadly i didn't check what was updated) BT no longer works.
Tried a few commands, like restarting pulse, removed blueman, you name it, i prob did it. Nothing even worked.
Here is the end result:
Jun 30 01:05:00 lorien bluetoothd[705]: Adapter /org/bluez/705/hci0 has been disabled
Jun 30 01:05:01 lorien ntpdate[2543]: adjust time server 91.189.94.4 offset 0.365796 sec
Jun 30 01:05:02 lorien bluetoothd[705]: Adapter /org/bluez/705/hci0 has been enabled
Jun 30 01:05:09 lorien NetworkManager[
Jun 30 01:05:09 lorien NetworkManager[
Jun 30 01:05:09 lorien NetworkManager[
Jun 30 01:05:09 lorien NetworkManager[
Jun 30 01:06:37 lorien pulseaudio[1721]: [pulseaudio] module.c: Module "module-
Jun 30 01:06:59 lorien bluetoothd[705]: Endpoint unregistered: sender=:1.52 path=/MediaEndp
Jun 30 01:06:59 lorien bluetoothd[705]: Endpoint unregistered: sender=:1.52 path=/MediaEndp
Jun 30 01:06:59 lorien bluetoothd[705]: Endpoint unregistered: sender=:1.52 path=/MediaEndp
Jun 30 01:06:59 lorien bluetoothd[705]: Endpoint unregistered: sender=:1.52 path=/MediaEndp
Jun 30 01:06:59 lorien bluetoothd[705]: hci0: Remove UUID (0x0011) failed: Busy (0x0a)
Jun 30 01:06:59 lorien rtkit-daemon[1231]: Successfully made thread 2688 of process 2688 (n/a) owned by '1000' high priority at nice level -11.
Jun 30 01:06:59 lorien rtkit-daemon[1231]: Supervising 1 threads of 1 processes of 1 users.
Jun 30 01:07:00 lorien rtkit-daemon[1231]: Successfully made thread 2689 of process 2688 (n/a) owned by '1000' RT at priority 5.
Jun 30 01:07:00 lorien rtkit-daemon[1231]: Supervising 2 threads of 1 processes of 1 users.
Jun 30 01:07:00 lorien rtkit-daemon[1231]: Successfully made thread 2690 of process 2688 (n/a) owned by '1000' RT at priority 5.
Jun 30 01:07:00 lorien rtkit-daemon[1231]: Supervising 3 threads of 1 processes of 1 users.
Jun 30 01:07:00 lorien bluetoothd[705]: Endpoint registered: sender=:1.99 path=/MediaEndp
Jun 30 01:07:00 lorien bluetoothd[705]: Endpoint registered: sender=:1.99 path=/MediaEndp
Jun 30 01:07:00 lorien bluetoothd[705]: Endpoint registered: sender=:1.99 path=/MediaEndp
Jun 30 01:07:00 lorien bluetoothd[705]: Endpoint registered: sender=:1.99 path=/MediaEndp
Jun 30 01:07:12 lorien kernel: [ 261.550854] waiting module removal not supported: please upgrade
Jun 30 01:07:12 lorien kernel: [ 261.551214] waiting module removal not supported: please upgradewaiting module removal not supported: please upgrade
Jun 30 01:07:37 lorien rtkit-daemon[1231]: Successfully made thread 5347 of process 5347 (n/a) owned by '1000' high priority at nice level -11.
Jun 30 01:07:37 lorien rtkit-daemon[1231]: Supervising 4 threads of 2 processes of 1 users.
Jun 30 01:07:37 lorien ...
David Henningsson (diwic) wrote : | #104 |
Hi cschramm and thanks for looking at this bug!
How do you think we should proceed to release a fix/workaround? Should we just upload the code that disables the module unload, or do you have a better suggestion?
cschramm (cschramm) wrote : | #105 |
Disabling the unload is the best guess yet, although I do not know how and why the rest of the plugin can still work then. ;) But I can figure that out afterwards.
(If anybody wants to help with that, please send me the blueman-applet output of when you successfully connect your audio device using the 1.23-git2014062
@David: If you like I'll push the fix to Debian testing. That's probably the cleanest way to also get it into Ubuntu, isn't it?
David Henningsson (diwic) wrote : | #106 |
> @David: If you like I'll push the fix to Debian testing. That's probably the cleanest way to also get it into Ubuntu, isn't it?
Sounds like a plan, thanks!
Not sure if we sync from Debian unstable or Debian testing these days, but I assume you upload the fix to both. That will bring it into utopic. After that we can SRU it into trusty.
cschramm (cschramm) wrote : | #107 |
It's now in Debian unstable and should automatically make it into testing in about 10 days. Ubuntu probably syncs from there.
Kiori (kiori) wrote : | #108 |
Hi there, still can't connect anymore, with or without blueman.
got this in the log "bluetoothd[766]: Connection refused (111)"
And found this bug:
https:/
Might be related, there might be more out there.
Cheers.
Kiori (kiori) wrote : | #109 |
I still get this:
blueman-mechanism: Starting blueman-mechanism
dbus[709]: [system] Successfully activated service 'org.blueman.
blueman-mechanism: loading Network
blueman-mechanism: loading Config
blueman-mechanism: loading Ppp
blueman-mechanism: loading RfKill
bluetoothd[772]: Adapter /org/bluez/772/hci0 has been disabled
bluetoothd[772]: hci0: Set Powered (0x0005) failed: Busy (0x0a)
bluetoothd[772]: Adapter /org/bluez/772/hci0 has been enabled
blueman-mechanism: Exiting
bluetoothd[772]: Connection refused (111)
bluetoothd[772]: Connection refused (111)
bluetoothd[772]: Unable to select SEP
Even if i remove and thereafter setup the device again this still happens. its sad because bluetooth was working flawlessly. :/
Kiori (kiori) wrote : | #110 |
Today it worked again. I tried connecting as headset instead of a2dp and it worked, but no high def audio, then i typed:
sudo pactl load-module module-
and it returned:
26
whatever that means, after that, got full a2dp BT sound again...
So clearly there is a pulseaudio issue still lurking around the block... :/
no longer affects: | blueman |
Changed in blueman (Ubuntu): | |
status: | Confirmed → In Progress |
zig59 (zig-59) wrote : | #111 |
@cschramm
Despite originally not working (post #93) the ppa version of blueman is now working without me doing anything (possibly simply a reboot was needed). I'm also only getting one Headset entry in Sound Settings whereas previously I was getting two.
The system connects upon powering up the headphones but to route the sound I have to select the headset in Sound Settings and then select the A2DP profile in Blueman. Easy enough.
Oddly, entering Sound Settings AFTER the sound is routed through the headphones still shows the amplified speakers selected rather than the headset. Similarly, on the Input tab the default microphone is selected rather than the headset
var/log/syslog is showing the following entries:
Jul 8 09:12:07 Voyager kernel: [ 633.477148] Bluetooth: re-auth of legacy device is not possible.
Jul 8 09:12:08 Voyager bluetoothd[789]: Protocol not supported (93)
Jul 8 09:12:08 Voyager pulseaudio[1900]: [pulseaudio] module-
Jul 8 09:12:09 Voyager kernel: [ 635.526503] input: 00:0C:55:D1:91:ED as /devices/
Jul 8 09:12:50 Voyager bluetoothd[789]: message repeated 2 times: [ Protocol not supported (93)]
Jul 8 09:13:15 Voyager bluetoothd[789]: /org/bluez/
Jul 8 09:13:15 Voyager rtkit-daemon[1383]: Successfully made thread 10274 of process 1900 (n/a) owned by '1000' RT at priority 5.
Jul 8 09:13:15 Voyager rtkit-daemon[1383]: Supervising 5 threads of 1 processes of 1 users.
Jul 8 09:13:15 Voyager kernel: [ 701.111148] Bluetooth: Unexpected continuation frame (len 0)
Jul 8 09:13:15 Voyager kernel: [ 701.156165] Bluetooth: Unexpected continuation frame (len 0)
Jul 8 09:13:15 Voyager kernel: [ 701.157136] Bluetooth: Unexpected continuation frame (len 0)
Jul 8 09:13:15 Voyager kernel: [ 701.210194] Bluetooth: Unexpected continuation frame (len 0)
Jul 8 09:13:15 Voyager kernel: [ 701.237160] Bluetooth: Unexpected continuation frame (len 0)
Jul 8 09:13:15 Voyager kernel: [ 701.244081] Bluetooth: Unexpected continuation frame (len 0)
Jul 8 09:13:15 Voyager kernel: [ 701.252141] Bluetooth: Unexpected continuation frame (len 0)
Jul 8 09:13:15 Voyager kernel: [ 701.270153] Bluetooth: Unexpected continuation frame (len 0)
Jul 8 09:11:02 Voyager dbus[744]: message repeated 3 times: [ [system] Reloaded configuration]
Jul 8 09:13:55 Voyager dbus[744]: [system] Activating service name='org.
Jul 8 09:13:55 Voyager dbus[744]: [system] Successfully activated service 'org.freedeskto
Regards
Kiori (kiori) wrote : | #112 |
I think you're always gonna have to choose the BT headset, because you just mounted it.
If you're using ubuntu in sound settings you can set a2dp, provided its already active(as in set through blueman or whatnot).
Also bear in mind that having a2dp means no mic on the headset, you have to use the other one for that.
technologiclee (technologiclee) wrote : | #113 |
I tried everything on this list up to comment #59 then it started working!
Bluetooth Headset: BT-BSH10 http://
Laptop: ASUS X201E 11.6" Celeron 4GB/320GB Ubuntu Laptop http://
OS: Ubuntu 14.04 with all updates as of today.
On comment #29 I had to add the etc/bluetooth/
I did this by going to:
https:/
Then use CRTL+A to highlight the entire file. Then CRTL+C to copy it.
Open the Terminal and type the command:
sudo gedit
Then paste the file in gedit with CRTL+V.
I made the same changes as comment # 29 but also uncommented:
Master=true
and
AutoConnect=true
Then use File->Save As from the menu to place it in etc/bluetooth directory.
It was necessary to use the arrow next to Usr to move up to the Home directory and then click it again when it changes to a hard drive icon. The etc directory will be visable now, click on it and then bluetooth, make the title audio.conf and click save.
After a reboot it started woking at comment #59 with the Terminal command:
pactl load-module module-
It responds with:
24
Bluetooth headset with buit-in microphone both work now.
I can see the Bluetooth headset in the PulseAudio Volume Control.
The Sound app now lists the Headset under the Input and Output tabs.
Thanks.
technologiclee (technologiclee) wrote : | #114 |
I went out of range and lost the connection. It would not reconnect.
Now when I run:
pactl load-module module-
Failure: Module initialization failed
I tried:
pulseaudio -k
pulseaudio -D
E: [pulseaudio] main.c: Daemon startup failed.
pactl load-module module-
19
Remove
Pair
Refresh Services
Audio Sink
Based on Comment #67 I rebooted and immediately ran :
pactl load-module module-
23
The headset is listed in the PulseAudio Volume Control and the Sound app.
It shows activity in the Bluetooth Manager
Still no sound in the headphones.
Then I check and see if the Connection indicator is on at the bluetooth icon with a lock on it at the top right of the main screen and it works again.
Thanks once more.
Gabriele Santilli (santilli-gabriele) wrote : | #115 |
- /var/log/syslog excerpt Edit (159.1 KiB, text/plain)
I don't know if my problem is related to this one bug (any ideas?), I'm having lots of problems with Bluetooth since the update to 14.04.
Just a few minutes ago, I turned my bluetooth headset on; it connected, I verified it was working correctly; I went to a Google Hangout... and the headset disconnected and I have not been able to reconnect it. (It does connect to my phone normally, so I think the headset is ok.)
It worked fine (with only minor issues) on 13.10 and previous.
I'm attaching an excerpt of my log. Any suggestions of what I can do next to find more details?
Changed in gnome-bluetooth (Ubuntu): | |
status: | Confirmed → In Progress |
status: | In Progress → Confirmed |
Changed in blueman (Ubuntu): | |
status: | In Progress → Confirmed |
Gabriele Santilli (santilli-gabriele) wrote : | #116 |
Should I create a new bug or do you think this is the same bug?
Jul 29 13:46:22 imac kernel: [ 9194.185587] Bluetooth: Unexpected continuation frame (len 0)
Jul 29 13:46:23 imac kernel: [ 9194.269541] Bluetooth: Unexpected continuation frame (len 0)
Jul 29 13:46:23 imac kernel: [ 9194.594437] Bluetooth: Unexpected continuation frame (len 0)
Jul 29 13:46:23 imac bluetoothd[791]: /org/bluez/
Jul 29 13:46:28 imac bluetoothd[791]: Audio connection got disconnected
Jul 29 13:46:28 imac kernel: [ 9199.993603] Bluetooth: Unexpected continuation frame (len 0)
Jul 29 13:46:28 imac kernel: [ 9199.997737] Bluetooth: Unexpected continuation frame (len 0)
Jul 29 13:46:41 imac kernel: [ 9213.037178] Bluetooth: Unexpected continuation frame (len 0)
Jul 29 13:46:42 imac kernel: [ 9213.298044] Bluetooth: Unexpected continuation frame (len 0)
Jul 29 13:47:21 imac kernel: [ 9252.736140] Bluetooth: hci0 SCO packet for unknown connection handle 6
Jul 29 13:47:21 imac kernel: [ 9252.736147] Bluetooth: hci0 SCO packet for unknown connection handle 6
Jul 29 13:47:21 imac kernel: [ 9252.736149] Bluetooth: hci0 SCO packet for unknown connection handle 6
Jul 29 13:46:59 imac bluetoothd[791]: Audio connection got disconnected
Jul 29 13:49:26 imac bluetoothd[791]: Unable to get service record: Connection timed out (110)
It is impossible to re-connect the headset after that.
Anything I can do to provide more data?
Changed in blueman (Ubuntu): | |
status: | Confirmed → Fix Released |
Gabriele Santilli (santilli-gabriele) wrote : | #117 |
I confirm I can connect using Blueman. In that case though, I have to load the bluetooth module on PulseAudio manually.
I guess this is an acceptable work around for now, but it would be nice if it simply worked like it did on 13.10.
Gabriele Santilli (santilli-gabriele) wrote : | #118 |
I can connect using Blueman... but if I actually use the headset it starts distorting the audio after a minute or so and then disconnects.
Armando (army-r-c) wrote : | #120 |
# 14 worked for me...
Had the same problem fixed it with:
"pactl list cards short" to get the device id
then I did "pactl set-card-profile x a2dp"
where X is your device id
found it by reading
http://
Warren (wseverin) wrote : | #121 |
I discovered this problem this morning while trying to set up my laptop with a bluetooth headset (Moto S305) for a pending video conference. Some Googling led me to this thread and comment #93, and the fix works just fine. "Trusty" being a LTS release, there are sure to be many other people affected indefinitely until an update appears in the standard "Trusty" ppa's. Hope that will be soon.
Felipe Micaroni Lalli (micaroni) wrote : | #123 |
This bug wasn't fixed yet.
Changed in pulseaudio (Ubuntu): | |
status: | Invalid → Confirmed |
Felipe Micaroni Lalli (micaroni) wrote : | #124 |
Reading the comments it isn't clear the problem is on pulseaudio. In my case sometimes when I try to connect to my headset I get a crash on unity-control-
Ubuntu 14.04 - Notebook Dell Inspiron 5748
affects: | pulseaudio (Ubuntu) → ubuntu |
Changed in ubuntu: | |
assignee: | David Henningsson (diwic) → nobody |
Glenn Brumfield (brumfield-glenn) wrote : | #125 |
There may be light at the end of the tunnel - Ubuntu 14.10 beta 1 as of 18 September is working properly for bluez streaming audio to my BT headset using a2dp properly. Headset is showing up under Settings>Sound. Now if they could just get Network Manager to work again...WiFi quit working.
tags: | added: ua |
Don Weiss (henrodon) wrote : | #126 |
This bug bugs me as well in 14.04 on all three family computers. My headsets pair, but bluetooth doesn't show up as an option in the Sound Settings. Irritating!
JohnDoe_71Rus (johndoe99) wrote : | #127 |
pactl load-module module-
work for me. lubuntu 14.04. How to fix it?
Try add this command to autostart, don't work. Only run command in console. Then i can connect bluetooth headset.
Rolf Leggewie (r0lf) wrote : | #128 |
upstream ticket https:/
John Walker (crew-j) wrote : | #129 |
Totally frustrating trying various 'solutions' that do not make a difference.
Unable to pair with headset under new 14.04 installation. Having attempted various recommended downloads, e.g. blueman, bluez, etc. have progressed to 'seeing' the device after a while, but pairing does not complete.
This is a Dell laptop. Bluetooth works fine under Windows partition on this same laptop, so not a hardware issue?
So many red herrings it appears, e.g. firmware?
Need a SOLUTION!
Nov 18 10:30:01 fuga4 bluetoothd[634]: Bluetooth daemon 4.101
Nov 18 10:30:01 fuga4 bluetoothd[634]: Starting SDP server
Nov 18 10:30:01 fuga4 bluetoothd[634]: DIS cannot start: GATT is disabled
Nov 18 10:30:01 fuga4 bluetoothd[634]: Failed to init deviceinfo plugin
Nov 18 10:30:01 fuga4 bluetoothd[634]: Failed to init proximity plugin
Nov 18 10:30:01 fuga4 bluetoothd[634]: Failed to init time plugin
Nov 18 10:30:01 fuga4 bluetoothd[634]: Failed to init alert plugin
Nov 18 10:30:01 fuga4 bluetoothd[634]: Failed to init thermometer plugin
Nov 18 10:30:01 fuga4 bluetoothd[634]: Failed to init gatt_example plugin
Nov 18 10:30:01 fuga4 bluetoothd[634]: Bluetooth Management interface initialized
Nov 18 10:30:01 fuga4 bluetoothd[634]: hci0: Load Long Term Keys (0x0013) failed: Not Supported (0x0c)
Nov 18 10:30:02 fuga4 bluetoothd[634]: Adapter /org/bluez/634/hci0 has been enabled
Nov 18 10:30:09 fuga4 gnome-session[
Nov 18 10:30:09 fuga4 bluetoothd[634]: Endpoint registered: sender=:1.40 path=/MediaEndp
Nov 18 10:30:09 fuga4 bluetoothd[634]: Endpoint registered: sender=:1.40 path=/MediaEndp
Nov 18 10:30:09 fuga4 bluetoothd[634]: Endpoint registered: sender=:1.40 path=/MediaEndp
Nov 18 10:30:09 fuga4 bluetoothd[634]: Endpoint registered: sender=:1.40 path=/MediaEndp
Nov 18 10:30:21 fuga4 bluetoothd[634]: Discovery session 0xb8186538 with :1.55 activated
Nov 18 10:32:45 fuga4 bluetoothd[634]: Discovery session 0xb8186538 with :1.65 activated
Nov 18 10:32:48 fuga4 bluetoothd[634]: hci0: Confirm Name (0x0025) failed: Invalid Parameters (0x0d)
Nov 18 10:32:56 fuga4 bluetoothd[634]: Stopping discovery
Nov 18 10:33:01 fuga4 bluetoothd[634]: hci0: Cancel Pair Device (0x001a) failed: Invalid Parameters (0x0d)
john@fuga4:
john@fuga4:
[sudo] password for john:
Failure: Module initialization failed
fragargon (fragargon) wrote : | #130 |
hi,
got the same bug, bluetooth doesn't connect to my jbl pulse (wireless bluetooth speaker). However the command given works
pactl load-module module-
It needs to be launched at each reboot into terminal. my work around is the following:
a create a sh script blueauto
[code]
#!/bin/sh
sleep 15
pactl load-module module-
[/code]
in terminal ==> chmod a+r /to/your/
and then go to your startup application (controle center) and select the script.
it doesn't connect automaticaly, you need to connect it. but this is a workaround till blueman developer solved this bug.
Glenn Brumfield (brumfield-glenn) wrote : | #131 |
For my Ubuntu 14.04, [CODE] pactl load-module module-
Glenn Brumfield (brumfield-glenn) wrote : | #132 |
As a comparison, Lubuntu 14.04 using Blueman and ath9k is able to pair, connect and stream audio using A2DP. On a diferrent notebook, Ubuntu 14.04 using the default bluetooth application (is it gnome-bluetooth now or bluez?) and iwlwifi only occasionally pairs with the same headset and never streams audio. With Blueman installed, it still does not want to connect and stream audio using Blueman instead.of the default.
Perhaps a knowledgeable comparison between the two (Ubuntu vs Lubuntu) would be enlightening?
Changed in ubuntu: | |
status: | Confirmed → New |
MrMjolnir (nachoarsuaga) wrote : | #133 |
Same issue with Ubuntu 14.04 and Denon DHT-T100.
The two systems pair correctly, but no sound.
After following instructions from comment #92, and rebooting, it worked. I can see the ne Sound Output hardware on the sound configuration panel.
Thank you, cschramm.
Nacho
Launchpad Janitor (janitor) wrote : | #134 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in ubuntu: | |
status: | New → Confirmed |
G (c0ffeeartc) wrote : | #135 |
I have same problem with bluetooth keyboard. Dunno if it is related but there is no path /org/bluez/*/hci0 in my system
$ bluez-test-manager &
Default adapter is now at path /org/bluez/566/hci0
$ cd /org
bash: cd: /org: No such file or directory
$ bluez-test-adapter list
[ /org/bluez/566/hci0 ]
Name = z-0
Powered = 1
Devices = dbus.Array(
Discoverabl
PairableTimeout = 0
Discoverable = 0
Address = C4:85:08:3C:0E:8C
Discovering = 0
Pairable = 1
Class = 0x000000
UUIDs = dbus.Array(
jonmillard (jon-i-millard) wrote : | #136 |
Just bought a BT soundbase base (Target brand, generic). Am running Ubuntu 14.04, and can confirm these issues for my part as well. Also can confirm that entering the comment "pactl load-module module-
returningshadow (reidwicks) wrote : | #137 |
Running `gksudo pactl load-module module-
http://
Would really like this fixed. It's obvious that the drivers are there, but the OS itself is messing something up.
garypeg (pegngary) wrote : | #138 |
Add me to the list of those effected. I have to go through quite the rigamarole to get it working
1) in terminal sudo pactl load-module module-
2) blueman- setup, choose A2DP
3) PAVU- select A2DP
4) Then I select the device with the volume/sound settings.
14.04 with all the latest updates. I hope this issue can be addressed. Thanks!
Danil Smirnov (ulrith) wrote : | #139 |
Have exactly the same issue like poster has.
Working solution:
http://
davide (davicaputo) wrote : | #140 |
I'm having the same problem with a Bose Soundlink III and msi laptop with ubuntu 14.04 64 bit. I can confirm that a working solution is(as reported above): http://
I think that my problem was the absence of pavucontrol package. After its installation and rebooting the machine the bluetooth connection works well (I have only to put manually as main audio peripheral the soundlink III in the audio control panel).
I hope this helps.
Pablo Guevara (pablomguevara) wrote : | #141 |
Same issue dell E5530 Ubuntu 14.04.1 LTS
instructions on #138 work for me also
gregrwm (gregrwm) wrote : | #142 |
things are a little better for me on vivid. my 2 headsets both pair, will set as Headset Service, show up in pavucontrol, and even work with gmail(via firefox via google chat plugin)!
still not working: bose soundlink iii will pair, and even work via ~/.asoundrc, but will not show up pavucontrol.
also not working: neither linphone, sflphone, nor ekiga can find my headsets.
gregrwm (gregrwm) wrote : | #143 |
i should mention in /etc/bluetooth/
Enable=Socket
V字龍(Vdragon) (vdragon) wrote : | #144 |
Hi, I managed to "workaround" this issue by following Mattia Belluco's workaround by the following Debian bug report message:
https:/
```
More specifically to make a bluetooth headset work in A2DP mode I had to
change settings in audio.conf:
SCORouting=PCM
and keep sure Socket stay disabled.
Once you've done that you would still get a "Stream setup failed error"
unless you manually load module-
$ pactl load-module module-
If the module was not loaded you'll get a number as exit code and that
being the case your next connection attempt should succeed.
I hope that helps.
```
N4RPS (n4rps-m) wrote : | #145 |
Hello!
We fixed this in Linux Lite months ago. What you folks need is the latest version of blueman from the PPA.
More details here:
https:/
Hope this helps; works for me...
73 DE N4RPS
Rob
Angel-inn (christian-bizet) wrote : | #146 |
I find this workaround:
cb@cb-AO725:~$ sudo /etc/init.
[sudo] password for cb:
* Stopping bluetooth [ OK ]
* Starting bluetooth [ OK ]
cb@cb-AO725:~$ pulseaudio -k
cb@cb-AO725:~$ pulseaudio --start
But it's working only sometime !
affects: | ubuntu → bluez (Ubuntu) |
rpkrawczyk (rpkrawczyk) wrote : | #147 |
The only thing working seems to be the fix in #29... Anything else so far?
iliyanconev@hotmail.com (iliyanconev) wrote : | #148 |
Hi everyone
We al have faced the same problem with Bluetooth not connecting. Managed to fix the issue, this way:
1.You need root permissions
2. Go to Computer/
Add to - [General]
Enable = Sink
Enable= Source
Enable=Gateway
Remove the # before :
1.Disable=
2.AutoConnect=true
3.[Headset]
4.[HFP=true
5.[A2DP]
SBCSources=1
MPEG12Sources=0
dreamon (db4mt) wrote : | #149 |
hello
this helped me out.
sudo apt-get purge pulseaudio-
sudo apt-get install blueman bluez pulseaudio-
pactl load-module module-
found here -> http://
but works on Ubuntu 14.04 perfect (for me) .. good luck
Torsten Harenberg (harenberg) wrote : | #150 |
After reading a lot of bug reports and trying several solutions which helped other people (for example #149), but I am still stuck getting Ubuntu 14.04 to work with Bose Soundlink Headphones. Host is a Lenovo Carbon X1 Carbon 3rd gen - having an Intel 7265 card.
I am able to pair, and also can set the A2DP profile for this device. After a couple of seconds however, the device disconnects and kernel log has a couple of
[ 50.181581] Bluetooth: hci0 SCO packet for unknown connection handle 0
lines. Afterwards, the device rejects re-connection, only re-pairing will bring it back to a connected state.
The device works fine with other hosts like several Android phones and tablets, a MacBookAir running OS X, but I also got it running with the same laptop (!) running Ubuntu 15.04. However, for my work I need to stick with 14.04 to be compatible with colleagues.
Suspected a bug in the firmware, but I couldn't found newer firmware than the one already used:
[ 760.815953] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-
[ 760.895882] Bluetooth: hci0: Intel Bluetooth firmware patch completed and activated
Tried several kernel versions, no luck either.
Anyone with a idea how to fix the "SCO packet for unknown connection handle" problem?
Torsten Harenberg (harenberg) wrote : | #151 |
Sorry for self-replying.. after another hour, I applied #15, deleted the pairing, used blueman to re-pair and now it works :). Finally :) Thanks everyone for the nice thread.
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote : | #152 |
Currently, on Lubuntu Trusty, I have no problems with Skullcandy Hesh 2 and:
* kernel 3.13.0-63-generic #103
* pulseaudio 1:4.0-0ubuntu11
* bluez 4.101-0ubuntu13.1
* blueman 1.23-git2014031
though I will note it's not always as seamless as I would like. I've discovered elsewhere people suggesting that the adapter is turned on after pulse does its check for bluetooth adapters. That leaves you two choices:
1. pactl load-module module-
2. remove the conditional from /etc/pulse/
neither of which are particularly elegant, but oh well.
This and similar issues are ultimately an aesthetic issue, though, and deserve a separate bug report, as this more general one has brown extensive enough. From my experience, audio sink service (A2DP) *IS* possible with current versions.
I'm inclined to call this fixed, unless I hear otherwise from folks.
Malcolm Brown (waimangu) wrote : | #153 |
I have two notebook computers - a Toshiba and a Fujitsu both of which are very old and are both dual boot computers with Windows 7 and Ubuntu 14.04 LTE 32 bit. Both computers and both operating systems work fine with Bluetooth linking to a Bose mini soundlink speaker for playing music. I use a USB bluetooth dongle for the link and all works well.
However, with a much newer laptop, a Toshiba Satellite Pro C50-A-1K9 running the 64 bit version of Ubuntu 14.04 LTE I cannot get bluetooth to work despite using the same dongle and the same speaker. The first time it finds the device, attempts to pair, but asks that a particular 4 digit code be entered from the device. This is of course impossible as the Bose mini soundlink speaker does not have a keypad! Further attempts to search for bluetooth devices after this first time find nothing. If I then go back to the old notepad computers they also cannot find the device at all with either Windows or Ubuntu 14.04 32 bit. I strongly suspect that the 64 bit version of Ubuntu 14.04 LTE has sent a code to the speaker which prevents it linking via bluetooth thereafter.
If anyone else has the Bose mini soundlink speaker and needs to overcome this problem, then
Perform a factory reset on the speaker by first turning it on then holding down the bluetooth button for about ten seconds when the speaker beeps and will now work again with the old computers and windows 7 or Ubuntu 14.04 LTE 32 bit.
Hope a skilled programmer finds the bug!
Glenn Brumfield (brumfield-glenn) wrote : | #154 |
I've applied all the fixes that folks have recommended; I still need to do the workaround from comment #29
{QUOTE] Test by:
pactl list | grep -i module-
If empty load via
pactl load-module module-
Just think, in 4 more months Ubuntu 14.04 will be EOL and this will still be an open bug! So much for the much-vaunted LTS releases...
This is far from fixed IMO.
John (jdr23bc) wrote : | #155 |
I experienced the exact same issue as in the description. My problem seemed to be caused by the system auto-logging into the guest account on boot. After I disabled that feature the issue was resolved for my main account
Dariusz Płoszaj (zakapior1983) wrote : | #156 |
The same problem for me,I can't change my sound quality in my JBL Extreme speaker :/
tags: | added: xenial |
Changed in gnome-bluetooth (Ubuntu): | |
importance: | Undecided → High |
Changed in blueman (Ubuntu): | |
importance: | Undecided → High |
lupa (lupa18) wrote : | #157 |
+1
Boris (just-boris) wrote : | #158 |
I have got this bug. If you need some debug information, I can provide it.
Hamidreza Jafari (hamidrjafari) wrote : | #159 |
Buggy bluetooth has been around since 15.04 when I had devices to connect. I experience similar problems as many others that the connection is full of bug and pray. It is time it change!
I am using Ubuntu 16.04, XUbuntu 16.04 and Ubuntu 15.04.
Let me know if I can contribute with log reports etc.
Compinfer (nvkinf) wrote : | #160 |
After upgrade from ubuntu 14.04 to 16.04 can not switch from A2DP to HSP in gnome-control-
MarcVG (marc-vangiel) wrote : | #161 |
Same problem in 16.04 on Dell 5510 Precision workstation.
Bose Soundlink (Tangent-BT) gets paired, but does not show in control panel as output option.
Bose Mini Soundlink gets paired, but does not show as output option.
However, Jawbone Big Jambox gets paired, AND shows up as "headset" output option. But sounds distorted and volume ramps up and down again at times.
andrew.gedz (andrew.gedz) wrote : | #162 |
I've got problem with Jabra Rox Wireless in pairing mode hangs up ubuntu 16.04(current) also same problem on previously installed 14.04. What info I can provide to help to investigate this ?
Michaele Raffeisen (qvm) wrote : | #163 |
I am Affected Too! I bought a Headset it aint working. got it working once or twice with a lot of work as far as I can tell it sometimes it works and sometimes doesn't with those workarounds described here. I haven't found a permanent solution for the Problem though. pairing process works fine. but my headset doesn't show up in pulseaudio.
Brian Taber (btaber) wrote : | #164 |
what an ordeal to get a bluetooth headset working in 16.04, way worse than 14.04 was (at least in 14.04 it only would not keep the output profile and had to select the headset output on every re-connection)
I have a Voyager Legend that will pair but not function. This device shows up initially as headset unit (mono) but selecting it does not work. I have to restart the bluetooth service, kill pulseaudio, then sometimes it will start working in HSP. Then I change it to A2DP mode and it stops working (I can not select it as output anymore, when I change it to A2Dp it jumps from the headse to the first output, selecting headset again it is back in HSP). I have to restart bluetooth again and kill pulseaudio again then I can select it and change to A2DP finally and it keeps and works perfectly... until I disconnect the headset walking away or turn it off.
when I turn it back on again I get no output. looking at logs I see
[pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.
any attempt to play audio this error appears. Doing all the "tricks" above ALSO does nothing to fix the sink issue. I have to now change the profile from A2DP back to HSP, then click test a few times and the headset connects, but I can not change it to A2DP again as it jumps up to top output again.
Now at this point I have to do all of the first tricks again (kill pulse, restart blue, etc) and then SOMETIMES I can select A2DP again and it will work again, but many times I have to do this 2 or more times before it will finally work
On a side note at least I was able to use my headset on 14.04 with both my computer and my cell phone at the same time, now that is impossible as it never works if the phone is connected
ccd (kontakt-x) wrote : | #165 |
I've the same or similar issue with 16.04,
When i turn on my Headset and connect via Bluetooth, it starts with different Profiles depending on the previous status:
If I've previously used A2DP it will starts with off
If I've used HSP or switched back to it before turning the headset off, it starts with HSP
Workaround:
If It starts with Off, i can't select A2DP it always jumps back, but if I select HSP manually, turn the Headset off and on again it will now start with Profile HSP and I'm now able to select A2DP, if I switch back to the HSP Profile, before turning my Headset off / disconnecting it, it will also work the next start, if I stay on the A2DP Profile before turning off / disconnecting, I've to redo the Workaround steps from beginning.
It looks like the driver (or whatever) can't handle to start with A2DP Profile. It was really painfull until I've read about the workaround in another forum, it is still annoying but at least i don't need to restart any services or make a reboot
Konrad Zapałowicz (kzapalowicz) wrote : | #166 |
Hey,
@all this is to inform that we are aware of these issues and will be investing time into improving the headsets experience.
tags: | added: papercuts2017 |
svan001 (stephane-gronowski) wrote : | #167 |
Same for me, my new bluetooth speaker is paired but I can't stream the audio to it.
Someone posted a fix for this (worked for me and other people) at askubuntu here (first answer) : http://
seems pulseausio / X11 related
Saurav Sengupta (sauravsengupta) wrote : | #168 |
The Bluetooth device works as an audio output device just fine in the live session. Perhaps this is broken by some update? I tried downgrading all PulseAudio-related packages to the original release versions, but no luck.
Re comment #167: The fix does not work for me (Ubuntu GNOME 16.10).
Saurav Sengupta (sauravsengupta) wrote : | #169 |
I got a bluetoothd crash, but I cannot get apport to report it (nothing happens if I select the option to send an error report). I have saved the .crash file and can attach it here if required.
Bluetooth audio works on KDE (Kubuntu). If KDE (kubuntu-desktop) is installed alongside GNOME, it works on GNOME as well(!).
Saurav Sengupta (sauravsengupta) wrote : | #170 |
Sorry for the comments above, it was my mistake. The fix reported about in comment #167 does indeed work.
tags: | added: a2dp |
summary: |
- [Bluetooth + 14.04] Bluetooth headsets are not working after last couple - of updates + Bluetooth headset/speakers listed but not selectable in Sound settings |
Changed in pulseaudio (Ubuntu): | |
importance: | Undecided → High |
status: | New → Confirmed |
assignee: | nobody → Daniel van Vugt (vanvugt) |
status: | Confirmed → In Progress |
Changed in bluez (Ubuntu): | |
status: | Confirmed → Invalid |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
no longer affects: | bluez (Ubuntu Xenial) |
Changed in pulseaudio (Ubuntu Xenial): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in pulseaudio (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in pulseaudio (Ubuntu Xenial): | |
status: | Triaged → In Progress |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in pulseaudio (Ubuntu): | |
assignee: | Daniel van Vugt (vanvugt) → nobody |
description: | updated |
Chris Halse Rogers (raof) wrote : Please test proposed package | #171 |
Hello Fabien, or anyone else affected,
Accepted pulseaudio into xenial-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
Changed in pulseaudio (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
tags: | added: verification-needed |
tags: |
added: verification-done removed: verification-needed |
Daniel van Vugt (vanvugt) wrote : | #172 |
Verified. Using the proposed packages my bluetooth audio device is no longer randomly unselectable.
Saurav Sengupta (sauravsengupta) wrote : | #173 |
Can we get an update for Zesty?
Daniel van Vugt (vanvugt) wrote : | #174 |
Zesty already contains the latest release (and all fixes):
https:/
So if you have a problem with zesty, please log a new bug.
Saurav Sengupta (sauravsengupta) wrote : | #175 |
Even after applying all updates on Ubuntu GNOME 17.04, my Bluetooth audio device doesn't show up in the Sound settings. The workaround mentioned in comment #167 still works.
tags: |
added: verification-done-xenial removed: verification-done |
Launchpad Janitor (janitor) wrote : | #176 |
This bug was fixed in the package pulseaudio - 1:8.0-0ubuntu3.3
---------------
pulseaudio (1:8.0-0ubuntu3.3) xenial; urgency=medium
[Luke Yelavich, Konrad Zapałowicz]
* Fixed multiple interrelated problems with using Bluetooth audio (A2DP),
where users would experience some combination of:
- Bluetooth headset/speakers listed but not selectable in Sound settings
(LP: #1283003)
- [regression] Bluetooth audio no longer supports A2DP (stuck in HSP/HFP
mode) (LP: #1438510)
- [xenial] Bluetooth device doesn't play any sound in A2DP mode unless set
to HSP/HFP first (LP: #1582213)
* Specific patches from upstream used to address the above problems:
- 0103-bluetooth-
- 0104-bluetooth-
- 0106-bluetooth-
. Backport from upstream to fix a bug in Xenial where an incorrect
audio profile is applied for a headset connected over Bluetooth
making using it impossible.
- 0105-bluetooth-
. Fix a crash that happens if the BT headset is the only non-monitor
source in the system and the last "phone" stream dies.
- 0700-pulsecore-
. Backport from upstream (commit 7b6260140149) to allow for correct
profile selection.
- 0701-bluetooth-
. Backport from upstream waiting for all profiles to connect before
creating a card.
-- Daniel van Vugt <email address hidden> Tue, 23 May 2017 16:24:14 +0800
Changed in pulseaudio (Ubuntu Xenial): | |
status: | Fix Committed → Fix Released |
Brian Murray (brian-murray) wrote : Update Released | #177 |
The verification of the Stable Release Update for pulseaudio has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
Jeremy Bícha (jbicha) wrote : | #178 |
I closed the gnome-bluetooth part of this bug since this was apparently fixed in pulseaudio instead.
Changed in gnome-bluetooth (Ubuntu Xenial): | |
status: | New → Invalid |
Changed in gnome-bluetooth (Ubuntu): | |
status: | Confirmed → Invalid |
I am having the same problem with the Bose Soundlink III worked (mostly fine) until Friday evening updates (02-28-2014), .
In fact, if I enable bluetooth from the setting dialog it immediately stops after enabling. If I hardware disable bluetooth, then turn it back on I can then try and pair the device, but nothing is ever found. I did see some bluetooth and pulse audio updates come down the pike, but no idea what is causing this problem
If there is any information I could provide that would be helpful please let me know.
Lenovo T61P
Ubuntu 14.04 - 3.13.0-10-generic