All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brad Midgley <bmidgley@xmission.com>
To: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: [Bluez-devel] gumstix+infineon can't scan/connect
Date: Wed, 04 May 2005 23:10:57 -0600	[thread overview]
Message-ID: <4279AAE1.40500@xmission.com> (raw)

Hi

I think there must be some defaults/settings that aren't right on this 
gumstix (using infineon hardware). Can anyone see any reason the basics 
won't work?

  hcitool scan

returns immediately with no results; when run on the desktop, it finds 
the headset without any problems.

  sdptool browse  00:0D:44:2A:5C:A3

fails with "Failed to connect to SDP server on 00:0D:44:2A:5C:A3: 
Connection refused" but again it works on the desktop.

finally, a2play fails to connect (I have it ignore the sdp problem)

  a2play 00:0D:44:2A:5C:A3 /mnt/mmc/charm.au

reports "Can't connect to A3:5C:2A:44:0D:00. Connection refused(111)
cannot open psm_cmd = 25" so it fails in the connect call:

  connect(sk, (struct sockaddr *) &addr, sizeof(addr))

Here's how things look...

# grep -v ^$ /etc/bluetooth/hcid.conf |grep -v ^.*#
options {
         autoinit yes;
         security auto;
         pairing multi;
         pin_helper /etc/bluetooth/bluepin;
}
device {
         name "Gumstix (%d)";
         class 0x820116;
         iscan enable; pscan enable;
         lm accept;
         lp rswitch,hold,sniff,park;
}
# /etc/bluetooth/bluepin
PIN:0000
# hciconfig
hci0:   Type: UART
         BD Address: 00:80:37:21:61:42 ACL MTU: 672:8 SCO MTU: 64:0
         UP RUNNING PSCAN ISCAN
         RX bytes:30107175 acl:59964 sco:0 events:19745 errors:0
         TX bytes:1959214 acl:19657 sco:0 commands:38 errors:0

# hciconfig hci0 revision
hci0:   Type: UART
         BD Address: 00:80:37:21:61:42 ACL MTU: 672:8 SCO MTU: 64:0

  Generated: Nov 28 2003 16:59:35
  Comment: R2D

Brad


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

             reply	other threads:[~2005-05-05  5:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-05  5:10 Brad Midgley [this message]
2005-05-05  5:56 ` [Bluez-devel] gumstix+infineon can't scan/connect Brad Midgley

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=4279AAE1.40500@xmission.com \
    --to=bmidgley@xmission.com \
    --cc=bluez-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.