[pulseaudio-discuss] Media Keys on Bluetooth headsets?
Ng Oon-Ee
ngoonee at gmail.com
Mon Dec 28 01:05:18 PST 2009
On Mon, 2009-12-28 at 01:28 +0000, Matthew W. S. Bell wrote:
> 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
Thanks for your response, Matthew.
First off, I don't have lsinput anywhere on my system, I suppose you
mean 'lshal' instead? Any idea what I should be looking for there?
And I do have hald-addon-input and gnome-settings-daemon running, but
dbus-monitor --session doesn't show anything (not even when I connect
the BT headset, which is weird and perhaps indicates something wrong
with my system?)
Ideas are appreciated.
More information about the pulseaudio-discuss
mailing list