Re: how to set adapter to master with bluez 4.69?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi again Brad.

On 11-03-14 07:00 AM, Brian J. Murrell wrote:
> 
> Any advise how to proceed, even just to set the adapter to master manually?

A little more playing here and I seem to have been able to set the
adapter to master:

$ hciconfig hci0 lm
hci0:	Type: BR/EDR  Bus: USB
	BD Address: 00:02:72:1E:E0:12  ACL MTU: 1021:7  SCO MTU: 64:1
	Link mode: SLAVE ACCEPT
$ hciconfig hci0 lm MASTER
Can't set default link mode on hci0: Permission denied (13)
$ sudo hciconfig hci0 lm MASTER
$ hciconfig hci0 lm
hci0:	Type: BR/EDR  Bus: USB
	BD Address: 00:02:72:1E:E0:12  ACL MTU: 1021:7  SCO MTU: 64:1
	Link mode: MASTER

Or was I?

$ sudo hcitool con
Connections:
	> ACL 00:1F:20:0F:30:6A handle 11 state 1 lm MASTER

So the mouse is still reporting it's master.

But so is the adapter:

$ hciconfig hci0 lm
hci0:	Type: BR/EDR  Bus: USB
	BD Address: 00:02:72:1E:E0:12  ACL MTU: 1021:7  SCO MTU: 64:1
	Link mode: MASTER

Maybe I am misunderstanding what I am reading.

For good measure I deleted (i.e. in the GUI) the mouse and re-added it
but it still seems to be master:

$ sudo hcitool con
Connections:
	< ACL 00:1F:20:0F:30:6A handle 11 state 1 lm MASTER

Hrm.  Now I've added my Jabra BT125 headset and the connections being
reported now are:

$ sudo 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


Everybody's master now?

Having been playing an audio stream to the headset for nearly an hour,
it seems to be co-existing with the mouse today.  Currently HCI
connections are:

$ hcitool con
Connections:
	< SCO 00:1A:45:1B:19:89 handle 1 state 1 lm SLAVE
	> ACL 00:1A:45:1B:19:89 handle 11 state 1 lm MASTER AUTH ENCRYPT
	> ACL 00:1F:20:0F:30:6A handle 12 state 1 lm MASTER

Which I find interesting.

I'm going to try the other headset now and see if it's just as stable
this morning.

b.



Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux