From: Brad Midgley <bmidgley@xmission.com>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] gumstix+infineon can't scan/connect
Date: Wed, 04 May 2005 23:56:41 -0600 [thread overview]
Message-ID: <4279B599.1050706@xmission.com> (raw)
In-Reply-To: <4279AAE1.40500@xmission.com>
hmmm
this was all done by ssh'ing into the gumstix over a PAN connection. I
guess this radio is like those in cellphones... it can only handle one
connection at a time (argh).
the good news is a2play is able to run with a load of 1.6. this is with
too short a usleep delay and soft double-precision fp. so things can
only improve with real timing and maybe using single-precision soft fp
and eventually integer-only ops.
things are still pretty flakey with infineon bluetooth. sometimes
something like avdtp negotiation won't work but after resetting the
stick it works fine.
brad
Brad Midgley wrote:
> 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
-------------------------------------------------------
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
prev parent reply other threads:[~2005-05-05 5:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-05 5:10 [Bluez-devel] gumstix+infineon can't scan/connect Brad Midgley
2005-05-05 5:56 ` Brad Midgley [this message]
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=4279B599.1050706@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox