From: Tanu Kaskinen <tanuk@iki.fi>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: linux-bluetooth@vger.kernel.org,
Renjith Thomas <renjith@lightlevitate.com>,
Georg Chini <georg@chini.tk>
Subject: Re: SCO socket MTU problem in PulseAudio
Date: Mon, 06 Feb 2017 13:35:02 +0200 [thread overview]
Message-ID: <1486380902.4774.4.camel@iki.fi> (raw)
In-Reply-To: <A00CAB7E-3131-4430-8AEA-4132E28CE8FE@holtmann.org>
On Wed, 2017-02-01 at 20:47 +0100, Marcel Holtmann wrote:
> Hi Tanu,
>
> > PulseAudio recently started to use
> >
> > getsockopt(sock, SOL_SCO, SCO_OPTIONS, &sco_opt, &len);
> > read_mtu = sco_opt.mtu;
> > write_mtu = sco_opt.mtu;
> >
> > to query the MTU of the SCO socket. Previously we used a fixed value of
> > 48, but that didn't work for some bluetooth chipsets (see the commit
> > message[1]). Now, however, it was reported[2] that the new code doesn't
> > work on some hardware where the old fixed MTU used to work.
>
> can you share details here and btmon traces for the data buffer sizes
> and the USB descriptor details. We would need to figure out where
> this goes wrong and maybe introduce some driver quirks to ensure that
> it returns usable values.
Georg already provided a btmon dump. Did that contain everything you
need? The way you put your words, it's not clear to me if the USB
descriptor details are included in the btmon output or is the USB
descriptor a separate thing?
I'd like to provide clear instructions for users to get the necessary
information, in case it turns out that Georg is not the only one with
this problem. What options should be given to btmon?
--
Tanu
https://www.patreon.com/tanuk
next prev parent reply other threads:[~2017-02-06 11:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-31 13:01 SCO socket MTU problem in PulseAudio Tanu Kaskinen
2017-02-01 19:47 ` Marcel Holtmann
2017-02-04 12:37 ` Georg Chini
2017-02-06 11:35 ` Tanu Kaskinen [this message]
2017-02-10 11:48 ` Marcel Holtmann
2017-02-10 13:05 ` Georg Chini
2017-02-10 22:23 ` Juha Kuikka
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=1486380902.4774.4.camel@iki.fi \
--to=tanuk@iki.fi \
--cc=georg@chini.tk \
--cc=linux-bluetooth@vger.kernel.org \
--cc=marcel@holtmann.org \
--cc=renjith@lightlevitate.com \
/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).