From: "Brian J. Murrell" <brian@interlinx.bc.ca>
To: linux-bluetooth@vger.kernel.org
Cc: Brad Midgley
<public-bmidgley-Re5JQEeQqe8AvxtiuMwx3w-1dZseelyfdZg9hUCZPvPmw@public.gmane.org>
Subject: Re: how to set adapter to master with bluez 4.69?
Date: Tue, 15 Mar 2011 08:43:30 -0400 [thread overview]
Message-ID: <4D7F5EF2.2000709@interlinx.bc.ca> (raw)
In-Reply-To: <4D7F5AE3.20909@interlinx.bc.ca>
[-- Attachment #1: Type: text/plain, Size: 1703 bytes --]
Hrm. It seems to be a real crap shoot whether this B/T stuff is going
to work or not under Linux...
Since the mouse got disconnected (not by me, but by the B/T stack) I
decided to try to disconnect the headset and connect it again. Success,
it was connected with the adapter as MASTER:
$ hcitool con
Connections:
< ACL 00:1A:45:1B:19:89 handle 11 state 1 lm MASTER
Then I tried to connect the mouse again. Doing that resulted in the
headset getting disconnected and the mouse was connected:
$ hcitool con
Connections:
< ACL 00:1F:20:0F:30:6A handle 0 state 5 lm MASTER
And then shortly after they were both connected and both as slaves.
Double yay.
$ hcitool con
Connections:
< ACL 00:1A:45:1B:19:89 handle 12 state 1 lm MASTER
> ACL 00:1F:20:0F:30:6A handle 11 state 1 lm MASTER
I guess the connection to the headset was still being negotiated because
the connection changed:
$ hcitool con
Connections:
< ACL 00:1A:45:1B:19:89 handle 12 state 1 lm MASTER AUTH ENCRYPT
> ACL 00:1F:20:0F:30:6A handle 11 state 1 lm MASTER
But then the headset reverted so that the adapter was the slave again:
$ hcitool con
Connections:
< SCO 00:1A:45:1B:19:89 handle 1 state 1 lm SLAVE
< ACL 00:1A:45:1B:19:89 handle 12 state 1 lm SLAVE AUTH ENCRYPT
> ACL 00:1F:20:0F:30:6A handle 11 state 1 lm MASTER
And the mouse got disconnected shortly after that:
$ hcitool con
Connections:
< SCO 00:1A:45:1B:19:89 handle 1 state 1 lm SLAVE
< ACL 00:1A:45:1B:19:89 handle 12 state 1 lm SLAVE AUTH ENCRYPT
~sigh~
Am I looking for something that B/T on Linux is just not ready to
deliver yet? Namely stable co-existence of multiple devices.
b.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
next prev parent reply other threads:[~2011-03-15 12:43 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-03 2:07 how to set adapter to master with bluez 4.69? Brian J. Murrell
2011-03-06 22:28 ` Brian J. Murrell
2011-03-07 1:08 ` Brad Midgley
2011-03-07 21:13 ` Brian J. Murrell
2011-03-07 22:57 ` Andrei Warkentin
2011-03-08 11:08 ` Brian J. Murrell
2011-03-09 11:22 ` Brian J. Murrell
2011-03-07 23:09 ` Brad Midgley
2011-03-14 3:46 ` Brad Midgley
2011-03-14 11:00 ` Brian J. Murrell
2011-03-14 12:29 ` Brian J. Murrell
2011-03-14 14:07 ` Brian J. Murrell
2011-03-14 15:29 ` Brad Midgley
2011-03-15 0:23 ` Brian J. Murrell
2011-03-15 12:26 ` Brian J. Murrell
2011-03-15 12:43 ` Brian J. Murrell [this message]
2011-03-15 15:25 ` Brad Midgley
2011-03-17 13:10 ` Brian J. Murrell
2011-03-17 13:22 ` Brian J. Murrell
2011-03-17 15:46 ` Brad Midgley
2011-03-23 11:43 ` Brian J. Murrell
2011-03-23 12:20 ` Brian J. Murrell
2011-03-23 16:24 ` Brad Midgley
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=4D7F5EF2.2000709@interlinx.bc.ca \
--to=brian@interlinx.bc.ca \
--cc=linux-bluetooth@vger.kernel.org \
--cc=public-bmidgley-Re5JQEeQqe8AvxtiuMwx3w-1dZseelyfdZg9hUCZPvPmw@public.gmane.org \
/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).