public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] bluez-utils 3.36: Unable to get on D-Bus
@ 2008-07-16 15:34 Voni Hakau
  2008-07-16 21:03 ` David Stockwell
  2008-07-17  8:01 ` Nel D
  0 siblings, 2 replies; 5+ messages in thread
From: Voni Hakau @ 2008-07-16 15:34 UTC (permalink / raw)
  To: BlueZ users

Hi all,

I get the following error:

# hcid -n -s -d
hcid[467]: Bluetooth HCI daemon
hcid[467]: Enabling debug information
hcid[467]: Unable to get on D-Bus

Can someone please help me how to debug this ?

I use bluez-utils 3.36 with the newest d-bus.

I got d-bus up and running (dbus-daemon --system is running, and I the
UNIX domain socket file is created).

Any ideas ?

Thank you
Voni

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] bluez-utils 3.36: Unable to get on D-Bus
  2008-07-16 15:34 [Bluez-users] bluez-utils 3.36: Unable to get on D-Bus Voni Hakau
@ 2008-07-16 21:03 ` David Stockwell
  2008-07-17  8:01 ` Nel D
  1 sibling, 0 replies; 5+ messages in thread
From: David Stockwell @ 2008-07-16 21:03 UTC (permalink / raw)
  To: BlueZ users

I have also seen this since 3.35, and suspect that somehow the name 
org.bluez is not being released when shutting down the previous version. 
This does not make much sense though, sinee when the hcid shuts down or 
dies, the name should be released as a basic function of DBus.

When I have seen this recently, I just reboot...all my years working 
with Micro$oft...

DS
----- Original Message ----- 
From: "Voni Hakau" <hakauvoni@gmail.com>
To: "BlueZ users" <bluez-users@lists.sourceforge.net>
Sent: Wednesday, July 16, 2008 10:34 AM
Subject: [Bluez-users] bluez-utils 3.36: Unable to get on D-Bus


> Hi all,
>
> I get the following error:
>
> # hcid -n -s -d
> hcid[467]: Bluetooth HCI daemon
> hcid[467]: Enabling debug information
> hcid[467]: Unable to get on D-Bus
>
> Can someone please help me how to debug this ?
>
> I use bluez-utils 3.36 with the newest d-bus.
>
> I got d-bus up and running (dbus-daemon --system is running, and I the
> UNIX domain socket file is created).
>
> Any ideas ?
>
> Thank you
> Voni
>
>
> 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] bluez-utils 3.36: Unable to get on D-Bus
  2008-07-16 15:34 [Bluez-users] bluez-utils 3.36: Unable to get on D-Bus Voni Hakau
  2008-07-16 21:03 ` David Stockwell
@ 2008-07-17  8:01 ` Nel D
  2008-07-17  8:06   ` Johan Hedberg
  1 sibling, 1 reply; 5+ messages in thread
From: Nel D @ 2008-07-17  8:01 UTC (permalink / raw)
  To: BlueZ users

Hi Voni

On Wed, Jul 16, 2008 at 9:04 PM, Voni Hakau <hakauvoni@gmail.com> wrote:
> Hi all,
>
> I get the following error:
>
> # hcid -n -s -d
> hcid[467]: Bluetooth HCI daemon
> hcid[467]: Enabling debug information
> hcid[467]: Unable to get on D-Bus

Try starting hcid as root. Also check if another instance of "hcid" is
already running when u issue this command??



HTH,
 nel !!

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] bluez-utils 3.36: Unable to get on D-Bus
  2008-07-17  8:01 ` Nel D
@ 2008-07-17  8:06   ` Johan Hedberg
  2008-07-17  8:17     ` Voni Hakau
  0 siblings, 1 reply; 5+ messages in thread
From: Johan Hedberg @ 2008-07-17  8:06 UTC (permalink / raw)
  To: BlueZ users

Hi,

On Jul 17, 2008, at 11:01, Nel D wrote:
> On Wed, Jul 16, 2008 at 9:04 PM, Voni Hakau <hakauvoni@gmail.com>  
> wrote:
>>
>> I get the following error:
>>
>> # hcid -n -s -d
>> hcid[467]: Bluetooth HCI daemon
>> hcid[467]: Enabling debug information
>> hcid[467]: Unable to get on D-Bus
>
> Try starting hcid as root. Also check if another instance of "hcid" is
> already running when u issue this command??

Another common cause of this error is that the user hasn't installed  
the D-Bus policy configuration for BlueZ into /etc/dbus-1/system.d  
(the hcid/bluetooth.conf file).

Johan

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] bluez-utils 3.36: Unable to get on D-Bus
  2008-07-17  8:06   ` Johan Hedberg
@ 2008-07-17  8:17     ` Voni Hakau
  0 siblings, 0 replies; 5+ messages in thread
From: Voni Hakau @ 2008-07-17  8:17 UTC (permalink / raw)
  To: BlueZ users

Hi all,

On Thu, Jul 17, 2008 at 11:06 AM, Johan Hedberg <johan.hedberg@gmail.com> wrote:
> Another common cause of this error is that the user hasn't installed
> the D-Bus policy configuration for BlueZ into /etc/dbus-1/system.d
> (the hcid/bluetooth.conf file).

YES ! that was it. more or less. Actually I did have those files in
/etc/dbus-1/system.d, but I found out that my dbus used
/usr/etc/dbus-1/system.d for some reason (I cross compiled it with
--prefix=/usr). So I copied the files over there and voila it works. I
have no clue why it chose to work with /usr/etc instead of /etc
though.

Thank you all for the help!
Voni

>
> Johan
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2008-07-17  8:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-16 15:34 [Bluez-users] bluez-utils 3.36: Unable to get on D-Bus Voni Hakau
2008-07-16 21:03 ` David Stockwell
2008-07-17  8:01 ` Nel D
2008-07-17  8:06   ` Johan Hedberg
2008-07-17  8:17     ` Voni Hakau

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