Bug Description

Since installing Ubuntu 11.10 (with Linux 3.0), Secure Simple Pairing (SSP) is broken and will not allow my SSP headset (Samsung HM1000, EDR + 2.1) to reconnect after initial pairing and disconnect. I am able to pair and connect at first. Before I diconnect, everything works as expected. But after disconnecting, I am no longer able to re-connect the headset. I have to un-pair then re-pair the device to connect again to get it working. After re-pairing the headset it stays connected until I disconnect. Then again after disconnecting, I am again not able to connect.

I have been using the same BT usb dongle and BT headset in Ubuntu 10.10, 11.04, and 11.10. Everything worked fine in Ubuntu 10.10 and 11.04, which I think were based on Linux Kernel 2.6.35 and 2.6.38 respectively. In those versions, I was able to pair and connect / disconnect / connect without issue.

I am able to work around the issue by running the command: sudo hciconfig hci0 sspmode 0 to disable sspmode to default back to legacy connection. However, after rebooting, I again have to disable sspmode in order to connect the headset. Seems like this is a very basic use case that left uncorrected can result in very poor user experience.

Thanks for the update. I am not familiar with the commit process, or the process by which those commits make there way back into existing or new Ubuntu releases, e.g. 11.10 or 12.04.

You mentioned that the patch made it into Linus' tree. From a user's perspective, when could I expect to see the patch incorporated into the existing release, 11.10? Will the patch be incorporated into the 12.04 release at launch?

The fix to this bug was included in the Ubuntu 12.04 LTS release. Ubuntu 12.04 LTS was based on Ubuntu Kernel 3.2.0-23.36 which maps to Mainline Kernel v3.2.14. Officially the fix was included in Mainline Kernel v3.2.15, but the fix was backported to Ubuntu 3.2.0-23.36 prior to the Ubuntu 12.04 LTS release (see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/981162 Bluetooth: Fix l2cap conn failures for ssp devices). The fix was officially included in Mainline Kernel v3.2.15 which maps to Ubuntu 3.2.0-24.38.

For Ubuntu 11.10, the fix was included in Ubuntu Kernel 3.0.0-20.34 which maps to Mainline Kernel v3.0.30. The fix was officially included in Mainline Kernel v3.0.28, but this version was not specifically mapped to an Ubuntu Kernel version.

I would expect, but have not verified, that the fix has also been backported to the kernels for other Ubuntu releases. As such, I plan to close this bug as the issue has been resolved.