linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] "Can't get conn info" error pairing Treo with	Bluetooth dongle
Date: Thu, 19 Apr 2007 01:36:38 +0200	[thread overview]
Message-ID: <1176939398.6741.24.camel@aeonflux.holtmann.net> (raw)
In-Reply-To: <4625B4FC.9000006@tlau.org>

Hi Tessa,

> I'm running Ubuntu Edgy.  I'm trying to pair a Treo 700p with the Linux 
> box via a USB Bluetooth dongle:
> 
>     Bus 004 Device 011: ID 1131:1001 Integrated System Solution Corp. 
> KY-BT100 Bluetooth Adapter
> 
> Linux seems to recognize the Bluetooth adapter.  Hciconfig reports it as 
> device hci0:
> 
> hci0:   Type: USB
>         BD Address: 00:11:67:4F:E7:FF ACL MTU: 678:8 SCO MTU: 64:10
>         UP RUNNING PSCAN ISCAN
>         RX bytes:2934 acl:0 sco:0 events:180 errors:0
>         TX bytes:2041 acl:0 sco:0 commands:99 errors:0
> 
> In /etc/bluetooth/hcid.conf, I have the following settings:
> 
> options {
>         autoinit yes;
>         security auto;
>         pairing multi;
>         passkey "XXXXX";
> }
> 
> When I initiate pairing from the Treo, it prompts me for a PIN and then 
> immediately says that it's unable to add my computer to the trusted 
> security list.  I see the following error in my daemon.log:
> 
> Apr 17 22:41:23 localhost hcid[4203]: Device hci0 has been activated
> Apr 17 22:41:42 localhost hcid[4203]: pin_code_request 
> (sba=00:11:67:4F:E7:FF, dba=00:07:E0:B9:8A:4A)
> Apr 17 22:41:42 localhost hcid[4203]: Can't get conn info: No such file 
> or directory (2)
> 
>  From looking at the code in hcid/security.c:358, it looks like this 
> error occurs when the ioctl call returns ENOENT (No such file or 
> directory).  What does this mean?  What file or directory is it looking 
> for?  What else can I try to triage this problem?

please run "hcidump -X -V" to see what is going on.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2007-04-18 23:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-18  6:04 [Bluez-users] "Can't get conn info" error pairing Treo with Bluetooth dongle Tessa Lau
2007-04-18 23:36 ` Marcel Holtmann [this message]
2007-04-19  5:33   ` Tessa Lau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1176939398.6741.24.camel@aeonflux.holtmann.net \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).