public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] BLUETOOTH ERRER: call_passkey_agent
@ 2006-12-18  7:38 zippo
  2006-12-18  9:38 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: zippo @ 2006-12-18  7:38 UTC (permalink / raw)
  To: bluez-users

Hello, I'm having issues using rfcomm i and getting

Can't connect RFCOMM channel: Connection refused

i have bluex-pin and bluepin installed, both simply return PIN:0000 and
have tried both, also just using passkey "0000" but am lost. here is the
output i have to work with:

using:
bluez-utils 3.7
bluez-libs 3.7
linux-2.6.18.2
I have severl other bluetooth items working a mouse and keyboard.
All modules are loaded that should be loaded
$ lsmod
rfcomm                 36776  0 
snd_bt_sco             14220  0
bnep                   13568  0 
bfusb                  11844  0
hci_usb                17116  4
crc32                   4672  1 bnep
hidp                   14080  2 
l2cap                  21760  15 rfcomm,bnep,hidp

$ hcitool scan
Scanning ...
00:16:8F:41:47:FE       Motorola H700

$ l2ping 00:16:8F:41:47:FE
Ping: 00:16:8F:41:47:FE from 00:07:61:19:61:FD (data size 44) ...
4 bytes from 00:16:8F:41:47:FE id 0 time 28.96ms
4 bytes from 00:16:8F:41:47:FE id 1 time 48.53ms
2 sent, 2 received, 0% loss

$ rfcomm connect 0 00:16:8F:41:47:FE 1
Can't connect RFCOMM socket: Connection refused

$ btsco -v 00:16:8F:41:47:FE
btsco v0.42
Device is 1:0
Voice setting: 0x0060
Can't connect RFCOMM channel: Connection refused

SYSLOG output
Dec 18 02:18:51 zippo01 hcid[22383]: pin_code_request
(sba=00:07:61:19:61:FD, dba=00:16:8F:41:47:FE)
Dec 18 02:18:51 zippo01 hcid[22383]: call_passkey_agent(): no agent
registered

/etc/bluetooth/hcid.conf

options {

        autoinit yes;
        security auto;
        pairing multi;
        passkey "0000";
        pin_helper /usr/bin/bluepin;
}

# Default settings for HCI devices
device {
        # Local device name
        #   %d - device id
        #   %h - host name
        name "BlueZ at %h (%d)";

        # Local device class
        class 0x3e0100;

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

        # Inquiry and Page scan
        iscan enable; pscan enable;

        # Default link mode
        lm accept;

        # Default link policy
        lp rswitch,hold,sniff,park;


}

/etc/bluetooth/rfcomm.conf

#
# RFCOMM configuration file.
#

rfcomm0 {
#       # Automatically bind the device at startup
        bind yes;
        device 00:16:8F:41:47:FE;
        channel 1;
        comment "Mototrala H700 Wireless Headset";
}

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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

end of thread, other threads:[~2006-12-18  9:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-18  7:38 [Bluez-users] BLUETOOTH ERRER: call_passkey_agent zippo
2006-12-18  9:38 ` Marcel Holtmann

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