* Bluetooth Headset Connection Issue Linux v3.0 @ 2011-12-21 22:40 bubba junk 2011-12-22 11:05 ` Daniel Wagner 0 siblings, 1 reply; 8+ messages in thread From: bubba junk @ 2011-12-21 22:40 UTC (permalink / raw) To: linux-bluetooth I am new to posting to mailing lists, so forgive me in advance if I am not following protocol. I have an issue connecting to my bluetooth headset in Ubuntu 11.10 Linux Kernel 3.0.0-14-generic. I am able to pair and connect at first. But after disconnecting, I am no longer able to connect. I have to un-pair then re-pair the device to connect again. After re-paring the headset , it stays connected until I disconnect. Then again after disconnecting, I am not able to connect. I saw some regression bug documentation to something similar in Linux 2.6. Is this a known bug in 3.0? Thanks in advance for your help. Sorry for such a newbie question. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bluetooth Headset Connection Issue Linux v3.0 2011-12-21 22:40 Bluetooth Headset Connection Issue Linux v3.0 bubba junk @ 2011-12-22 11:05 ` Daniel Wagner 2011-12-22 18:38 ` bubba junk 0 siblings, 1 reply; 8+ messages in thread From: Daniel Wagner @ 2011-12-22 11:05 UTC (permalink / raw) To: bubba junk; +Cc: linux-bluetooth Hi bubba, On 21.12.2011 23:40, bubba junk wrote: > I am new to posting to mailing lists, so forgive me in advance if I am not > following protocol. I have an issue connecting to my bluetooth headset in > Ubuntu 11.10 Linux Kernel 3.0.0-14-generic. I am able to pair and connect > at first. But after disconnecting, I am no longer able to connect. I have to > un-pair then re-pair the device to connect again. After re-paring the headset > , it stays connected until I disconnect. Then again after disconnecting, > I am not able to connect. I saw some regression bug documentation to something > similar in Linux 2.6. Is this a known bug in 3.0? > > Thanks in advance for your help. Sorry for such a newbie question. I am experience the something very similar here. I though my setup is broken but maybe it isn't only on my system. I started to debug it but had to fix other pressing things first. My current understanding is that in on my system for some reasons the PC does after a fresh pairing a correct encryption of the connection. After that it does not encrypt it anymore and the device rejects the connection. Be aware that this is not really proven yet. Luckily I have a BT sniffer on my table... just need more time... cheers, daniel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bluetooth Headset Connection Issue Linux v3.0 2011-12-22 11:05 ` Daniel Wagner @ 2011-12-22 18:38 ` bubba junk 2012-01-16 8:33 ` Daniel Wagner 0 siblings, 1 reply; 8+ messages in thread From: bubba junk @ 2011-12-22 18:38 UTC (permalink / raw) To: Daniel Wagner; +Cc: linux-bluetooth Thanks for your reply. I forgot to mention in my original post that I have beenusing 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 onLinux Kernel 2.6.35 and 2.6.38 respectively. In those versions, I was able topair and connect / disconnect / connect without issue. I've seen other postselsewhere that other folks are having the same bluetooth headset issue afterUbuntu 11.04. The symptoms and behavior appear to be the same. I'd love to try to help debug the issue so that it can be resolved. I would justneed some guidance on how to capture any needed information. I will try tocapture it and post it. Let me know how I can help. On Thu, Dec 22, 2011 at 5:05 AM, Daniel Wagner <wagi@monom.org> wrote: > Hi bubba, > > On 21.12.2011 23:40, bubba junk wrote: >> I am new to posting to mailing lists, so forgive me in advance if I am not >> following protocol. I have an issue connecting to my bluetooth headset in >> Ubuntu 11.10 Linux Kernel 3.0.0-14-generic. I am able to pair and connect >> at first. But after disconnecting, I am no longer able to connect. I have to >> un-pair then re-pair the device to connect again. After re-paring the headset >> , it stays connected until I disconnect. Then again after disconnecting, >> I am not able to connect. I saw some regression bug documentation to something >> similar in Linux 2.6. Is this a known bug in 3.0? >> >> Thanks in advance for your help. Sorry for such a newbie question. > > I am experience the something very similar here. I though my setup is > broken but maybe it isn't only on my system. > > I started to debug it but had to fix other pressing things first. My > current understanding is that in on my system for some reasons the PC > does after a fresh pairing a correct encryption of the connection. After > that it does not encrypt it anymore and the device rejects the connection. > > Be aware that this is not really proven yet. Luckily I have a BT sniffer > on my table... just need more time... > > cheers, > daniel > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bluetooth Headset Connection Issue Linux v3.0 2011-12-22 18:38 ` bubba junk @ 2012-01-16 8:33 ` Daniel Wagner 2012-02-06 20:54 ` bubba junk 0 siblings, 1 reply; 8+ messages in thread From: Daniel Wagner @ 2012-01-16 8:33 UTC (permalink / raw) To: bubba junk; +Cc: linux-bluetooth Hi bubba, Sorry for the late response. On 22.12.2011 19:38, bubba junk wrote: > Thanks for your reply. I forgot to mention in my original post that I > have beenusing 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 onLinux Kernel 2.6.35 and 2.6.38 > respectively. In those versions, I was able topair and connect / > disconnect / connect without issue. I've seen other postselsewhere > that other folks are having the same bluetooth headset issue > afterUbuntu 11.04. The symptoms and behavior appear to be the same. > I'd love to try to help debug the issue so that it can be resolved. I > would justneed some guidance on how to capture any needed information. > I will try tocapture it and post it. Let me know how I can help. After debugging a bit and some discussions my problem seem to be a with simple pairing and promotion of an already existing connection to a higher security level (that means enable encryption). There is a patch from Peter Hurley called "[PATCH] Bluetooth: Fix l2cap connfailures for ssp devices" which might help in the case you are suffering from the same problem. There are also some bug reports about this one: https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/839157 cheers, daniel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bluetooth Headset Connection Issue Linux v3.0 2012-01-16 8:33 ` Daniel Wagner @ 2012-02-06 20:54 ` bubba junk 2012-02-08 8:52 ` Daniel Wagner 0 siblings, 1 reply; 8+ messages in thread From: bubba junk @ 2012-02-06 20:54 UTC (permalink / raw) To: Daniel Wagner; +Cc: linux-bluetooth Daniel, I must have missed your response several weeks ago. I've read several of the posts including the patch notes from Peter Hurley. This patch sounds very much like it would address the problem I am having. I can pair and connect the device upon the initial pairing, but subsequent connections fail. In order to connect again, I have to delete the pairing and re-pair. I have two Samsung headsets both of which are based on BT v2.1 + EDR, using Secure Simple Pairing (SSP). Both headsets have the same issue in Ubuntu 11.10 with Linux Kernel v3.0. I did not have the issue with either headset in Ubuntu 11.04 based on Linux Kernel v2.6.38. Do you know if this patch will be applied to the Linux Kernel used by Ubuntu 11.10 (v3.0)? If not, could you provide some guidance on how to go about downloading and applying the patch to my current Ubuntu installation? I am not super technical, so if you can help me figure out how to apply the patch, I can at least report back whether or not this resolves my issue. Thanks again for your help. On Mon, Jan 16, 2012 at 2:33 AM, Daniel Wagner <wagi@monom.org> wrote: > Hi bubba, > > Sorry for the late response. > > On 22.12.2011 19:38, bubba junk wrote: >> Thanks for your reply. I forgot to mention in my original post that I >> have beenusing 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 onLinux Kernel 2.6.35 and 2.6.38 >> respectively. In those versions, I was able topair and connect / >> disconnect / connect without issue. I've seen other postselsewhere >> that other folks are having the same bluetooth headset issue >> afterUbuntu 11.04. The symptoms and behavior appear to be the same. >> I'd love to try to help debug the issue so that it can be resolved. I >> would justneed some guidance on how to capture any needed information. >> I will try tocapture it and post it. Let me know how I can help. > > After debugging a bit and some discussions my problem seem to be a with > simple pairing and promotion of an already existing connection to a > higher security level (that means enable encryption). > > There is a patch from Peter Hurley called > > "[PATCH] Bluetooth: Fix l2cap connfailures for ssp devices" > > which might help in the case you are suffering from the same problem. > > There are also some bug reports about this one: > https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/839157 > > cheers, > daniel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bluetooth Headset Connection Issue Linux v3.0 2012-02-06 20:54 ` bubba junk @ 2012-02-08 8:52 ` Daniel Wagner 2012-02-10 16:12 ` bubba junk 0 siblings, 1 reply; 8+ messages in thread From: Daniel Wagner @ 2012-02-08 8:52 UTC (permalink / raw) To: bubba junk; +Cc: linux-bluetooth Hi bubba, The patch has been accepted for fixing this problem. A better fix is in the works. The patch is still in bluetooth-next, that means it will not make it for the 3.3 kernel release. As soon the patch reaches Linus' tree then it can be promoted to the stable releases (such as 3.0 kernel) which will then be picked up by your distribution (I think). Until then you need to patch your kernel yourself. There is plenty of information available how to build your own kernel, so I wont explain it here (I am very lazy person :)). Anyway, there is a simple work around in the meantime- Unpair your device then run following on your computer sudo hciconfig hci0 sspmode 0 and then repair. This will disable secure simple pairing and then you will fallback to legacy pairing. After that your devices should work fine again. cheers, daniel On 06.02.2012 21:54, bubba junk wrote: > Daniel, > > I must have missed your response several weeks ago. I've read several of the > posts including the patch notes from Peter Hurley. This patch sounds very much > like it would address the problem I am having. I can pair and connect the > device upon the initial pairing, but subsequent connections fail. In order to > connect again, I have to delete the pairing and re-pair. I have two Samsung > headsets both of which are based on BT v2.1 + EDR, using Secure Simple Pairing > (SSP). Both headsets have the same issue in Ubuntu 11.10 with Linux Kernel > v3.0. I did not have the issue with either headset in Ubuntu 11.04 based on > Linux Kernel v2.6.38. > > Do you know if this patch will be applied to the Linux Kernel used by Ubuntu > 11.10 (v3.0)? If not, could you provide some guidance on how to go about > downloading and applying the patch to my current Ubuntu installation? I am not > super technical, so if you can help me figure out how to apply the patch, I > can at least report back whether or not this resolves my issue. > > Thanks again for your help. > > On Mon, Jan 16, 2012 at 2:33 AM, Daniel Wagner <wagi@monom.org> wrote: >> Hi bubba, >> >> Sorry for the late response. >> >> On 22.12.2011 19:38, bubba junk wrote: >>> Thanks for your reply. I forgot to mention in my original post that I >>> have beenusing 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 onLinux Kernel 2.6.35 and 2.6.38 >>> respectively. In those versions, I was able topair and connect / >>> disconnect / connect without issue. I've seen other postselsewhere >>> that other folks are having the same bluetooth headset issue >>> afterUbuntu 11.04. The symptoms and behavior appear to be the same. >>> I'd love to try to help debug the issue so that it can be resolved. I >>> would justneed some guidance on how to capture any needed information. >>> I will try tocapture it and post it. Let me know how I can help. >> >> After debugging a bit and some discussions my problem seem to be a with >> simple pairing and promotion of an already existing connection to a >> higher security level (that means enable encryption). >> >> There is a patch from Peter Hurley called >> >> "[PATCH] Bluetooth: Fix l2cap connfailures for ssp devices" >> >> which might help in the case you are suffering from the same problem. >> >> There are also some bug reports about this one: >> https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/839157 >> >> cheers, >> daniel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bluetooth Headset Connection Issue Linux v3.0 2012-02-08 8:52 ` Daniel Wagner @ 2012-02-10 16:12 ` bubba junk 2012-02-13 13:43 ` Daniel Wagner 0 siblings, 1 reply; 8+ messages in thread From: bubba junk @ 2012-02-10 16:12 UTC (permalink / raw) To: Daniel Wagner; +Cc: linux-bluetooth Daniel, Thanks for responding. Last night I tried your suggestion to run the terminal command to change the status of the sspmode to 0. It worked!!! As you suggested, I first unpaired the device, ran the command to disable the sspmode and repaired the device. Then after disconnecting the headset, I was able to successfully reconnect it without any problems. I was able to reconnect multiple times, and across several users on the same laptop (fast user switching). Each time while the sspmode is disabled, the headset was able to reconnect. I then tried rebooting the laptop. I noticed that after rebooting the laptop, I was not able to reconnect the headset. I thought that maybe the sspmode had been re-enabled. I checked and it looked like it was re-enabled after reboot. I again ran the terminal command to disable it, this time without un-pair/re-pair and the headset was able to again connect. Is there a way to permanently disable the sspmode or disable it automatically after reboot until the bug has been patched? It seems like such a simple issue, but from a users perspective, the issue can have a devastating impact on the perception of the system. Users take for granted simple things like being able to connect a BT device and to have the ability to reconnect it the next time it is needed. For me, this has been an ongoing frustration since I upgraded to Ubuntu 11.10 from 11.04 back in October, almost 3 months ago. Until your email, I had spent hours reading different forums and posts trying to find out what was causing the issue. It was extremely frustrating to know that something that used to work, no longer did work. I'm glad to hear that a more permanent fix is in the works to correct the issue. Would you suggest that I create a bug report in the Ubuntu Launchpad forum and link to this thread so that at least this fix can be incorporated into my current distribution release? I've never created a bug report, so I'm not sure of the correct protocol. You seem to be referring to a longer term fix as well. How would I go about monitoring the status of the longer term fix? Best Regards. On Wed, Feb 8, 2012 at 2:52 AM, Daniel Wagner <wagi@monom.org> wrote: > Hi bubba, > > The patch has been accepted for fixing this problem. A better fix is in > the works. The patch is still in bluetooth-next, that means it will not > make it for the 3.3 kernel release. As soon the patch reaches Linus' > tree then it can be promoted to the stable releases (such as 3.0 kernel) > which will then be picked up by your distribution (I think). > > Until then you need to patch your kernel yourself. There is plenty of > information available how to build your own kernel, so I wont explain it > here (I am very lazy person :)). Anyway, there is a simple work around > in the meantime- > > Unpair your device then run following on your computer > > sudo hciconfig hci0 sspmode 0 > > and then repair. This will disable secure simple pairing and then you > will fallback to legacy pairing. After that your devices should work > fine again. > > cheers, > daniel > > > On 06.02.2012 21:54, bubba junk wrote: >> Daniel, >> >> I must have missed your response several weeks ago. I've read several of the >> posts including the patch notes from Peter Hurley. This patch sounds very much >> like it would address the problem I am having. I can pair and connect the >> device upon the initial pairing, but subsequent connections fail. In order to >> connect again, I have to delete the pairing and re-pair. I have two Samsung >> headsets both of which are based on BT v2.1 + EDR, using Secure Simple Pairing >> (SSP). Both headsets have the same issue in Ubuntu 11.10 with Linux Kernel >> v3.0. I did not have the issue with either headset in Ubuntu 11.04 based on >> Linux Kernel v2.6.38. >> >> Do you know if this patch will be applied to the Linux Kernel used by Ubuntu >> 11.10 (v3.0)? If not, could you provide some guidance on how to go about >> downloading and applying the patch to my current Ubuntu installation? I am not >> super technical, so if you can help me figure out how to apply the patch, I >> can at least report back whether or not this resolves my issue. >> >> Thanks again for your help. >> >> On Mon, Jan 16, 2012 at 2:33 AM, Daniel Wagner <wagi@monom.org> wrote: >>> Hi bubba, >>> >>> Sorry for the late response. >>> >>> On 22.12.2011 19:38, bubba junk wrote: >>>> Thanks for your reply. I forgot to mention in my original post that I >>>> have beenusing 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 onLinux Kernel 2.6.35 and 2.6.38 >>>> respectively. In those versions, I was able topair and connect / >>>> disconnect / connect without issue. I've seen other postselsewhere >>>> that other folks are having the same bluetooth headset issue >>>> afterUbuntu 11.04. The symptoms and behavior appear to be the same. >>>> I'd love to try to help debug the issue so that it can be resolved. I >>>> would justneed some guidance on how to capture any needed information. >>>> I will try tocapture it and post it. Let me know how I can help. >>> >>> After debugging a bit and some discussions my problem seem to be a with >>> simple pairing and promotion of an already existing connection to a >>> higher security level (that means enable encryption). >>> >>> There is a patch from Peter Hurley called >>> >>> "[PATCH] Bluetooth: Fix l2cap connfailures for ssp devices" >>> >>> which might help in the case you are suffering from the same problem. >>> >>> There are also some bug reports about this one: >>> https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/839157 >>> >>> cheers, >>> daniel > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bluetooth Headset Connection Issue Linux v3.0 2012-02-10 16:12 ` bubba junk @ 2012-02-13 13:43 ` Daniel Wagner 0 siblings, 0 replies; 8+ messages in thread From: Daniel Wagner @ 2012-02-13 13:43 UTC (permalink / raw) To: bubba junk; +Cc: linux-bluetooth Hi bubba, On 10.02.2012 17:12, bubba junk wrote: > I then tried rebooting the laptop. I noticed that after rebooting the laptop, > I was not able to reconnect the headset. I thought that maybe the sspmode had > been re-enabled. I checked and it looked like it was re-enabled after reboot. > I again ran the terminal command to disable it, this time without > un-pair/re-pair and the headset was able to again connect. Is there a way to > permanently disable the sspmode or disable it automatically after reboot until > the bug has been patched? I don't know if there is such a switch for permanent disabling simple pairing. > It seems like such a simple issue, but from a users perspective, the issue can > have a devastating impact on the perception of the system. Users take for > granted simple things like being able to connect a BT device and to have the > ability to reconnect it the next time it is needed. For me, this has been an > ongoing frustration since I upgraded to Ubuntu 11.10 from 11.04 back in > October, almost 3 months ago. Until your email, I had spent hours reading > different forums and posts trying to find out what was causing the issue. It > was extremely frustrating to know that something that used to work, no longer > did work. I agree and I completely understand your situation. IIRC, at the last Bluetooth meeting in Prague one conclusion was to coordinate the testing a bit better on the upstream version of BlueZ. Such problems should be soon something from the past. > I'm glad to hear that a more permanent fix is in the works to correct the > issue. Would you suggest that I create a bug report in the Ubuntu Launchpad > forum and link to this thread so that at least this fix can be incorporated > into my current distribution release? I've never created a bug report, so I'm > not sure of the correct protocol. There is already such a report. Would you mind to add some information to the bug tracker with the results from here? https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/839157 > You seem to be referring to a longer term fix as well. How would I go about > monitoring the status of the longer term fix? I wont work on it therefore, it is depending on the person who is going to fix it :) Unfortunately, I only know the nick from the IRC (sjanc^) who said s/he is going to fix it properly. cheers, daniel ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-02-13 13:43 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-12-21 22:40 Bluetooth Headset Connection Issue Linux v3.0 bubba junk 2011-12-22 11:05 ` Daniel Wagner 2011-12-22 18:38 ` bubba junk 2012-01-16 8:33 ` Daniel Wagner 2012-02-06 20:54 ` bubba junk 2012-02-08 8:52 ` Daniel Wagner 2012-02-10 16:12 ` bubba junk 2012-02-13 13:43 ` Daniel Wagner
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).