public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Could not find org.bluez interface
@ 2008-03-27 16:18 Peter Wurmsdobler
  2008-03-27 16:24 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Wurmsdobler @ 2008-03-27 16:18 UTC (permalink / raw)
  To: BlueZ users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bluez-users] Could not find org.bluez interface
  2008-03-27 16:18 [Bluez-users] Could not find org.bluez interface Peter Wurmsdobler
@ 2008-03-27 16:24 ` Marcel Holtmann
  2008-03-27 18:46   ` Peter Wurmsdobler
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2008-03-27 16:24 UTC (permalink / raw)
  To: BlueZ users

Hi Peter,

> 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?

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bluez-users] Could not find org.bluez interface
  2008-03-27 16:24 ` Marcel Holtmann
@ 2008-03-27 18:46   ` Peter Wurmsdobler
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Wurmsdobler @ 2008-03-27 18:46 UTC (permalink / raw)
  To: BlueZ users

Hello Marcel,

> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-27 18:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-27 16:18 [Bluez-users] Could not find org.bluez interface Peter Wurmsdobler
2008-03-27 16:24 ` Marcel Holtmann
2008-03-27 18:46   ` Peter Wurmsdobler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox