Could not find org.bluez interface
Hello,
I am running a Qtopia 4.3 simulation on my Linux host. In addition, I have a USB Bluetooth dongle plugged in and hciconfig tells me that "hci0" is up and running. On the shell I can scan for devices, find some and query the respective device info. All well so far.
Now, during the Qtopia startup, a bluetooth local device manager gets in touch with the hci0 adatpter by creating an instance of a dbus interface with "org.bluez", "/org/bluez", and "org.bluez.Manager" as parameters (the redundancy in these values still astonishes me). Unfortunately, the return is "Could not find org.bluez interface".
Could this be due to a security setting, or some other access problems?
Any hints are very much appreciated,
peter
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Peter,
Quoted 15 lines
I am running a Qtopia 4.3 simulation on my Linux host. In addition, I have a USB Bluetooth dongle plugged in and hciconfig tells me that "hci0" is up and running. On the shell I can scan for devices, find some
and query the respective device info. All well so far.Now, during the Qtopia startup, a bluetooth local device manager gets in
touch with the hci0 adatpter by creating an instance of a dbus interface
with "org.bluez", "/org/bluez", and "org.bluez.Manager" as parameters (the redundancy in these values still astonishes me). Unfortunately, the
return is "Could not find org.bluez interface".
Quoted 2 lines
Could this be due to a security setting, or some other access problems?
might be, but I don't have enough information to tell you. Can you get the full error message. Or test it with a simple Python script.
Regards
Marcel
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hello Marcel,
Quoted 2 lines
might be, but I don't have enough information to tell you. Can you get the full error message. Or test it with a simple Python script.
Unfortunately I cannot really provide that much information, as the single error message comes from QTopia. So it is not a bluez issue, but I hope to get some hints.
Digging into the Qtopia 4.3 code, I see that the private part of the constructor of QBluetoothLocalDeviceManager contains a new QDBusInterface with the parameters mentioned before. Adding some log messages reveals:
Bluetooth : new QDBusInterface("org.bluez", "/org/bluez", "org.bluez.Manager", dbc);
Bluetooth : QDBusAbstractInterfacePrivate::QDBusAbstractInterfacePrivate dynamic
Bluetooth : QDBusAbstractInterfacePrivate::QDBusAbstractInterfacePrivate service = "org.bluez"
Bluetooth : QDBusConnectionPrivate::getNameOwner: service = "org.bluez"
Bluetooth : QDBusConnectionPrivate::getNameOwner: message = QDBusMessage(type=MethodCall, service="org.freedesktop.DBus", path="/org/freedesktop/DBus", interface="org.freedesktop.DBus", member="GetNameOwner", signature="", contents=(QString("org.bluez")) )
Bluetooth : QDBusAbstractInterfacePrivate::QDBusAbstractInterfacePrivate currentOwner isEmpty, error = "org.freedesktop.DBus.Error.NameHasNoOwner"
Could not find org.bluez interface
Maybe you have an idea what is going wrong, and I will continue to dig deeper.
Regards,
peter
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users