Ubuntu 18.04: Bluetooth device disconnects right after connect on Lenovo P50
After upgrade from 17.10 to 18.04, any device I connect to only stays connected for a couple of seconds. My laptop is a Lenovo P50 (20ENCTO1WW)
/var/log/syslog reports:
pulseaudio[????]: [pulseaudio] bluez5-util.c: Information about device /org/bluez/hci0/dev_???????? invalid
bluetoothd[????]: Endpoint replied with an error: org.bluez.Error.InvalidArguments
Obviously the question marks represent some id's (pid's and bluetooth id in this case)
Any clue on fix or workaround?
bluetooth lenovo 18.04 disconnect
add a comment |
After upgrade from 17.10 to 18.04, any device I connect to only stays connected for a couple of seconds. My laptop is a Lenovo P50 (20ENCTO1WW)
/var/log/syslog reports:
pulseaudio[????]: [pulseaudio] bluez5-util.c: Information about device /org/bluez/hci0/dev_???????? invalid
bluetoothd[????]: Endpoint replied with an error: org.bluez.Error.InvalidArguments
Obviously the question marks represent some id's (pid's and bluetooth id in this case)
Any clue on fix or workaround?
bluetooth lenovo 18.04 disconnect
add a comment |
After upgrade from 17.10 to 18.04, any device I connect to only stays connected for a couple of seconds. My laptop is a Lenovo P50 (20ENCTO1WW)
/var/log/syslog reports:
pulseaudio[????]: [pulseaudio] bluez5-util.c: Information about device /org/bluez/hci0/dev_???????? invalid
bluetoothd[????]: Endpoint replied with an error: org.bluez.Error.InvalidArguments
Obviously the question marks represent some id's (pid's and bluetooth id in this case)
Any clue on fix or workaround?
bluetooth lenovo 18.04 disconnect
After upgrade from 17.10 to 18.04, any device I connect to only stays connected for a couple of seconds. My laptop is a Lenovo P50 (20ENCTO1WW)
/var/log/syslog reports:
pulseaudio[????]: [pulseaudio] bluez5-util.c: Information about device /org/bluez/hci0/dev_???????? invalid
bluetoothd[????]: Endpoint replied with an error: org.bluez.Error.InvalidArguments
Obviously the question marks represent some id's (pid's and bluetooth id in this case)
Any clue on fix or workaround?
bluetooth lenovo 18.04 disconnect
bluetooth lenovo 18.04 disconnect
edited May 17 '18 at 11:54
Maarten
asked May 17 '18 at 11:48
MaartenMaarten
78110
78110
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
I ran into this issue on my Lenovo P51 running Ubuntu 18.04, and I discovered that the pactl module "module-bluetooth-discover" was not loading properly at boot time. I fixed the issue by replacing it with "module-bluez5-discover" in my pulse configuration.
You can test this by running:sudo pactl unload-module module-bluetooth-discover
sudo pactl load-module module-bluez5-discover
And try to repair/reconnect your devices. If it works, replicate the following configuration in your /etc/pulse/default.pa config.
# Modify: /etc/pulse/default.pa
# Comment out the following line
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
# Replace it with ...
.ifexists module-bluez5-discover.so
load-module module-bluez5-discover
.endif
My suspicion is that this is a change that was made during the switch from Unity to Gnome and the leftover configurations remained, leaving the standard Bluetooth modules behind which don't load correctly.
After switching to bluez5, I have since had no issues, and Bluetooth connects without complaint on my mobile phone, mouse, and headset. :)
EDIT: I also followed several steps mentioned here: Bluetooth doesn't work after resuming from sleep, Ubuntu 18.04 LTS
To exactly replicate my configuration, make sure you apt-get install bluez blueman pulseaudio
to have all the same packages. As was suggested in the referenced problem, I believe this was caused by upgrading to 18.04 from 17.04.
1
Hey. When I ranpactl load-module module-bluez5-discovery
. got this messageFailure: Module initialization failed
any idea how to debug?
– Ankur Loriya
Jul 29 '18 at 8:08
I edited the mistakes in the "pactl" command (removed the y after discover and also added sudo...
– LifeBoy
Oct 15 '18 at 17:52
add a comment |
The solution which has worked for months, was to upgrade to a newer version of bluez, as described here: Bluetooth doesn't work after resuming from sleep, Ubuntu 18.04 LTS. But recently I experienced regression: I get the same behaviour as before. But in an attempt to solve it, I downgraded to an old version of bluez and later upgraded back to the same version that stopped working properly (5.50-0ubuntu0ppa1 in my case) which solved the problem for now. So reinstalling seems to fix or mitigate something. Seems likely this can happen again sometime in the future ...
add a comment |
I had the same issue as the OP (disconnect after connect), but mine was using a CSR Bluetooth 4.0 Dongle.
My system was loading the bluez5-discover module and the bluetooth-discover module for some reason.
Performing the test above resulted in me being able to pair my Bluedio t5 headset.
Editing the /etc/pulse/default.pa like above resulted in the correct operation of bluetooth on my system through reboots.
Thank you!
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1037370%2fubuntu-18-04-bluetooth-device-disconnects-right-after-connect-on-lenovo-p50%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
I ran into this issue on my Lenovo P51 running Ubuntu 18.04, and I discovered that the pactl module "module-bluetooth-discover" was not loading properly at boot time. I fixed the issue by replacing it with "module-bluez5-discover" in my pulse configuration.
You can test this by running:sudo pactl unload-module module-bluetooth-discover
sudo pactl load-module module-bluez5-discover
And try to repair/reconnect your devices. If it works, replicate the following configuration in your /etc/pulse/default.pa config.
# Modify: /etc/pulse/default.pa
# Comment out the following line
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
# Replace it with ...
.ifexists module-bluez5-discover.so
load-module module-bluez5-discover
.endif
My suspicion is that this is a change that was made during the switch from Unity to Gnome and the leftover configurations remained, leaving the standard Bluetooth modules behind which don't load correctly.
After switching to bluez5, I have since had no issues, and Bluetooth connects without complaint on my mobile phone, mouse, and headset. :)
EDIT: I also followed several steps mentioned here: Bluetooth doesn't work after resuming from sleep, Ubuntu 18.04 LTS
To exactly replicate my configuration, make sure you apt-get install bluez blueman pulseaudio
to have all the same packages. As was suggested in the referenced problem, I believe this was caused by upgrading to 18.04 from 17.04.
1
Hey. When I ranpactl load-module module-bluez5-discovery
. got this messageFailure: Module initialization failed
any idea how to debug?
– Ankur Loriya
Jul 29 '18 at 8:08
I edited the mistakes in the "pactl" command (removed the y after discover and also added sudo...
– LifeBoy
Oct 15 '18 at 17:52
add a comment |
I ran into this issue on my Lenovo P51 running Ubuntu 18.04, and I discovered that the pactl module "module-bluetooth-discover" was not loading properly at boot time. I fixed the issue by replacing it with "module-bluez5-discover" in my pulse configuration.
You can test this by running:sudo pactl unload-module module-bluetooth-discover
sudo pactl load-module module-bluez5-discover
And try to repair/reconnect your devices. If it works, replicate the following configuration in your /etc/pulse/default.pa config.
# Modify: /etc/pulse/default.pa
# Comment out the following line
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
# Replace it with ...
.ifexists module-bluez5-discover.so
load-module module-bluez5-discover
.endif
My suspicion is that this is a change that was made during the switch from Unity to Gnome and the leftover configurations remained, leaving the standard Bluetooth modules behind which don't load correctly.
After switching to bluez5, I have since had no issues, and Bluetooth connects without complaint on my mobile phone, mouse, and headset. :)
EDIT: I also followed several steps mentioned here: Bluetooth doesn't work after resuming from sleep, Ubuntu 18.04 LTS
To exactly replicate my configuration, make sure you apt-get install bluez blueman pulseaudio
to have all the same packages. As was suggested in the referenced problem, I believe this was caused by upgrading to 18.04 from 17.04.
1
Hey. When I ranpactl load-module module-bluez5-discovery
. got this messageFailure: Module initialization failed
any idea how to debug?
– Ankur Loriya
Jul 29 '18 at 8:08
I edited the mistakes in the "pactl" command (removed the y after discover and also added sudo...
– LifeBoy
Oct 15 '18 at 17:52
add a comment |
I ran into this issue on my Lenovo P51 running Ubuntu 18.04, and I discovered that the pactl module "module-bluetooth-discover" was not loading properly at boot time. I fixed the issue by replacing it with "module-bluez5-discover" in my pulse configuration.
You can test this by running:sudo pactl unload-module module-bluetooth-discover
sudo pactl load-module module-bluez5-discover
And try to repair/reconnect your devices. If it works, replicate the following configuration in your /etc/pulse/default.pa config.
# Modify: /etc/pulse/default.pa
# Comment out the following line
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
# Replace it with ...
.ifexists module-bluez5-discover.so
load-module module-bluez5-discover
.endif
My suspicion is that this is a change that was made during the switch from Unity to Gnome and the leftover configurations remained, leaving the standard Bluetooth modules behind which don't load correctly.
After switching to bluez5, I have since had no issues, and Bluetooth connects without complaint on my mobile phone, mouse, and headset. :)
EDIT: I also followed several steps mentioned here: Bluetooth doesn't work after resuming from sleep, Ubuntu 18.04 LTS
To exactly replicate my configuration, make sure you apt-get install bluez blueman pulseaudio
to have all the same packages. As was suggested in the referenced problem, I believe this was caused by upgrading to 18.04 from 17.04.
I ran into this issue on my Lenovo P51 running Ubuntu 18.04, and I discovered that the pactl module "module-bluetooth-discover" was not loading properly at boot time. I fixed the issue by replacing it with "module-bluez5-discover" in my pulse configuration.
You can test this by running:sudo pactl unload-module module-bluetooth-discover
sudo pactl load-module module-bluez5-discover
And try to repair/reconnect your devices. If it works, replicate the following configuration in your /etc/pulse/default.pa config.
# Modify: /etc/pulse/default.pa
# Comment out the following line
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
# Replace it with ...
.ifexists module-bluez5-discover.so
load-module module-bluez5-discover
.endif
My suspicion is that this is a change that was made during the switch from Unity to Gnome and the leftover configurations remained, leaving the standard Bluetooth modules behind which don't load correctly.
After switching to bluez5, I have since had no issues, and Bluetooth connects without complaint on my mobile phone, mouse, and headset. :)
EDIT: I also followed several steps mentioned here: Bluetooth doesn't work after resuming from sleep, Ubuntu 18.04 LTS
To exactly replicate my configuration, make sure you apt-get install bluez blueman pulseaudio
to have all the same packages. As was suggested in the referenced problem, I believe this was caused by upgrading to 18.04 from 17.04.
edited Oct 15 '18 at 18:27
LifeBoy
12217
12217
answered Jun 27 '18 at 14:50
Dark SingularityDark Singularity
412
412
1
Hey. When I ranpactl load-module module-bluez5-discovery
. got this messageFailure: Module initialization failed
any idea how to debug?
– Ankur Loriya
Jul 29 '18 at 8:08
I edited the mistakes in the "pactl" command (removed the y after discover and also added sudo...
– LifeBoy
Oct 15 '18 at 17:52
add a comment |
1
Hey. When I ranpactl load-module module-bluez5-discovery
. got this messageFailure: Module initialization failed
any idea how to debug?
– Ankur Loriya
Jul 29 '18 at 8:08
I edited the mistakes in the "pactl" command (removed the y after discover and also added sudo...
– LifeBoy
Oct 15 '18 at 17:52
1
1
Hey. When I ran
pactl load-module module-bluez5-discovery
. got this message Failure: Module initialization failed
any idea how to debug?– Ankur Loriya
Jul 29 '18 at 8:08
Hey. When I ran
pactl load-module module-bluez5-discovery
. got this message Failure: Module initialization failed
any idea how to debug?– Ankur Loriya
Jul 29 '18 at 8:08
I edited the mistakes in the "pactl" command (removed the y after discover and also added sudo...
– LifeBoy
Oct 15 '18 at 17:52
I edited the mistakes in the "pactl" command (removed the y after discover and also added sudo...
– LifeBoy
Oct 15 '18 at 17:52
add a comment |
The solution which has worked for months, was to upgrade to a newer version of bluez, as described here: Bluetooth doesn't work after resuming from sleep, Ubuntu 18.04 LTS. But recently I experienced regression: I get the same behaviour as before. But in an attempt to solve it, I downgraded to an old version of bluez and later upgraded back to the same version that stopped working properly (5.50-0ubuntu0ppa1 in my case) which solved the problem for now. So reinstalling seems to fix or mitigate something. Seems likely this can happen again sometime in the future ...
add a comment |
The solution which has worked for months, was to upgrade to a newer version of bluez, as described here: Bluetooth doesn't work after resuming from sleep, Ubuntu 18.04 LTS. But recently I experienced regression: I get the same behaviour as before. But in an attempt to solve it, I downgraded to an old version of bluez and later upgraded back to the same version that stopped working properly (5.50-0ubuntu0ppa1 in my case) which solved the problem for now. So reinstalling seems to fix or mitigate something. Seems likely this can happen again sometime in the future ...
add a comment |
The solution which has worked for months, was to upgrade to a newer version of bluez, as described here: Bluetooth doesn't work after resuming from sleep, Ubuntu 18.04 LTS. But recently I experienced regression: I get the same behaviour as before. But in an attempt to solve it, I downgraded to an old version of bluez and later upgraded back to the same version that stopped working properly (5.50-0ubuntu0ppa1 in my case) which solved the problem for now. So reinstalling seems to fix or mitigate something. Seems likely this can happen again sometime in the future ...
The solution which has worked for months, was to upgrade to a newer version of bluez, as described here: Bluetooth doesn't work after resuming from sleep, Ubuntu 18.04 LTS. But recently I experienced regression: I get the same behaviour as before. But in an attempt to solve it, I downgraded to an old version of bluez and later upgraded back to the same version that stopped working properly (5.50-0ubuntu0ppa1 in my case) which solved the problem for now. So reinstalling seems to fix or mitigate something. Seems likely this can happen again sometime in the future ...
edited Sep 13 '18 at 12:43
answered May 18 '18 at 8:51
MaartenMaarten
78110
78110
add a comment |
add a comment |
I had the same issue as the OP (disconnect after connect), but mine was using a CSR Bluetooth 4.0 Dongle.
My system was loading the bluez5-discover module and the bluetooth-discover module for some reason.
Performing the test above resulted in me being able to pair my Bluedio t5 headset.
Editing the /etc/pulse/default.pa like above resulted in the correct operation of bluetooth on my system through reboots.
Thank you!
New contributor
add a comment |
I had the same issue as the OP (disconnect after connect), but mine was using a CSR Bluetooth 4.0 Dongle.
My system was loading the bluez5-discover module and the bluetooth-discover module for some reason.
Performing the test above resulted in me being able to pair my Bluedio t5 headset.
Editing the /etc/pulse/default.pa like above resulted in the correct operation of bluetooth on my system through reboots.
Thank you!
New contributor
add a comment |
I had the same issue as the OP (disconnect after connect), but mine was using a CSR Bluetooth 4.0 Dongle.
My system was loading the bluez5-discover module and the bluetooth-discover module for some reason.
Performing the test above resulted in me being able to pair my Bluedio t5 headset.
Editing the /etc/pulse/default.pa like above resulted in the correct operation of bluetooth on my system through reboots.
Thank you!
New contributor
I had the same issue as the OP (disconnect after connect), but mine was using a CSR Bluetooth 4.0 Dongle.
My system was loading the bluez5-discover module and the bluetooth-discover module for some reason.
Performing the test above resulted in me being able to pair my Bluedio t5 headset.
Editing the /etc/pulse/default.pa like above resulted in the correct operation of bluetooth on my system through reboots.
Thank you!
New contributor
New contributor
answered 3 hours ago
BobbyJrBobbyJr
1
1
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1037370%2fubuntu-18-04-bluetooth-device-disconnects-right-after-connect-on-lenovo-p50%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown