From: Steffen Becker <steffen.becker@tu-ilmenau.de>
To: Johan Hedberg <johan.hedberg@gmail.com>, linux-bluetooth@vger.kernel.org
Subject: Re: Grant Access to Advanced Audio Distribution Service
Date: Tue, 22 May 2012 14:29:00 +0200 [thread overview]
Message-ID: <4FBB868C.5070401@tu-ilmenau.de> (raw)
In-Reply-To: <20120522094725.GA12593@x220>
Hi Johan,
Am 22.05.2012 11:47, schrieb Johan Hedberg:
> Hi Steffen,
>
> On Tue, May 22, 2012, Steffen Becker wrote:
>> maybe you remember me, I wrote some mails regarding a problem with
>> the connection of two Bluetooth-Dongles.
>> Now I tested a little bit with a Ubuntu Live CD and there I also
>> couldn't create a connection between my devices *but* when I clicked
>> on a pop-up-window at the remote device named "Grant Access to the
>> service 0000110D-0000-1000-8000-00805F9B34FB", the connection
>> worked!
>> I googled and found out that:
>>
>> 0000110D-0000-1000-8000-00805F9B34FB = AdvancedAudioDistributionService.
>> So I think I have to grant access to this service in my
>> gentoo-settings to get my connection work.
>> But I have no idea where/how I can configure this.
> The "Trusted" property for each device determines whether authorization
> is needed for incoming connections. IIRC gnome-bluetooth sets this
> automatically for all configured devices and from the command line you
> can do it with the test-device python script (that's part of the BlueZ
> source tree): test-device trusted<address> yes
>
> Johan
Thanks for your answer, but I already tried
# bluez-test-device trusted <remot-address> yes
and in my "# bluez-test-discovery" I can see "Trusted = 1", so I think
that isn't the problem.
What I just noticed is that there are different Classes at both devices:
Device 1: "Class = 0x000000"
Device 2: "Class = 0x420100"
Does it mean something? And how can I change my classes?
Neither my connection via
# bluez-test-network <remote-address> NAP
nor via
# bluez-test-serial <remote-address>
works.
I will be thankful for any helpful idea.
Here is what I get:
# bluez-test-network 00:02:72:AE:58:73 nap
Traceback (most recent call last):
File "/usr/bin/bluez-test-network", line 40, in <module>
device = adapter.FindDevice(address)
File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 68,
in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 143,
in __call__
**keywords)
File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line
630, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.bluez.Error.DoesNotExist: Does Not Exist
----------------------------------------------------
# bluez-test-serial 00:02:72:AE:58:73
Traceback (most recent call last):
File "/usr/bin/bluez-test-serial", line 39, in <module>
path = adapter.FindDevice(address)
File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 68,
in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 143,
in __call__
**keywords)
File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line
630, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.bluez.Error.DoesNotExist: Does Not Exist
Regards,
Steffen
prev parent reply other threads:[~2012-05-22 12:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-22 9:30 Grant Access to Advanced Audio Distribution Service Steffen Becker
2012-05-22 9:47 ` Johan Hedberg
2012-05-22 12:29 ` Steffen Becker [this message]
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=4FBB868C.5070401@tu-ilmenau.de \
--to=steffen.becker@tu-ilmenau.de \
--cc=johan.hedberg@gmail.com \
--cc=linux-bluetooth@vger.kernel.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).