public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] SDP server failing to connect
@ 2008-02-02  7:16 pramod gurav
  2008-02-02 10:55 ` [Bluez-devel] " Guillaume Bedot
  0 siblings, 1 reply; 2+ messages in thread
From: pramod gurav @ 2008-02-02  7:16 UTC (permalink / raw)
  To: Bluez-users, bluez-devel


[-- Attachment #1.1: Type: text/plain, Size: 1749 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 2757 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-devel] SDP server failing to connect
  2008-02-02  7:16 [Bluez-users] SDP server failing to connect pramod gurav
@ 2008-02-02 10:55 ` Guillaume Bedot
  0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Bedot @ 2008-02-02 10:55 UTC (permalink / raw)
  To: BlueZ development

Hello,

On sam, 2008-02-02 at 12:46 +0530, pramod gurav wrote:
> my /bin/bluepin(permission 755) has 
> #!/bin/sh
>         echo "PIN:G1UvjyBAx2WZ2ebc"

As a headset (usually?) can't let you enter a pin code, there is a
default like "0000" or "1234".
Did you try these ?
The pin code  is usually written in the documentation if you haven't got
it second-hand.

Regards,

Guillaume B.




-------------------------------------------------------------------------
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-02 10:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-02  7:16 [Bluez-users] SDP server failing to connect pramod gurav
2008-02-02 10:55 ` [Bluez-devel] " Guillaume Bedot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox