Media Keys on Bluetooth headsets?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2009-12-28 at 08:08 +0800, Ng Oon-Ee wrote:
> Hi, I've been using my Jabra Halo stereo (A2DP) headset with pulse and
> gnome-bluetooth for several months now, works great.
> 
> A question though, does pulseaudio or gnome-bluetooth (not sure who'd
> be
> responsible for this) support the media keys (next track, previous
> track) on my headset, or on any bluetooth headset? I'd assume these
> keys
> are standard across headsets, since they all work on the same devices
> (bluetooth mp3 or cellphones etc.)

The Linux kernel input layer is responsible for handling Bluetooth
AVRCP. Whenever, an AVRCP device is connected an appropriate input event
device should appear; one can use 'lsinput' to list input devices.

I believe that hald-addon-input then processes these events and emits
DBUS 'ButtonPressed' events. In the case of GNOME, I believe these are
then picked up by gnome-settings-daemon, and emitted as X key-presses.
One can use 'dbus-monitor --session' to see the events.

Matthew

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20091228/27fd2f5d/attachment.pgp>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux