public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] hcid <-> dbus problem
@ 2007-06-04 13:53 Voni Hakau
  2007-06-04 15:19 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Voni Hakau @ 2007-06-04 13:53 UTC (permalink / raw)
  To: bluez-users

hello,

I can't run bluez in my platform. i tried this series of commands:

dbus-daemon --system       (seems to work)
hcid -nsd

that last command doesn't work, i get:
Dec 31 18:48:16 8 daemon.info hcid[945]: Bluetooth HCI daemon
Dec 31 18:48:17 8 daemon.err hcid[945]: Could not become the primary
owner of org.bluez
Dec 31 18:48:17 8 daemon.err hcid[945]: Unable to get on D-Bus

I even tried:
dbus-daemon --config-file /etc/dbus-1/system.d/bluetooth.conf

but it fails with the message:
Failed to start message bus: Configuration file needs one or more
<listen> elements giving addresses

any idea ?

(running sdpd alone does not fail btw)

thanks
voni

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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] hcid <-> dbus problem
  2007-06-04 13:53 [Bluez-users] hcid <-> dbus problem Voni Hakau
@ 2007-06-04 15:19 ` Marcel Holtmann
  2007-06-04 15:30   ` Voni Hakau
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2007-06-04 15:19 UTC (permalink / raw)
  To: BlueZ users

Hi Voni,

> I can't run bluez in my platform. i tried this series of commands:
> 
> dbus-daemon --system       (seems to work)
> hcid -nsd
> 
> that last command doesn't work, i get:
> Dec 31 18:48:16 8 daemon.info hcid[945]: Bluetooth HCI daemon
> Dec 31 18:48:17 8 daemon.err hcid[945]: Could not become the primary
> owner of org.bluez
> Dec 31 18:48:17 8 daemon.err hcid[945]: Unable to get on D-Bus
> 
> I even tried:
> dbus-daemon --config-file /etc/dbus-1/system.d/bluetooth.conf
> 
> but it fails with the message:
> Failed to start message bus: Configuration file needs one or more
> <listen> elements giving addresses

this looks wrong. The bluetooth.conf is only one of the security rules
used by dbus-daemon. You must make sure the compiled in paths are all
correct. Ask the D-Bus guys for more help.

> (running sdpd alone does not fail btw)

Of course, but sdpd is obsoleted.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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] hcid <-> dbus problem
  2007-06-04 15:19 ` Marcel Holtmann
@ 2007-06-04 15:30   ` Voni Hakau
  0 siblings, 0 replies; 3+ messages in thread
From: Voni Hakau @ 2007-06-04 15:30 UTC (permalink / raw)
  To: marcel; +Cc: BlueZ users

Hi Marcel,

On 6/4/07, Marcel Holtmann <marcel@holtmann.org> wrote:
> > I can't run bluez in my platform. i tried this series of commands:
> > that last command doesn't work, i get:
> > Dec 31 18:48:16 8 daemon.info hcid[945]: Bluetooth HCI daemon
> > Dec 31 18:48:17 8 daemon.err hcid[945]: Could not become the primary
> > owner of org.bluez
> > Dec 31 18:48:17 8 daemon.err hcid[945]: Unable to get on D-Bus
> >
> > I even tried:
> > dbus-daemon --config-file /etc/dbus-1/system.d/bluetooth.conf
> >
> > but it fails with the message:
> > Failed to start message bus: Configuration file needs one or more
> > <listen> elements giving addresses
>
> this looks wrong. The bluetooth.conf is only one of the security rules
> used by dbus-daemon. You must make sure the compiled in paths are all
> correct. Ask the D-Bus guys for more help.

THANKS

indeed something with the paths went wrong. i don't know what, but i played
with the system.conf file a little and now it works. THANKS !!

i don't need to run a dbus daemon with the bluetooth.conf, right ?

(this line is not relevant: dbus-daemon --config-file
/etc/dbus-1/system.d/bluetooth.conf ?)

thank you
voni


>
> > (running sdpd alone does not fail btw)
>
> Of course, but sdpd is obsoleted.
>
> Regards
>
> Marcel
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> 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:[~2007-06-04 15:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-04 13:53 [Bluez-users] hcid <-> dbus problem Voni Hakau
2007-06-04 15:19 ` Marcel Holtmann
2007-06-04 15:30   ` Voni Hakau

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