From: Guillaume Bedot <littletux@zarb.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] BT Headset connected but no sound
Date: Sat, 02 Feb 2008 11:40:07 +0100 [thread overview]
Message-ID: <1201948807.11895.10.camel@littletux> (raw)
In-Reply-To: <47A438C6.90700@gmx.de>
[-- Attachment #1: Type: text/plain, Size: 764 bytes --]
On sam, 2008-02-02 at 10:32 +0100, Daniel Stumpner wrote:
> Daniel Stumpner wrote:
> > Hi,
> >
> > can connect to my BT Headset but if I try to play a sound, it does only
> > beep at the start and at the end of the connection but there is no sound.
> >
> > mplayer -ao alsa:device=bluetooth test.wav
> > - beep -
> > (pressing 'q')
> > - beep -
> >
> > I am running Gentoo with linux 2.6.23 (x86)
> > bluez-libs-3.24
> > blues-utils-3.24
> >
There is a bug in bluez-utils 3.24 that prevents headset/SCO connections
to work.
Try with current bluez cvs or with the attached patch.
> But the errors don't change...
> What do I have to do to get my key-agent working?
>
You can check your configuration in /etc/bluetooth/hcid.conf too.
Regards,
Guillaume B.
[-- Attachment #2: bluez-utils-3.24-fixheadset.patch --]
[-- Type: text/x-patch, Size: 514 bytes --]
--- bluez-utils/audio/pcm_bluetooth.c 2008/01/05 14:51:47 1.91
+++ bluez-utils/audio/pcm_bluetooth.c 2008/01/09 03:03:32 1.92
@@ -786,11 +786,11 @@
DBG("areas->step=%u areas->first=%u offset=%lu size=%lu io->nonblock=%u",
areas->step, areas->first, offset, size, io->nonblock);
+ frame_size = areas->step / 8;
+
if (data->count > 0)
goto proceed;
- frame_size = areas->step / 8;
-
nrecv = recv(data->stream.fd, data->buffer, data->link_mtu,
MSG_WAITALL | (io->nonblock ? MSG_DONTWAIT : 0));
[-- Attachment #3: Type: text/plain, Size: 228 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
[-- Attachment #4: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2008-02-02 10:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-01 1:24 [Bluez-users] BT Headset connected but no sound Daniel Stumpner
2008-02-02 9:32 ` Daniel Stumpner
2008-02-02 10:40 ` Guillaume Bedot [this message]
2008-02-03 3:45 ` jayjwa
2008-02-03 4:25 ` Daniel Stumpner
2008-02-02 14:29 ` Guillaume Bedot
2008-02-03 8:05 ` Guillaume Bedot
2008-02-05 13:37 ` Daniel Stumpner
2008-02-05 15:25 ` Brad Midgley
2008-02-06 1:57 ` jayjwa
-- strict thread matches above, loose matches on Subject: below --
2008-02-05 11:40 pramod gurav
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=1201948807.11895.10.camel@littletux \
--to=littletux@zarb.org \
--cc=bluez-users@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