linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Regression] bluetoohd 4.85 and later fails to connect properly
@ 2011-12-22 23:42 Oliver Joos
  2012-01-13 13:53 ` Oliver Joos
  0 siblings, 1 reply; 3+ messages in thread
From: Oliver Joos @ 2011-12-22 23:42 UTC (permalink / raw)
  To: linux-bluetooth

[-- Attachment #1: Type: text/plain, Size: 1975 bytes --]

Hi everyone,
(I'm glad to post my first message here on linux-bluetooth)

I collect facts about why various Bluetooth adapters stopped working
with bluez since 2011. We have several Laptops with Broadcom 2035
adapters "03f0:011d" (chip says BCM92035NMD) where Bluetooth does not
work anymore since Ubuntu 11.04 (bluez 4.91). Pairing works, but data
transfer does not. Same issue with my mobile (Symbian S60v3.1), my
headset and my mini keyboard. Also affected are Android phones and other
common Bluetooth adapters like Cambridge Silicon Radio "0a12:0001".
See details from other victims on https://bugs.launchpad.net/bugs/839157

With the help of Nikolay Kachanov (he posted here on August 4th) I found
that if I replace the package bluez 4.91 with 4.84 then everything works
as expected. bluez 4.91 even works if only "/usr/sbin/bluetoothd" is
replaced by the one from 4.84, whereas 4.85 does not work anymore.
So IMO the regression occurred in bluetoothd 4.85.

I have attached all logs I made using bluez_4.84-0ubuntu1_i386.deb and
bluez_4.85-0ubuntu1_i386.deb. With the bluetooth-applet I stopped the
bluetooth service, the deleted /var/lib/bluetooth/, replaced bluetoothd,
restarted service, did pairing (which always works!) and then tried to
connect my mobile (which fails with 4.85).

To me one interesting difference is in bluetoothd_4.8x.log where
"plugins/hciops.c:link_key_request()" is missing with 4.85.
And an even more suspicious difference is in hcidump-Xt_4.8x.log here:

With bluetoothd 4.84 (which works):
< HCI Command: Create Connection (0x01|0x0005) plen 13
  0000: 8d 68 6b 9a 1c 00 18 cc  01 00 ed f3 01           .hk..........

With bluetoothd 4.85 (which fails):
< HCI Command: Create Connection (0x01|0x0005) plen 13
  0000: 8d 68 6b 9a 1c 00 18 cc  01 00 78 b6 01           .hk.......x..

Now I hope that someone on this list has an idea where this bug hides.
Please just ask if additional info would be helpful!

With kind regards,
+++ Oliver


[-- Attachment #2: bluez-4.8x-logs.tar.gz --]
[-- Type: application/x-compressed-tar, Size: 18908 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-13 14:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-22 23:42 [Regression] bluetoohd 4.85 and later fails to connect properly Oliver Joos
2012-01-13 13:53 ` Oliver Joos
2012-01-13 14:07   ` 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).