Return-Path: Date: Sat, 2 Feb 2008 12:46:43 +0530 (IST) From: pramod gurav To: Bluez-users@lists.sourceforge.net, bluez-devel MIME-Version: 1.0 Message-ID: <523334.87939.qm@web8401.mail.in.yahoo.com> Subject: [Bluez-users] SDP server failing to connect Reply-To: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1272448274==" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net List-ID: --===============1272448274== Content-Type: multipart/alternative; boundary="0-1489287100-1201936603=:87939" --0-1489287100-1201936603=:87939 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable hi all=0Ai am trying to connect to my BT headset to system which has a USB = dongle on it.=0ABut when i do =0A[root@localhost Pramod]# rfcomm connect 0 = 00:0F:DE:B1:02:42 1=0ACan't connect RFCOMM socket: Permission denied=0AAlso= when i try to browse services on headset=0A[root@localhost Pramod]# sdptoo= l browse 00:0F:DE:B1:02:42=0AFailed to connect to SDP server on 00:0F:DE:B1= :02:42: Permission denied=0A=0AWhats the reason???=0Amy hcid.conf file look= s like this=0A=0A# HCI daemon configuration file.=0A# HCId options=0Aoption= s {=0A autoinit yes;=0A security user;=0A pairing m= ulti;=0A=0A # Default PIN code for incoming connections=0A# pa= sskey "147";=0A# pin_helper /etc/bluetooth/pin;=0A pin_helper = /bin/bluepin;=0A# pin_helper /etc/bluetooth/feed-pin.sh;=0A}=0A=0A# D= efault settings for HCI devices=0Adevice {=0A name "MistralBD";= =0A class 0x000100;=0A=0A # Default packet type=0A #pk= t_type DH1,DM1,HV1;=0A=0A iscan enable; pscan enable;=0A lm a= ccept;=0A=0A # Default link policy=0A lp rswitch,hold,sniff,p= ark;=0A}=0Amy /bin/bluepin(permission 755) has =0A #!/bin/sh=0A = echo "PIN:G1UvjyBAx2WZ2ebc"=0Amy rfcomm.conf has everything commented..= ...=0AI am not able to pair my headset with system.=0Athe logs in /var/log/m= essages show that PIN request is being made=0AFeb 2 12:32:07 localhost hci= d[3879]: pin_code_request (sba=3D00:00:00:00:00:00, dba=3D00:0F:DE:B1:02:42= )=0AFeb 2 12:37:47 localhost hcid[3879]: pin_code_request (sba=3D00:00:00:= 00:00:00, dba=3D00:0F:DE:B1:02:42)=0A=0Ahelp please...=0Athanks in advance.= ...=0A=0APramod=0A=0A=0A=0A=0A=0A=0A=0A=0A Forgot the famous last words= ? Access your message archive online at http://in.messenger.yahoo.com/webme= ssengerpromo.php --0-1489287100-1201936603=:87939 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
hi all
i am trying to connect to my BT headset to s= ystem which has a USB dongle on it.
But when i do
[root@localhost Pr= amod]# rfcomm connect 0 00:0F:DE:B1:02:42 1
Can't connect RFCOMM socket:= Permission denied
Also when i try to browse services on headset
[roo= t@localhost Pramod]# sdptool browse 00:0F:DE:B1:02:42
Failed to connect = to SDP server on 00:0F:DE:B1:02:42: Permission denied

Whats the reas= on???
my hcid.conf file looks like this

# HCI daemon configuratio= n file.
# HCId options
options {
     &nb= sp;   autoinit yes;
       =   security user;
         p= airing multi;

        # Default PIN code for incoming connections
#    &nbs= p;  passkey "147";
#       pin_helper= /etc/bluetooth/pin;
        pin_help= er /bin/bluepin;
#       pin_helper /etc/b= luetooth/feed-pin.sh;
}

# Default settings for HCI devices
dev= ice {
            = ; name "MistralBD";
        class 0x0= 00100;

        # Default packet t= ype
        #pkt_type DH1,DM1,HV1;
        iscan enable; pscan enable;=
        lm accept;

 &nbs= p;      # Default link policy
   = ;     lp rswitch,hold,sniff,park;
}
my /bin/bluepin(permission 755) has
        #!/bin/sh
ech= o "PIN:G1UvjyBAx2WZ2ebc"
my rfcomm.conf has  everything comme= nted....
I am not able to pair my headset with system.
the logs in /v= ar/log/messages show that PIN request is being made
Feb  2 12:32:07= localhost hcid[3879]: pin_code_request (sba=3D00:00:00:00:00:00, dba=3D00:= 0F:DE:B1:02:42)
Feb  2 12:37:47 localhost hcid[3879]: pin_code_requ= est (sba=3D00:00:00:00:00:00, dba=3D00:0F:DE:B1:02:42)

help please..= ..
thanks in advance...

Pramod





= =0A=0A=0A=0A
Why delete messages? Unlimited= storage is just a click away.= --0-1489287100-1201936603=:87939-- --===============1272448274== 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/ --===============1272448274== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users --===============1272448274==--