You are not logged in.

#1 2012-04-28 04:59:18

Ozdemon
Member
Registered: 2009-05-27
Posts: 11

Bluetooth, dbus and daemon problems

I am running Arch on Linhes 7.2 with kernel 2.6.39. I have installed bluez 4.96-1. I have added bluetooth after dbus in /etc/rc.conf. I have attached a bluetooth usb dongle.

The dongle is recognized:

 [mythtv@brhes etc]$ lsusb
Bus 006 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)


I get the following errors:

 [root@brhes etc]# rc.d stop bluetooth
:: Error: Daemon script bluetooth does not exist.
 [root@brhes etc]# rc.d restart dbus
:: Stopping D-BUS system messagebus                                      [DONE]
:: Starting D-BUS system messagebus                                      [BUSY] Failed to start message bus: The pid file "/var/run/dbus.pid" exists, if the message bus is not running, remove this file
                                                                         [FAIL]
 [mythtv@brhes etc]$ bluez-simple-agent
ERROR:dbus.proxies:Introspect error on :1.2:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.3" (uid=1000 pid=10318 comm="/usr/bin/python2) interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination=":1.2" (uid=0 pid=1534 comm="/usr/sbin/bluetoothd))
Traceback (most recent call last):
  File "/usr/bin/bluez-simple-agent", line 104, in <module>
    path = manager.DefaultAdapter()
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.3" (uid=1000 pid=10318 comm="/usr/bin/python2) interface="org.bluez.Manager" member="DefaultAdapter" error name="(unset)" requested_reply=0 destination=":1.2" (uid=0 pid=1534 comm="/usr/sbin/bluetoothd))

I am trying to stream the audio from my Linhes box to my android phone but at the moment I cannot get very far becuase of the bluetooth daemon issue and the dbus error. I suspect that I am missing something basic.

Offline

#2 2012-05-01 09:09:03

Ozdemon
Member
Registered: 2009-05-27
Posts: 11

Re: Bluetooth, dbus and daemon problems

Can anyone suggest a solution?

Offline

Board footer

Powered by FluxBB