dbus problem while running bluez

Sedat Cakir cakir_sedat at yahoo.com
Wed May 27 06:17:16 PDT 2009


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/20090527/446e79b7/attachment.htm 


More information about the dbus mailing list