linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: padovan@profusion.mobi
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-bluetooth@vger.kernel.org, linux-wireless@vger.kernel.org,
	Keith Packard <keithp@keithp.com>
Subject: Re: Bluetooth regression with headphones
Date: Fri, 16 Sep 2011 15:33:25 -0700	[thread overview]
Message-ID: <4E73CEB5.9090406@goop.org> (raw)
In-Reply-To: <4E6EB2DE.8090102@goop.org>

On 09/12/2011 06:33 PM, Jeremy Fitzhardinge wrote:
> Hi all,
>
> I reported a regression in connecting my Nokia BH-905i headphones in
> June this year (https://lkml.org/lkml/2011/6/23/770), which was the same
> problem Keith Packard reported in https://lkml.org/lkml/2011/6/9/63.  
> It was briefly fixed in
> git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-2.6.git.
>
> Unfortunately it regressed again by the time of the linux-3.0 release,
> to something with similar symptoms: the headphones won't reliably
> connect to my laptop unless I freshly re-pair them.  However, unlike the
> original bug, they will very occasionally connect normally, though I
> don't know why.
>
> This behaviour has been consistent since 3.0 up until the current
> 3.1-rc6 kernel.
>
> What further information can I provide?  How can I help debug this?

I turned on debugging by running "bluetoothd -n -d", and got the
following when trying to connect my headphones:

Sep 16 15:30:47 saboo bluetoothd[22025]: bluetoothd[22025]: audio/headset.c:headset_set_state() State changed /org/bluez/22025/hci0/dev_00_0B_E4_A6_6C_0D: HEADSET_STATE_DISCONNECTED -> HEADSET_STATE_CONNECTING
Sep 16 15:30:47 saboo bluetoothd[22025]: bluetoothd[22025]: src/adapter.c:adapter_get_device() 00:0B:E4:A6:6C:0D
Sep 16 15:30:47 saboo bluetoothd[22025]: bluetoothd[22025]: plugins/hciops.c:remote_features_information() hci0 status 0
Sep 16 15:30:48 saboo bluetoothd[22025]: bluetoothd[22025]: plugins/hciops.c:remote_name_information() hci0 status 0
Sep 16 15:30:48 saboo bluetoothd[22025]: bluetoothd[22025]: audio/headset.c:headset_set_channel() Discovered Handsfree service on channel 1
Sep 16 15:30:48 saboo bluetoothd[22025]: bluetoothd[22025]: audio/headset.c:rfcomm_connect() /org/bluez/22025/hci0/dev_00_0B_E4_A6_6C_0D: Connecting to 00:0B:E4:A6:6C:0D channel 1
Sep 16 15:30:48 saboo bluetoothd[22025]: bluetoothd[22025]: plugins/hciops.c:link_key_request() hci0 dba 00:0B:E4:A6:6C:0D
Sep 16 15:30:48 saboo bluetoothd[22025]: bluetoothd[22025]: plugins/hciops.c:link_key_request() kernel auth requirements = 0x04
Sep 16 15:30:48 saboo bluetoothd[22025]: bluetoothd[22025]: plugins/hciops.c:link_key_request() Matching key found
Sep 16 15:30:48 saboo bluetoothd[22025]: bluetoothd[22025]: plugins/hciops.c:link_key_request() link key type 0x04
Sep 16 15:30:48 saboo bluetoothd[22025]: bluetoothd[22025]: plugins/hciops.c:auth_complete() hci0 status 0
Sep 16 15:30:48 saboo bluetoothd[22025]: bluetoothd[22025]: src/event.c:btd_event_bonding_process_complete() status=00
Sep 16 15:30:48 saboo bluetoothd[22025]: bluetoothd[22025]: src/adapter.c:adapter_get_device() 00:0B:E4:A6:6C:0D
Sep 16 15:30:48 saboo bluetoothd[22025]: bluetoothd[22025]: src/event.c:btd_event_bonding_process_complete() no pending auth request
Sep 16 15:30:50 saboo bluetoothd[22025]: bluetoothd[22025]: Permission denied (13)
Sep 16 15:30:50 saboo bluetoothd[22025]: Permission denied (13)
Sep 16 15:30:50 saboo bluetoothd[22025]: bluetoothd[22025]: audio/headset.c:headset_set_state() State changed /org/bluez/22025/hci0/dev_00_0B_E4_A6_6C_0D: HEADSET_STATE_CONNECTING -> HEADSET_STATE_DISCONNECTED
Sep 16 15:30:50 saboo bluetoothd[22025]: bluetoothd[22025]: src/adapter.c:adapter_get_device() 00:0B:E4:A6:6C:0D


Does this cast any light on what's going wrong?

Thanks,
    J

  reply	other threads:[~2011-09-16 22:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-13  1:33 Bluetooth regression with headphones Jeremy Fitzhardinge
2011-09-16 22:33 ` Jeremy Fitzhardinge [this message]
2011-09-16 22:38   ` Jeremy Fitzhardinge
2011-09-27 18:03     ` Jeremy Fitzhardinge
2011-09-29 17:47     ` Jeremy Fitzhardinge
2011-09-29 20:01       ` Gustavo Padovan
2011-09-30  4:52         ` Jeremy Fitzhardinge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E73CEB5.9090406@goop.org \
    --to=jeremy@goop.org \
    --cc=keithp@keithp.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=padovan@profusion.mobi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).