From: Hunyue Yau <hyau@mvista.com>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Transmitting and Receiving SCO data
Date: Mon, 5 Nov 2007 15:41:21 -0700 [thread overview]
Message-ID: <200711051441.21519.hyau@mvista.com> (raw)
In-Reply-To: <11F6A611-700D-4759-96D9-E5CAAECE224D@cadvium.net>
On Monday 05 November 2007 11:43, robert wrote:
> Hi,
>
> It is a USB dongle and it is on x86 (in vmware). I tried with the
> SCO patch (against 2.6.21) and noticed the same behavior. I am using
> a DBT-120 v4, which I read was a relatively reliable and well
> supported device. Receiving seems to work without any errors, it is
> just transmitting that is failing.
Do you have a crash dump with the backtrace?
-- Hunyue
>
> Does the bluez stack block if it is handed too much data? Anything
> else i should try?
>
> Perhaps I will try using the headset profile, because that transmits
> data, and will highlight whether it is a problem with my code.
>
> nevertheless, being able to cause a crash like this from userspace is
> somewhat worrisome.
>
> --robert
>
> On Nov 5, 2007, at 11:29 AM, Hunyue Yau wrote:
>
> > On Saturday 03 November 2007 09:03, robert wrote:
> >> Hello,
> >>
> >> I am trying to write a program that just sends and receives SCO data,
> >> and I am running into some problems during the transmit phase.
> >> Whenever I try to stream out SCO data, the bluetooth dongle is
> >> disconnected from the system, which sometimes just closes the
> >> connection, but other times it crashes the whole machine. (the
> >> program doing the transmitting inevitably crashes).
> >
> > Hi,
> >
> > This sounds a lot like a problem I debugged recently. Is the bluetooth
> > dongle on USB? Also what platform (x86 or ???)? What brand and
> > chipset (if known) is the dongle?
> >
> > No one has replied or commented on my post but if you look in the
> > archives, I have a set of patches that works around/fixes it for
> > me. It
> > would be good to confirm I am not the only seeing this problem.
> >
> > -- Hunyue
> >>
> >> Is there something special that is required for sending SCO data? I
> >> have looked at all of the test programs and none of them seem to do
> >> anything odd. I am limiting the writes to the MTU size on the
> >> connection, but I am writing multiple times in a row. (another test
> >> program seems to do this)
> >>
> >> the code is a little convoluted but I can post a link to it if anyone
> >> is interested.
> >>
> >> cheers,
> >> robert
> >>
> >>
> >> ---------------------------------------------------------------------
> >> ----
> >> This SF.net email is sponsored by: Splunk Inc.
> >> Still grepping through log files to find problems? Stop.
> >> Now Search log events and configuration files using AJAX and a
> >> browser.
> >> Download your FREE copy of Splunk now >> http://get.splunk.com/
> >> _______________________________________________
> >> Bluez-devel mailing list
> >> Bluez-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/bluez-devel
> >>
> >
> > ----------------------------------------------------------------------
> > ---
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems? Stop.
> > Now Search log events and configuration files using AJAX and a
> > browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > Bluez-devel mailing list
> > Bluez-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2007-11-05 22:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-03 16:03 [Bluez-devel] Transmitting and Receiving SCO data robert
2007-11-05 19:29 ` Hunyue Yau
2007-11-05 19:43 ` robert
2007-11-05 22:41 ` Hunyue Yau [this message]
2007-11-06 1:43 ` robert
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=200711051441.21519.hyau@mvista.com \
--to=hyau@mvista.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