From: Tanu Kaskinen <tanuk@iki.fi>
To: linux-bluetooth@vger.kernel.org
Cc: Renjith Thomas <renjith@lightlevitate.com>, Georg Chini <georg@chini.tk>
Subject: SCO socket MTU problem in PulseAudio
Date: Tue, 31 Jan 2017 15:01:13 +0200 [thread overview]
Message-ID: <1485867673.2993.5.camel@iki.fi> (raw)
Hi all,
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.
What is PulseAudio expected to do? We will have to add an option for
configuring the MTU for now, but that's not a real solution, because
users can't be expected to figure out that they need to fiddle with the
MTU if HSP audio doesn't work. Is this a kernel bug? When this new code
in PulseAudio gets more widely used and starts breaking people's
bluetooth audio, should I tell the users to send bug reports to this
mailing list? Or should PulseAudio keep using a fixed MTU, unless
configured otherwise?
[1] https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=fb6b8dfdec2df39c055f98266aa1eb75e8ebfb1c
[2] https://lists.freedesktop.org/archives/pulseaudio-discuss/2017-January/027408.html
--
Tanu
https://www.patreon.com/tanuk
next reply other threads:[~2017-01-31 13:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-31 13:01 Tanu Kaskinen [this message]
2017-02-01 19:47 ` SCO socket MTU problem in PulseAudio Marcel Holtmann
2017-02-04 12:37 ` Georg Chini
2017-02-06 11:35 ` Tanu Kaskinen
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=1485867673.2993.5.camel@iki.fi \
--to=tanuk@iki.fi \
--cc=georg@chini.tk \
--cc=linux-bluetooth@vger.kernel.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).