Issues with Bluetooth Connections in 11.10

17,022

Well, I found a workaround solution to the issue. I posted a similar question over on the BlueZ developer mail list and got several responses. It seems that there was a regression bug introduced somewhere in Linux Kernel 3.0 that was related to the Bluetooth Secure Simple Pairing (SSP) protocol used by Bluetooth 2.1 + EDR devices. The bug prevents reconnection of a device that was originally paired using SSP mode, that is without entering the pin code during pairing. Here is a link to the bug report: https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/931860.

Its not clear when the bug will be corrected in the Linux Kernel or whether it will get incorporated in the 3.0 and forward releases. If you are experiencing this same issue, there is a workaround that worked for me. The workaround involves disabling Simple Secure Pairing and letting the pairing default back to regular non-SSP mode. You can accomplish this by running the following command:

sudo hciconfig hci0 sspmode 0

You'll have to run this command again after each reboot in order keep it disabled to allow reconnections to happen. I hope this helps someone else as I've spent many frustrated hours trying to find a solution to fixing something that just used to work in prior releases.

Share:
17,022

Related videos on Youtube

BubbaJ
Author by

BubbaJ

Updated on September 18, 2022

Comments

  • BubbaJ
    BubbaJ almost 2 years

    I'm having a couple of issues that I did not have in 11.04 or 10.10. The first issue involves connecting to my bluetooth headset. I am able to successfully pair and connect to my Samsung headset for the first time. But as soon as I turn off the headset and later try to reconnect, I'm not able to reconnect the headset. When I try to activate the connection from the settings dialog, the switch toggle back and forth automatically between on and off and never reconnects. I should mention that I had no issues with the 11.10 beta version using the same exact headset.

    I have no issues connecting to my bluetooth mouse on the same laptop. However, when I disconnect the bluetooth mouse, the trackpad is not automatically re-enabled. I have to log out and log back in to re-enable the trackpad after disconnecting the bluetooth mouse.

    I'm using 11.10 with all the latest patches.

    • BubbaJ
      BubbaJ over 12 years
      After reviewing the 11.10 bug list, it looks like the trackpad issue may be related to my ThinkPad. Looks like the Ubuntu founder Mark Shuttleworth reported a bug on 11.10 with a ThinkPad trackpad not responding. Not sure if it's related to the bluetooth connection issue or not.
  • BubbaJ
    BubbaJ over 12 years
    Thanks for responding. I will try installing blueman and report back. In the meantime, do you know if I need to uninstall the ubuntu bluetooth manager (gnome-bluetooth) when I install blueman? Or, can they both exist at the same time?
  • BubbaJ
    BubbaJ over 12 years
    Tried installing Blueman in live Cd session before attempting to install in the base install. Still having issues with maintaining connection to the bluetooth headset after the first disconnect. Installing Blueman did not resolve the issue for me.
  • BubbaJ
    BubbaJ over 12 years
    I've been using the same bluetooth adapter and headset since 10.10. Did not have the same issue in previous releases. I could always re-establish the connection. It would not reconnect automatically, but I could always reconnect manually in versions before 11.10.
  • BubbaJ
    BubbaJ over 12 years
    I tried making the 11.10 machine visible. I assume that making the machine visible also makes it discoverable. This did not resolve the issue for me. I was still not able to reconnect when the laptop is visible.
  • Nathan Osman
    Nathan Osman over 9 years
    Is there any way to persistently set sspmode to 0 so I don't have to run that command every reboot?
  • MountainX
    MountainX over 8 years
    @NathanOsman you could try adding the command to /etc/rc.local
  • Cristiana Nicolae
    Cristiana Nicolae almost 6 years
    Thanks! I tried this command line on my 14.04 and I was able to finally connect my Akai portable speaker!