linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fabrice DELENTE <delentef@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: Wireless bluetooth headset
Date: Wed, 15 Feb 2012 09:17:11 +0100	[thread overview]
Message-ID: <20120215081711.GA4385@smtp.free.fr> (raw)

Hello.

I'd like to use my bluetooth headset in linux; I have successfully
paired and used it with my cell phone and an android tablet. But I
can't get mplayer in linux to output its sound there.

I have tried the test-audio script (in bluez-49.8/test) to
successfully establish a connection to the headset, but when I try
with mplayer, I get

# mplayer -ao alsa:device=btheadset file.mp3
...snip...
bt_audio_service_open: connect() failed: Connection refused (111)
[AO_ALSA] Playback open error: Connection refused
Failed to initialize audio driver 'alsa:device=btheadset'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video


Exiting... (End of file)

so there seems to be a connection problem (I have configured the
"btheadset" pcm in my .asoundrc:

pcm.btheadset {
type bluetooth
device "00:18:91:D0:7A:24"
profile "auto"
}
ctl.btheadset {
type bluetooth
}
)

When I tried simple-agent to register the PIN of the set, I get

# ./simple-agent hci0 $HEAR01
Creating device failed: org.bluez.Error.AlreadyExists: Already Exists

so the PIN must already be registered.

What must I do next? This is under Slackware linux, so I can't use
gnome or KDE tools; I have successfully used the set in Ubuntu by the
way).

Thanks!

-- 
F. Delente

                 reply	other threads:[~2012-02-15  8:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20120215081711.GA4385@smtp.free.fr \
    --to=delentef@gmail.com \
    --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;
as well as URLs for NNTP newsgroup(s).