Bluez-DBus API error

John (J5) Palmieri johnp at redhat.com
Thu May 10 10:17:23 PDT 2007


On Wed, 2007-05-09 at 22:03 -0700, Mark S. Townsley wrote:
> Hi
> 
> I am trying to make use of the DBUS API provided by Bluez Bluetooth
> daemon to talk to Bluez daemon.
> Any of the DBUS API I ran, I got this error:
> 
>     The name org.bluez was not provided by any .service files 
> 
> I am using the system bus on my client code.  And I was told the error
> means DBUS cannot find my Bluez daemon hcid.  I have checked and DBUS
> and hcid are both running just fine.  My /etc/dbus-1/system.d has a
> file bluez-hcid.conf which supposedly should be all I need in terms of
> configuration.  Does dbus daemon load files
> under /etc/dbus-1/system.d/?  Is there anything else I need to
> configure DBUS to be able to find the running hcid? 
> Any tips/pointers much appreciated.
> 
> Mark

If you compiled anything yourself chances are they are pointing to the
wrong directories.

Also make sure the bluetooth stack is running when you make the D-Bus
call.  We do not start system services yet.

-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the dbus mailing list