public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "Johan Hedberg" <johan.hedberg@gmail.com>
To: "BlueZ users" <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Using AVRCP with current BlueZ
Date: Thu, 22 Nov 2007 19:13:55 +0200	[thread overview]
Message-ID: <1c9b31320711220913r1f89aafgcf88c0927bfb1c1@mail.gmail.com> (raw)
In-Reply-To: <9a119b3c0711220826u405b3845pb1101fcfb2c42e3c@mail.gmail.com>

Hi Kristof,

On Nov 22, 2007 6:26 PM, Csillag Krist=F3f <csillag.kristof@gmail.com> wrot=
e:
> My question is, how can I use AVRCP now? bluetooth-alsa used to contain
> some support for it, but now I guess it's gone. Browsing the source
> code of bluez-utils, I see some dbus interface, but I can not find
> any example demonstrating how to use this.
>
> Could you please point me to the right documentation (if it exists)?

I don't think there is any proper documentation yet. bluez-utils-3.22
has some preliminary AVRCP support but by default it's disabled. You
need to add a line "Enable=3DControl" to the General section in
/etc/bluetooth/audio.conf to enable it. Currently no D-Bus signals or
or methods are supported. Instead, the audio service uses the kernel
uinput interface (you need to have the uinput module loaded) to inject
keypress events to the kernel input subsystem. You can see what kind
of AVRCP->keycode mappings are used by looking in the audio/control.c
file from bluez-utils.

Johan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2007-11-22 17:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-22 16:26 Using AVRCP with current BlueZ Csillag Kristóf
2007-11-22 17:13 ` Johan Hedberg [this message]
2007-11-23  2:36   ` [Bluez-users] " \x11
2007-11-23 12:00   ` Csillag Kristóf
2007-11-23 12:32     ` 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=1c9b31320711220913r1f89aafgcf88c0927bfb1c1@mail.gmail.com \
    --to=johan.hedberg@gmail.com \
    --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