Skip to contentSkip to conversation

Grant Access to Advanced Audio Distribution Service

DISCUSSION Steffen Becker 2 participants 3 messages May 22, 2012 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hello,

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.

Can you help me?

Regards,
Steffen

#1 lore raw

Hi Steffen,

Quoted 9 lines · Steffen Becker

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:

Quoted 4 lines

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

#2 lore raw

Hi Johan,

Am 22.05.2012 11:47, schrieb Johan Hedberg:

Quoted 16 lines

Hi Steffen,

Quoted 9 lines · Steffen Becker

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:

Quoted 4 lines

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.

Quoted 7 lines

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