Linux bluetooth development
 help / color / mirror / Atom feed
From: Russ Dill <russ.dill@gmail.com>
To: Bastien Nocera <hadess@hadess.net>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Bluetooth audio via pulse doesn't function unless I chant the magic incantations
Date: Wed, 4 Nov 2009 19:13:57 -0700	[thread overview]
Message-ID: <f9d2a5e10911041813r36675253n9e0b6b81bd6b1055@mail.gmail.com> (raw)
In-Reply-To: <1257341369.23167.149.camel@localhost.localdomain>

On Wed, Nov 4, 2009 at 6:29 AM, Bastien Nocera <hadess@hadess.net> wrote:
> On Wed, 2009-11-04 at 01:14 -0700, Russ Dill wrote:
>> I have ubuntu lucid (its just karmic+2.6.32-rc5) and I can only get
>> pulseaudio to detect my Sony DR-BT50 headset if I send some dbus
>> commands:
>>
>> addr=00:1a:80:67:63:2c
>> hci=$(dbus-send --print-reply --system --dest=org.bluez /
>> org.bluez.Manager.DefaultAdapter | tail -n 1 | cut -f 2 -d '"')
>> dev=$(dbus-send --print-reply --system --dest=org.bluez $hci
>> org.bluez.Adapter.FindDevice string:$addr | tail -n 1 | cut -f 2 -d
>> '"')
>> dbus-send --print-reply --system --dest=org.bluez $dev org.bluez.Audio.Connect
>>
>> Additionally, the device shows up under the gnome bluetooth-properties
>> applet under "Known devices" with the gold star and the keys. The
>> connected plug doesn't appear until I exec the above commands.
>> Clicking the plug without the above commands does nothing.
>
> You're using bluez-gnome (or possibly an old version of
> gnome-bluetooth). Make sure you use the latest version (2.28.3).
>
> Cheers
>

Thank you for the awesomeness.

Next question, I get events from keypresses on the headset via a
/dev/input/eventX file, but how do I do things with those events?

  reply	other threads:[~2009-11-05  2:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-04  8:14 Bluetooth audio via pulse doesn't function unless I chant the magic incantations Russ Dill
2009-11-04 13:29 ` Bastien Nocera
2009-11-05  2:13   ` Russ Dill [this message]
2009-11-05  2:49     ` Bastien Nocera
2009-11-11  6:51       ` russ.dill
2009-11-11  6:58         ` russ.dill
2009-11-11  8:33       ` Russ Dill

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=f9d2a5e10911041813r36675253n9e0b6b81bd6b1055@mail.gmail.com \
    --to=russ.dill@gmail.com \
    --cc=hadess@hadess.net \
    --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