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