linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Brian J. Murrell" <brian@interlinx.bc.ca>
To: Brad Midgley <bmidgley@gmail.com>
Cc: public-linux-bluetooth-u79uwXL29TY76Z2rM5mHXA@plane.gmane.org
Subject: Re: how to set adapter to master with bluez 4.69?
Date: Mon, 14 Mar 2011 07:00:45 -0400	[thread overview]
Message-ID: <4D7DF55D.2010402@interlinx.bc.ca> (raw)
In-Reply-To: <AANLkTi=G2_hvZrZ=pG6naJ2fw7n4_T8=3+heV29vRPRD@mail.gmail.com>

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

On 11-03-13 11:46 PM, Brad Midgley wrote:
> Brian,

Hi Brad,

> 
>>> $ sudo hcitool sr 00:1F:20:0F:30:6A slave
>>> Switch role request failed: Input/output error
> 
> Sorry I didn't look at the gui again.

No worries.  TBH, a gui knob would be nice, but I'd settle for just
being able to set it manually for the time being.

> Were you able to use hcitool to switch the role to master manually?

No, I never have been able to.  I was playing with it again this morning
and I can't even seem to get a list of remote devices any more.  I know
there is at least one -- a mouse, which I am using right at this moment.

$ sudo hcitool scan
Scanning ...
$ sudo hcitool inq
Inquiring ...
brian@pc:/etc/shorewall/gw-new$ sudo hcitool dev
Devices:
	hci0	00:02:72:1E:E0:12
$ sudo hcitool con
Connections:
	> ACL 00:1F:20:0F:30:6A handle 11 state 1 lm MASTER

I'd guess that means the mouse is at address 00:1F:20:0F:30:6A and is
master currently, yes?

$ sudo hcitool sr 00:1F:20:0F:30:6A SLAVE
Switch role request failed: Input/output error
$ hcitool sr 00:1F:20:0F:30:6A SLAVE
Switch role request failed: Operation not permitted

Any advise how to proceed, even just to set the adapter to master manually?

Cheers,
b.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

  reply	other threads:[~2011-03-14 11:00 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 [this message]
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
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=4D7DF55D.2010402@interlinx.bc.ca \
    --to=brian@interlinx.bc.ca \
    --cc=bmidgley@gmail.com \
    --cc=public-linux-bluetooth-u79uwXL29TY76Z2rM5mHXA@plane.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).