2008-02-06 10:34:19

by pramod gurav

[permalink] [raw]
Subject: Re: [Bluez-devel] system hangs playing audio on headset

Thanks again
here are things I dif this time. i used hcid
from
3.25 this earlier it was default one..
i Killed hcid, sdpd
1....[root@localhost Pramod]# /usr/local/sbin/hcid -f /etc/bluetooth/hcid.conf
2....[root@localhost Pramod]# /usr/local/sbin/sdpd
In /var/log/messages i got these....

Feb 6 16:00:54 localhost hcid[13679]: Bluetooth HCI daemon
Feb 6 16:00:54 localhost hcid[13679]: HCI dev 0 registered
Feb 6 16:00:54 localhost hcid[13679]: HCI dev 0 already up
Feb 6 16:00:54 localhost hcid[13679]: Device hci0 has been added
Feb 6 16:00:54 localhost hcid[13679]: Starting security manager 0
Feb 6 16:00:54 localhost hcid[13679]: Device hci0 has been activated
Feb 6 16:00:54 localhost hcid[13679]: Created local server at unix:abstract=/var/run/dbus-n166L1zFtk,guid=5e8ca9470269ae5e1dc9e1530dd0fd00
Feb 6 16:00:55 localhost audio[13682]: Bluetooth Audio daemon
Feb 6 16:00:55 localhost audio[13682]: Unix socket created: 5
Feb 6 16:00:55 localhost input[13683]: Bluetooth Input daemon
Feb 6 16:00:55 localhost input[13683]: Registered input manager path:/org/bluez/input
Feb 6 16:00:55 localhost input[13683]: Failed to listen on control channel
Feb 6 16:00:55 localhost hcid[13679]: Can't connect to SDP daemon:(Connection refused, 111)
Feb 6 16:00:55 localhost hcid[13679]: Failed to register service record
Feb 6 16:00:55 localhost audio[13682]: Adding service record failed: Connection refused
Feb 6 16:00:55 localhost audio[13682]: Unable to register HS AG service record
Feb 6 16:00:55 localhost audio[13682]: Unregistered manager path
Feb 6 16:00:55 localhost audio[13682]: Audio init failed!
Feb 6 16:01:39 localhost audio[13690]: Bluetooth Audio daemon
Feb 6 16:01:39 localhost audio[13690]: Unix socket created: 5
Feb 6 16:01:39 localhost hcid[13679]: Can't connect to SDP daemon:(Connection refused, 111)
Feb 6 16:01:39 localhost hcid[13679]: Failed to register service record
Feb 6 16:01:39 localhost audio[13690]: Adding service record failed: Connection refused
Feb 6 16:01:39 localhost audio[13690]: Unable to register HS AG service record
Feb 6 16:01:39 localhost audio[13690]: Unregistered manager path
Feb 6 16:01:39 localhost audio[13690]: Audio init failed!
What are these failures?
Need i run /usr/local/lib/bluetooth/bluetoothd-service-audio agian..??
Thanks and Best regards
Pramod

----- Original Message ----
From: Marcel Holtmann <[email protected]>
To: BlueZ development <[email protected]>
Sent: Wednesday, 6 February, 2008 3:36:18 PM
Subject: Re: [Bluez-devel] system hangs playing audio on headset

Hi
Pramod,

>
Thanks
for
that
hint
>
When
I
try
>
[root@localhost
>
Pramod]#
/usr/local/lib/bluetooth/bluetoothd-service-audio
>
this
is
not
working....
>
audio[13117]:
Bluetooth
Audio
daemon
>
audio[13117]:
Unix
socket
created:
5
>
audio[13117]:
audio.conf:
/etc/bluetooth/audio.conf:
key
Enable
not
>
found
>
audio[13117]:
audio.conf:
/etc/bluetooth/audio.conf:
key
Disable
not
>
found
>
audio[13117]:
Adding
service
record
failed:
Method
"AddServiceRecord"
>
with
signature
"ay"
on
interface
"org.bluez.Database"
doesn't
exist
>
audio[13117]:
Unable
to
register
HS
AG
service
record
>
audio[13117]:
Unregistered
manager
path
>
audio[13117]:
Audio
init
failed!
>
>
I
saw
those
AddServiceRecord
scripts
on
bluez_Audio_HowTO..
>
How
to
work
them
out?

make
sure
you
are
actually
running
hcid
from
3.25
and
not
some
distribution
default.

Regards

Marcel



-------------------------------------------------------------------------
This
SF.net
email
is
sponsored
by:
Microsoft
Defy
all
challenges.
Microsoft(R)
Visual
Studio
2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel
mailing
list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel







Chat on a cool, new interface. No download required. Go to http://in.messenger.yahoo.com/webmessengerpromo.php


Attachments:
(No filename) (228.00 B)
(No filename) (164.00 B)
Download all attachments

2008-02-06 10:43:34

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] system hangs playing audio on headset

Hi Parmod,

> here are things I dif this time. i used hcid from 3.25 this earlier it
> was default one..
> i Killed hcid, sdpd
> 1....[root@localhost Pramod]# /usr/local/sbin/hcid
> -f /etc/bluetooth/hcid.conf
> 2....[root@localhost Pramod]# /usr/local/sbin/sdpd

don't start sdpd. Use hcid -s which includes the SDP server.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel