public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "Thierry Pierret" <tpi@qspin.be>
To: linux-bluetooth@vger.kernel.org
Subject: BlueZ 4.26 : headset profile
Date: Tue, 13 Jan 2009 09:25:45 +0100	[thread overview]
Message-ID: <e6fea9c20901130025w21145356yacf4a4d051033e76@mail.gmail.com> (raw)

Hi,

I wish my computer to play the role of a headset, with the aim to play
music from my bluetooth-capable player onto the computer soundcard.

First I had to enable the "Gateway" option in the "audio.conf" file in
order to get the Headset service exposed. By the same way, you must
enable the "Headset" option in order to be an audio gateway). It
sounds already weird to me.

Then I have to configure the .asoundrc file for the alsa-plugin
configuration. How do I specify my own bluetooth adapter as the music
source ? I tried this :

pcm.bluetooth {
       type bluetooth
       device XX:XX:XX:XX:XX:XX
       profile hifi
}

where the specified address is the local address. But it did not work,
of course :

$ arecord -D bluetooth -f S16_LE /var/tmp/record.wav &
bluetoothd[1826]: Accepted new client connection on unix socket (fd=13)
bluetoothd[1826]: Audio API: BT_REQUEST <- BT_GET_CAPABILITIES
bluetoothd[1826]: Audio API: BT_ERROR -> BT_GET_CAPABILITIES
ALSA lib pcm_bluetooth.c:1561:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
bluetoothd[1826]: Unix client disconnected (fd=13)
arecord: main:552: audio open error: Input/output error


May I ask some help at this point ?

Regards.

Thierry Pierret

             reply	other threads:[~2009-01-13  8:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-13  8:25 Thierry Pierret [this message]
2009-01-13  9:03 ` BlueZ 4.26 : headset profile Johan Hedberg

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=e6fea9c20901130025w21145356yacf4a4d051033e76@mail.gmail.com \
    --to=tpi@qspin.be \
    --cc=linux-bluetooth@vger.kernel.org \
    /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