Re: sdp not starting

pramod gurav <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <[email protected]>
Thanks for that hint
But what does -s and -f do...
I did not understand the pin_helper option here..
it gives error..
different docs say different about pin_helper
/etc/bluetooth/pin, /etc/bluetooth/feed-pin.sh and /usr/bin/bluez-pin etc

which one is correct?
here i used pin_helper /etc/bluetooth/feed-pin.sh;
it gives error..why?
when i do 
$/usr/local/sbin/sdpd
it is not started...why

these are the logs
help me...thanks in advance..
Feb  1 17:41:05 localhost hcid[32024]: Bluetooth HCI daemon
Feb  1 17:41:05 localhost hcid[32024]: Unknown option 'pin_helper' line 27
Feb  1 17:41:05 localhost hcid[32024]: syntax error line 27
Feb  1 17:41:06 localhost hcid[32024]: HCI dev 0 registered
Feb  1 17:41:06 localhost hcid[32024]: HCI dev 0 already up
Feb  1 17:41:06 localhost hcid[32024]: Device hci0 has been added
Feb  1 17:41:06 localhost hcid[32024]: Starting security manager 0
Feb  1 17:41:06 localhost hcid[32024]: Device hci0 has been activated
Feb  1 17:41:06 localhost hcid[32024]: Created local server at unix:abstract=/var/run/dbus-k0vfSKnbsK,guid=5a0ca347799eb08a1c33407ab7391500
Feb  1 17:41:06 localhost audio[32028]: Bluetooth Audio daemon
Feb  1 17:41:06 localhost audio[32028]: Unix socket created: 5
Feb  1 17:41:06 localhost hcid[32024]: Can't connect to SDP daemon:(Connection refused, 111)
Feb  1 17:41:06 localhost hcid[32024]: Failed to register service record
Feb  1 17:41:06 localhost audio[32028]: Adding service record failed: Connection refused
Feb  1 17:41:06 localhost audio[32028]: Unable to register HS AG service record
Feb  1 17:41:06 localhost audio[32028]: Unregistered manager path
Feb  1 17:41:06 localhost audio[32028]: Audio init failed!
Feb  1 17:46:32 localhost smartd[1702]: Device: /dev/hda, 1 Currently unreadable (pending) sectors
Feb  1 17:46:32 localhost smartd[1702]: Device: /dev/hda, 1 Offline uncorrectable sectors
Feb  1 17:48:10 localhost sdpd[32086]: Bluetooth SDP daemon
Feb  1 17:48:10 localhost sdpd[32086]: Starting SDP server
Feb  1 17:48:10 localhost sdpd[32086]: binding UNIX socket: Address already in use
Feb  1 17:48:10 localhost sdpd[32086]: Server initialization failed


----- Original Message ----
From: Bastien Nocera <[email protected]>
To: BlueZ development <[email protected]>
Cc: [email protected]
Sent: Friday, 1 February, 2008 5:23:41 PM
Subject: Re: [Bluez-devel] sdp not starting


On 
Fri, 
2008-02-01 
at 
17:16 
+0530, 
pramod 
gurav 
wrote:
> 
hi 
all
> 
i 
am 
not 
able 
to 
start 
the 
sdp 
daemon. 
These 
are 
the 
meesages 
i 
get
> 
in 
/var/log/messages 
:  
 
> 
Feb  
1 
17:12:23 
localhost 
hcid[31049]: 
HCI 
dev 
0 
registered
> 
Feb  
1 
17:12:23 
localhost 
hcid[31049]: 
HCI 
dev 
0 
up
> 
Feb  
1 
17:12:23 
localhost 
hcid[31049]: 
Device 
hci0 
has 
been 
added
> 
Feb  
1 
17:12:23 
localhost 
hcid[31049]: 
Starting 
security 
manager 
0
> 
Feb  
1 
17:12:23 
localhost 
hcid[31049]: 
Device 
hci0 
has 
been 
activated
> 
Feb  
1 
17:12:54 
localhost 
sdpd[31717]: 
Bluetooth 
SDP 
daemon
> 
Feb  
1 
17:12:54 
localhost 
sdpd[31717]: 
Starting 
SDP 
server
> 
Feb  
1 
17:12:54 
localhost 
sdpd[31717]: 
binding 
L2CAP 
socket: 
Address
> 
already 
in 
use
> 
Feb  
1 
17:12:54 
localhost 
sdpd[31717]: 
Server 
initialization 
failed
> 
> 
> 
What 
is 
the 
reason 
> 
Can 
anyone 
help 
me 
in 
sorting 
this?

You're 
probably 
already 
using 
the 
SDP 
server 
built 
into 
hcid 
(by 
passing
the 
"-s" 
argument 
to 
hcid), 
so 
it's 
normal 
that 
it 
fails.

Cheers


-------------------------------------------------------------------------
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






      Get the freedom to save as many mails as you wish. To know how, go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html

-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.