SDP server failing to connect

pramod gurav <[email protected]>
Newsgroups gmane.linux.bluez.user,gmane.linux.bluez.devel
Message-ID <[email protected]>
hi all
i am trying to connect to my BT headset to system which has a USB dongle on it.
But when i do 
[root@localhost Pramod]# 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
[root@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 reason???
my hcid.conf file looks like this

# HCI daemon configuration file.
# HCId options
options {
         autoinit yes;
         security user;
         pairing multi;

        # Default PIN code for incoming connections
#       passkey "147";
#       pin_helper /etc/bluetooth/pin;
        pin_helper /bin/bluepin;
#       pin_helper /etc/bluetooth/feed-pin.sh;
}

# Default settings for HCI devices
device {
             name "MistralBD";
        class 0x000100;

        # Default packet type
        #pkt_type DH1,DM1,HV1;

        iscan enable; pscan enable;
        lm accept;

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

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

Pramod








      Forgot the famous last words? Access your message archive online at http://in.messenger.yahoo.com/webmessengerpromo.php

-------------------------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
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.