dbus problem while running bluez

Sedat Cakir cakir_sedat at yahoo.com
Mon Jun 8 03:39:58 PDT 2009


Actually I had ported 4.32 at first but I encountered the same problem with it too. Then I switched to 3.26 because it is supported by Ubuntu 8.04 and it is working properly for ubuntu 8.04

Thanks
Sedat.




________________________________
From: David Stockwell <dstockwell at frequency-one.com>
To: Sedat Cakir <cakir_sedat at yahoo.com>; dbus-group <dbus at lists.freedesktop.org>
Sent: Sunday, June 7, 2009 8:30:04 PM
Subject: Re: dbus problem while running bluez

 
Quick question: why are you porting 
bluez-utils-3.26???  This is very old code; current version is 
4.41.
 
DS
----- Original Message ----- 
From: Sedat  Cakir 
To: dbus-group 
Sent: Wednesday, May 27, 2009 8:17  AM
Subject: dbus problem while running  bluez

Hi,

I ported bluez-utils-3.26 and dbus-1.2.12 to an embedded  platform. Before start hcid daemon, i am starting to dbus with the following  instuction:

root:/> /mnt/dbus/bin/dbus-uuidgen  --ensure
root:/> /mnt/dbus/bin/dbus-daemon --system --print-address  --nofork --print-pid &
83
root:/>  unix:path=/mnt/dbus/var/run/dbus/system_bus_socket,guid=444891b42e2d456daa746e033881478b
83
root:/>  export  DBUS_SYSTEM_BUS_ADDRESS=unix:path=/mnt/dbus/var/run/dbus/system_bus_socket,guid=444891b42e2d456daa746e033881478b

then  i am starting the bluetooth, but dbus does not register audio services and  audio init failed. Do you have any idea about the problem?  Thanks

hcid[99]: Bluetooth HCI daemon
hcid[99]: HCI dev 0  registered
hcid[99]: Created local server at  unix:path=/var/run/dbus-TAnLVsqh8o,guid=87739477234ef22eee20aa52388147f3
hcid[99]:  HCI dev 0 up
hcid[99]: Device hci0 has been added
audio[101]: Bluetooth  Audio daemon
hcid[99]: Starting security manager 0
audio[101]: Unix  socket created: 5
audio[101]: audio.conf:  /mnt/bluetooth/etc/bluetooth/audio.conf: key Enable not found
audio[101]:  audio.conf: /mnt/bluetooth/etc/bluetooth/audio.conf: key Disable not  found
audio[101]: Adding service record  failed: Rejected send message, 1 matched rules; type="method_call",  sender=":1.1" (uid=0 pid=101  comm="/mnt/bluetooth/lib/bluetooth/bluetoothd-service-au")  interface="org.bluez.Database" member="AddServiceRecord" error name="(unset)"  requested_reply=0 destination="org.bluez" (uid=0 pid=99  comm="/mnt/bluetooth/bin/hcid -n "))
audio[101]: Unable to register HS AG service  record
audio[101]: Unregistered manager path
audio[101]: Audio  init  failed!


Regards,
Sedat


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20090608/6daf7b87/attachment.html 


More information about the dbus mailing list