All of lore.kernel.org
 help / color / mirror / Atom feed
* Unable to get on D-Bus: bluez 4.77
@ 2010-10-28 11:32 Puneet Pant
  2010-10-28 12:09 ` Gustavo F. Padovan
  0 siblings, 1 reply; 4+ messages in thread
From: Puneet Pant @ 2010-10-28 11:32 UTC (permalink / raw)
  To: linux-bluetooth

Hello,

I have compiled Bluez 4.77. But I'm getting the following error when
trying to start Bluetooth Daemon:

root@puneet-VirtualBox:/home/puneet/packages/bluez-4.77/src#
dbus-daemon --system
root@puneet-VirtualBox:/home/puneet/packages/bluez-4.77/src# ./bluetoothd -nd
bluetoothd[11819]: Bluetooth deamon 4.77
bluetoothd[11819]: src/main.c:parse_config() parsing main.conf
bluetoothd[11819]: src/main.c:parse_config() discovto=0
bluetoothd[11819]: src/main.c:parse_config() pairto=0
bluetoothd[11819]: src/main.c:parse_config() pageto=8192
bluetoothd[11819]: src/main.c:parse_config() name=%h-%d
bluetoothd[11819]: src/main.c:parse_config() class=0x000100
bluetoothd[11819]: src/main.c:parse_config() discov_interval=0
bluetoothd[11819]: src/main.c:parse_config() Key file does not have
key 'DeviceID'
bluetoothd[11819]: Unable to get on D-Bus


I've built kernel version 2.6.36-rc7 with LE patches from Ville Tervo
and am running it on an Ubuntu 10.10 distribution. Installed Dbus
Library version is 1.2.24 (I have also tried with 1.4.0, but get same
error)

I have tried to google around on this but couldn't find anything
relevant that could fix this issue.
Can someone kindly suggest if this is related to my linux pc
configuration or more of Bluez issue?

Thanks in advance.
Puneet

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

* Re: Unable to get on D-Bus: bluez 4.77
  2010-10-28 11:32 Unable to get on D-Bus: bluez 4.77 Puneet Pant
@ 2010-10-28 12:09 ` Gustavo F. Padovan
  2010-10-28 17:18   ` Puneet Pant
  0 siblings, 1 reply; 4+ messages in thread
From: Gustavo F. Padovan @ 2010-10-28 12:09 UTC (permalink / raw)
  To: Puneet Pant; +Cc: linux-bluetooth

Hi Puneet,

* Puneet Pant <pant.puneet464@gmail.com> [2010-10-28 17:02:48 +0530]:

> Hello,
> 
> I have compiled Bluez 4.77. But I'm getting the following error when
> trying to start Bluetooth Daemon:
> 
> root@puneet-VirtualBox:/home/puneet/packages/bluez-4.77/src#
> dbus-daemon --system
> root@puneet-VirtualBox:/home/puneet/packages/bluez-4.77/src# ./bluetoothd -nd
> bluetoothd[11819]: Bluetooth deamon 4.77
> bluetoothd[11819]: src/main.c:parse_config() parsing main.conf
> bluetoothd[11819]: src/main.c:parse_config() discovto=0
> bluetoothd[11819]: src/main.c:parse_config() pairto=0
> bluetoothd[11819]: src/main.c:parse_config() pageto=8192
> bluetoothd[11819]: src/main.c:parse_config() name=%h-%d
> bluetoothd[11819]: src/main.c:parse_config() class=0x000100
> bluetoothd[11819]: src/main.c:parse_config() discov_interval=0
> bluetoothd[11819]: src/main.c:parse_config() Key file does not have
> key 'DeviceID'
> bluetoothd[11819]: Unable to get on D-Bus

One of the reasons could be that you already have the bluetoothd daemon
running.

-- 
Gustavo F. Padovan
ProFUSION embedded systems - http://profusion.mobi

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

* Re: Unable to get on D-Bus: bluez 4.77
  2010-10-28 12:09 ` Gustavo F. Padovan
@ 2010-10-28 17:18   ` Puneet Pant
  2010-10-29  7:30     ` Puneet Pant
  0 siblings, 1 reply; 4+ messages in thread
From: Puneet Pant @ 2010-10-28 17:18 UTC (permalink / raw)
  To: Gustavo F. Padovan; +Cc: linux-bluetooth

Hi Gustavo,

On Thu, Oct 28, 2010 at 5:39 PM, Gustavo F. Padovan
<padovan@profusion.mobi> wrote:
> Hi Puneet,
>
> * Puneet Pant <pant.puneet464@gmail.com> [2010-10-28 17:02:48 +0530]:
>
>> Hello,
>>
>> I have compiled Bluez 4.77. But I'm getting the following error when
>> trying to start Bluetooth Daemon:
>>
>> root@puneet-VirtualBox:/home/puneet/packages/bluez-4.77/src#
>> dbus-daemon --system
>> root@puneet-VirtualBox:/home/puneet/packages/bluez-4.77/src# ./bluetoothd -nd
>> bluetoothd[11819]: Bluetooth deamon 4.77
>> bluetoothd[11819]: src/main.c:parse_config() parsing main.conf
>> bluetoothd[11819]: src/main.c:parse_config() discovto=0
>> bluetoothd[11819]: src/main.c:parse_config() pairto=0
>> bluetoothd[11819]: src/main.c:parse_config() pageto=8192
>> bluetoothd[11819]: src/main.c:parse_config() name=%h-%d
>> bluetoothd[11819]: src/main.c:parse_config() class=0x000100
>> bluetoothd[11819]: src/main.c:parse_config() discov_interval=0
>> bluetoothd[11819]: src/main.c:parse_config() Key file does not have
>> key 'DeviceID'
>> bluetoothd[11819]: Unable to get on D-Bus
>
> One of the reasons could be that you already have the bluetoothd daemon
> running.
>

I did "ps -e | grep bluetooth" and found no bluetoothd running.
Could this be related to D-Bus library version incompatibility with ubuntu.
As I see, Ubuntu 10.10 comes with Dbus 1.4.0 installed, but when I run
./configure for bluez, it does not detect the installed D-Bus. I had
to manually download and install D-Bus 1.2.24 for bluez configure to
detect and compile?

> --
> Gustavo F. Padovan
> ProFUSION embedded systems - http://profusion.mobi
>

Thanks,
Puneet

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

* Re: Unable to get on D-Bus: bluez 4.77
  2010-10-28 17:18   ` Puneet Pant
@ 2010-10-29  7:30     ` Puneet Pant
  0 siblings, 0 replies; 4+ messages in thread
From: Puneet Pant @ 2010-10-29  7:30 UTC (permalink / raw)
  Cc: linux-bluetooth

Hello,

On Thu, Oct 28, 2010 at 10:48 PM, Puneet Pant <pant.puneet464@gmail.com> wrote:
> Hi Gustavo,
>
> On Thu, Oct 28, 2010 at 5:39 PM, Gustavo F. Padovan
> <padovan@profusion.mobi> wrote:
>> Hi Puneet,
>>
>> * Puneet Pant <pant.puneet464@gmail.com> [2010-10-28 17:02:48 +0530]:
>>
>>> Hello,
>>>
>>> I have compiled Bluez 4.77. But I'm getting the following error when
>>> trying to start Bluetooth Daemon:
>>>
>>> root@puneet-VirtualBox:/home/puneet/packages/bluez-4.77/src#
>>> dbus-daemon --system
>>> root@puneet-VirtualBox:/home/puneet/packages/bluez-4.77/src# ./bluetoothd -nd
>>> bluetoothd[11819]: Bluetooth deamon 4.77
>>> bluetoothd[11819]: src/main.c:parse_config() parsing main.conf
>>> bluetoothd[11819]: src/main.c:parse_config() discovto=0
>>> bluetoothd[11819]: src/main.c:parse_config() pairto=0
>>> bluetoothd[11819]: src/main.c:parse_config() pageto=8192
>>> bluetoothd[11819]: src/main.c:parse_config() name=%h-%d
>>> bluetoothd[11819]: src/main.c:parse_config() class=0x000100
>>> bluetoothd[11819]: src/main.c:parse_config() discov_interval=0
>>> bluetoothd[11819]: src/main.c:parse_config() Key file does not have
>>> key 'DeviceID'
>>> bluetoothd[11819]: Unable to get on D-Bus
>>
>> One of the reasons could be that you already have the bluetoothd daemon
>> running.
>>
>
> I did "ps -e | grep bluetooth" and found no bluetoothd running.
> Could this be related to D-Bus library version incompatibility with ubuntu.
> As I see, Ubuntu 10.10 comes with Dbus 1.4.0 installed, but when I run
> ./configure for bluez, it does not detect the installed D-Bus. I had
> to manually download and install D-Bus 1.2.24 for bluez configure to
> detect and compile?
>
>> --

I am able to resolve the issue by installing appropriate D-Bus library
headers through Synaptic Manager on Ubuntu 10.10 and rebuilding Bluez
code.
Installing Dbus separately seems to have caused the problem.
After building the code, bluetooth daemon is working fine.


>> Gustavo F. Padovan
>> ProFUSION embedded systems - http://profusion.mobi
>>
>
> Thanks,
> Puneet
>

Thanks,
Puneet

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

end of thread, other threads:[~2010-10-29  7:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-28 11:32 Unable to get on D-Bus: bluez 4.77 Puneet Pant
2010-10-28 12:09 ` Gustavo F. Padovan
2010-10-28 17:18   ` Puneet Pant
2010-10-29  7:30     ` Puneet Pant

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.