Return-Path: Date: Fri, 1 Feb 2008 17:48:10 +0530 (IST) From: pramod gurav To: BlueZ development MIME-Version: 1.0 Message-ID: <600225.40719.qm@web8408.mail.in.yahoo.com> Subject: Re: [Bluez-devel] sdp not starting Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1237282803==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============1237282803== Content-Type: multipart/alternative; boundary="0-38015778-1201868290=:40719" --0-38015778-1201868290=:40719 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thanks for that hint=0ABut what does -s and -f do...=0AI did not understand= the pin_helper option here..=0Ait gives error..=0Adifferent docs say diffe= rent about pin_helper=0A/etc/bluetooth/pin, /etc/bluetooth/feed-pin.sh and = /usr/bin/bluez-pin etc=0A=0Awhich one is correct?=0Ahere i used pin_helper = /etc/bluetooth/feed-pin.sh;=0Ait gives error..why?=0Awhen i do =0A$/usr/loc= al/sbin/sdpd=0Ait is not started...why=0A=0Athese are the logs=0Ahelp me...= thanks in advance..=0AFeb 1 17:41:05 localhost hcid[32024]: Bluetooth HCI = daemon=0AFeb 1 17:41:05 localhost hcid[32024]: Unknown option 'pin_helper'= line 27=0AFeb 1 17:41:05 localhost hcid[32024]: syntax error line 27=0AFe= b 1 17:41:06 localhost hcid[32024]: HCI dev 0 registered=0AFeb 1 17:41:06= localhost hcid[32024]: HCI dev 0 already up=0AFeb 1 17:41:06 localhost hc= id[32024]: Device hci0 has been added=0AFeb 1 17:41:06 localhost hcid[3202= 4]: Starting security manager 0=0AFeb 1 17:41:06 localhost hcid[32024]: De= vice hci0 has been activated=0AFeb 1 17:41:06 localhost hcid[32024]: Creat= ed local server at unix:abstract=3D/var/run/dbus-k0vfSKnbsK,guid=3D5a0ca347= 799eb08a1c33407ab7391500=0AFeb 1 17:41:06 localhost audio[32028]: Bluetoot= h Audio daemon=0AFeb 1 17:41:06 localhost audio[32028]: Unix socket create= d: 5=0AFeb 1 17:41:06 localhost hcid[32024]: Can't connect to SDP daemon:(= Connection refused, 111)=0AFeb 1 17:41:06 localhost hcid[32024]: Failed to= register service record=0AFeb 1 17:41:06 localhost audio[32028]: Adding s= ervice record failed: Connection refused=0AFeb 1 17:41:06 localhost audio[= 32028]: Unable to register HS AG service record=0AFeb 1 17:41:06 localhost= audio[32028]: Unregistered manager path=0AFeb 1 17:41:06 localhost audio[= 32028]: Audio init failed!=0AFeb 1 17:46:32 localhost smartd[1702]: Device= : /dev/hda, 1 Currently unreadable (pending) sectors=0AFeb 1 17:46:32 loca= lhost smartd[1702]: Device: /dev/hda, 1 Offline uncorrectable sectors=0AFeb= 1 17:48:10 localhost sdpd[32086]: Bluetooth SDP daemon=0AFeb 1 17:48:10 = localhost sdpd[32086]: Starting SDP server=0AFeb 1 17:48:10 localhost sdpd= [32086]: binding UNIX socket: Address already in use=0AFeb 1 17:48:10 loca= lhost sdpd[32086]: Server initialization failed=0A=0A=0A----- Original Mess= age ----=0AFrom: Bastien Nocera =0ATo: BlueZ development= =0ACc: Bluez-users@lists.sourceforge.ne= t=0ASent: Friday, 1 February, 2008 5:23:41 PM=0ASubject: Re: [Bluez-devel] = sdp not starting=0A=0A=0AOn =0AFri, =0A2008-02-01 =0Aat =0A17:16 =0A+0530, = =0Apramod =0Agurav =0Awrote:=0A> =0Ahi =0Aall=0A> =0Ai =0Aam =0Anot =0Aable= =0Ato =0Astart =0Athe =0Asdp =0Adaemon. =0AThese =0Aare =0Athe =0Ameesages= =0Ai =0Aget=0A> =0Ain =0A/var/log/messages =0A: =0A =0A> =0AFeb =0A1 =0A= 17:12:23 =0Alocalhost =0Ahcid[31049]: =0AHCI =0Adev =0A0 =0Aregistered=0A> = =0AFeb =0A1 =0A17:12:23 =0Alocalhost =0Ahcid[31049]: =0AHCI =0Adev =0A0 = =0Aup=0A> =0AFeb =0A1 =0A17:12:23 =0Alocalhost =0Ahcid[31049]: =0ADevice = =0Ahci0 =0Ahas =0Abeen =0Aadded=0A> =0AFeb =0A1 =0A17:12:23 =0Alocalhost = =0Ahcid[31049]: =0AStarting =0Asecurity =0Amanager =0A0=0A> =0AFeb =0A1 = =0A17:12:23 =0Alocalhost =0Ahcid[31049]: =0ADevice =0Ahci0 =0Ahas =0Abeen = =0Aactivated=0A> =0AFeb =0A1 =0A17:12:54 =0Alocalhost =0Asdpd[31717]: =0AB= luetooth =0ASDP =0Adaemon=0A> =0AFeb =0A1 =0A17:12:54 =0Alocalhost =0Asdpd= [31717]: =0AStarting =0ASDP =0Aserver=0A> =0AFeb =0A1 =0A17:12:54 =0Alocal= host =0Asdpd[31717]: =0Abinding =0AL2CAP =0Asocket: =0AAddress=0A> =0Aalrea= dy =0Ain =0Ause=0A> =0AFeb =0A1 =0A17:12:54 =0Alocalhost =0Asdpd[31717]: = =0AServer =0Ainitialization =0Afailed=0A> =0A> =0A> =0AWhat =0Ais =0Athe = =0Areason =0A> =0ACan =0Aanyone =0Ahelp =0Ame =0Ain =0Asorting =0Athis?=0A= =0AYou're =0Aprobably =0Aalready =0Ausing =0Athe =0ASDP =0Aserver =0Abuilt = =0Ainto =0Ahcid =0A(by =0Apassing=0Athe =0A"-s" =0Aargument =0Ato =0Ahcid),= =0Aso =0Ait's =0Anormal =0Athat =0Ait =0Afails.=0A=0ACheers=0A=0A=0A------= -------------------------------------------------------------------=0AThis = =0ASF.net =0Aemail =0Ais =0Asponsored =0Aby: =0AMicrosoft=0ADefy =0Aall =0A= challenges. =0AMicrosoft(R) =0AVisual =0AStudio =0A2008.=0Ahttp://clk.atdmt= .com/MRT/go/vse0120000070mrt/direct/01/=0A_________________________________= ______________=0ABluez-devel =0Amailing =0Alist=0ABluez-devel@lists.sourcef= orge.net=0Ahttps://lists.sourceforge.net/lists/listinfo/bluez-devel=0A=0A= =0A=0A=0A=0A=0A 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 --0-38015778-1201868290=:40719 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
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, /e= tc/bluetooth/feed-pin.sh and /usr/bin/bluez-pin etc

which o= ne 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 start= ed...why

these are the logs
help me...thanks in advance..
Feb&= nbsp; 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:4= 1:06 localhost hcid[32024]: HCI dev 0 already up
Feb  1 17:41:06 lo= calhost hcid[32024]: Device hci0 has been added
Feb  1 17:41:06 loc= alhost hcid[32024]: Starting security manager 0
Feb  1 17:41:06 loc= alhost hcid[32024]: Device hci0 has been activated
Feb  1 17:41:06 = localhost hcid[32024]: Created local server at unix:abstract=3D/var/run/dbu= s-k0vfSKnbsK,guid=3D5a0ca347799eb08a1c33407ab7391500
Feb  1 17:41:0= 6 localhost audio[32028]: Bluetooth Audio daemon
Feb  1 17:41:06 lo= calhost audio[32028]: Unix socket created: 5
Feb  1 17:41:06 localh= ost hcid[32024]: Can't connect to SDP daemon:(Connection refused, 111)
F= eb  1 17:41:06 localhost hcid[32024]: Failed to register service recor= d
Feb  1 17:41:06 localhost audio[32028]: Adding service record fai= led: 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 a= udio[32028]: Audio init failed!
Feb  1 17:46:32 localhost smartd[17= 02]: Device: /dev/hda, 1 Currently unreadable (pending) sectors
Feb = ; 1 17:46:32 localhost smartd[1702]: Device: /dev/hda, 1 Offline uncorrecta= ble sectors
Feb  1 17:48:10 localhost sdpd[32086]: Bluetooth SDP da= emon
Feb  1 17:48:10 localhost sdpd[32086]: Starting SDP server
= Feb  1 17:48:10 localhost sdpd[32086]: binding UNIX socket: Address al= ready in use
Feb  1 17:48:10 localhost sdpd[32086]: Server initiali= zation failed


----- Original Message ----
From: Basti= en Nocera <hadess@hadess.net>
To: BlueZ development <bluez-deve= l@lists.sourceforge.net>
Cc: Bluez-users@lists.sourceforge.net
Sent: Friday, 1 February, 2008 5:23:4= 1 PM
Subject: Re: [Bluez-devel] sdp not starting


On =0AFri, = =0A2008-02-01 =0Aat =0A17:16 =0A+0530, =0Apramod =0Agurav =0Awrote:
>= =0Ahi =0Aall
> =0Ai =0Aam =0Anot =0Aable =0Ato =0Astart =0Athe =0Asd= p =0Adaemon. =0AThese =0Aare =0Athe =0Ameesages =0Ai =0Aget
> =0Ain = =0A/var/log/messages =0A:  =0A
> =0AFeb  =0A1 =0A17:12:23 = =0Alocalhost =0Ahcid[31049]: =0AHCI =0Adev =0A0 =0Aregistered
> =0AFe= b  =0A1 =0A17:12:23 =0Alocalhost =0Ahcid[31049]: =0AHCI =0Adev =0A0 = =0Aup
> =0AFeb  =0A1 =0A17:12:23 =0Alocalhost =0Ahcid[31049]: = =0ADevice =0Ahci0 =0Ahas =0Abeen =0Aadded
> =0AFeb  =0A1 =0A17:1= 2:23 =0Alocalhost =0Ahcid[31049]: =0AStarting =0Asecurity =0Amanager =0A0> =0AFeb  =0A1 =0A17:12:23 =0Alocalhost =0Ahcid[31049]: =0ADevice= =0Ahci0 =0Ahas =0Abeen =0Aactivated
> =0AFeb  =0A1 =0A17:12:54 = =0Alocalhost =0Asdpd[31717]: =0ABluetooth =0ASDP =0Adaemon
> =0AFeb&n= bsp; =0A1 =0A17:12:54 =0Alocalhost =0Asdpd[31717]: =0AStarting =0ASDP =0Ase= rver
> =0AFeb  =0A1 =0A17:12:54 =0Alocalhost =0Asdpd[31717]: =0A= binding =0AL2CAP =0Asocket: =0AAddress
> =0Aalready =0Ain =0Ause
&= gt; =0AFeb  =0A1 =0A17:12:54 =0Alocalhost =0Asdpd[31717]: =0AServer = =0Ainitialization =0Afailed
>
>
> =0AWhat =0Ais =0Athe = =0Areason
> =0ACan =0Aanyone =0Ahelp =0Ame =0Ain =0Asorting =0Athis?=

You're =0Aprobably =0Aalready =0Ausing =0Athe =0ASDP =0Aserver =0Ab= uilt =0Ainto =0Ahcid =0A(by =0Apassing
the =0A"-s" =0Aargument =0Ato =0A= hcid), =0Aso =0Ait's =0Anormal =0Athat =0Ait =0Afails.

Cheers

----------------------------------------------------------------------= ---
This =0ASF.net =0Aemail =0Ais =0Asponsored =0Aby: =0AMicrosoft
De= fy =0Aall =0Achallenges. =0AMicrosoft(R) =0AVisual =0AStudio =0A2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
___= ____________________________________________
Bluez-devel =0Amailing =0Al= ist
Bluez-devel@lists.sourceforge.net=
https://lists.sourceforge.net/lists/listinfo/bluez-devel



=0A=0A=0A
Do= wnload prohibited? No problem.
CHAT= from any browser, without download. --0-38015778-1201868290=:40719-- --===============1237282803== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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/ --===============1237282803== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============1237282803==--