! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Binding 'XF86AudioLowerVolume' failed!
Status:
RESOLVED: WORKSFORME
Product:
Xfce4-pulseaudio-plugin
Component:
General

Comments

Description poma 2015-03-09 10:02:27 CET
xfce4-pulseaudio-plugin-0.2.1-3.git20150309.fc21.x86_64 - git caa4aba

$ PANEL_DEBUG=gdb xfce4-panel
...
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/22
xfce4-panel(module): new item (type=external-wrapper, name=pulseaudio, id=22)
xfce4-panel(external): pulseaudio-22: child spawned; pid=2220, argc=25
...
xfce4-panel(external): pulseaudio-22: child is embedded; 6 properties in queue

** (wrapper-2.0:2247): WARNING **: Binding 'XF86AudioLowerVolume' failed!

(wrapper-2.0:2247): pulseaudio-plugin-WARNING **: Could not have grabbed volume control keys. Is another volume control application (xfce4-volumed) running?
...


$ ps x | grep -i 'audio\|sound\|volumed' | grep -v grep
 1991 ?        S<l    0:00 /usr/bin/pulseaudio --start
 2220 pts/0    S+     0:00 /usr/bin/gdb -batch -ex set logging file /tmp/1425888720_gdb_pulseaudio_22.log -ex set logging on -ex set pagination off -ex set logging redirect on -ex run -ex backtrace full -ex info registers -args /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libpulseaudio-plugin.so 22 20971561 pulseaudio PulseAudio Plugin Adjust the audio volume of the PulseAudio sound system
 2247 pts/0    Sl     0:00 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libpulseaudio-plugin.so 22 20971561 pulseaudio PulseAudio Plugin Adjust the audio volume of the PulseAudio sound system


$ cat /tmp/1425888720_gdb_pulseaudio_22.log
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe227f700 (LWP 2290)]
Comment 1 Andrzej editbugs 2015-04-07 02:21:28 CEST
Any chance there were two instances of the plugin running? If so, only one would be able to bind the keys and the other would print the warning.
Comment 2 poma 2015-04-13 17:25:02 CEST
$ PANEL_DEBUG=1 xfce4-panel 
...
** (wrapper-2.0:12673): WARNING **: Binding 'XF86AudioLowerVolume' failed!
** (wrapper-2.0:12733): WARNING **: Binding 'XF86AudioRaiseVolume' failed!
** (wrapper-2.0:12810): WARNING **: Binding 'XF86AudioMute' failed!
...
(wrapper-2.0:12673): pulseaudio-plugin-WARNING **: Could not have grabbed volume control keys. Is another volume control application (xfce4-volumed) running?
(wrapper-2.0:12733): pulseaudio-plugin-WARNING **: Could not have grabbed volume control keys. Is another volume control application (xfce4-volumed) running?
(wrapper-2.0:12810): pulseaudio-plugin-WARNING **: Could not have grabbed volume control keys. Is another volume control application (xfce4-volumed) running?


This is caused by 3x "amixer ..." - upstream, Fedora:

http://pkgs.fedoraproject.org/cgit/libxfce4ui.git/tree/libxfce4ui-4.12.0-keyboard-shortcuts.patch#n22
+      <property name="XF86AudioRaiseVolume" type="string" value="amixer set Master 10%+ -q"/>
+      <property name="XF86AudioLowerVolume" type="string" value="amixer set Master 10%- -q"/>
+      <property name="XF86AudioMute" type="string" value="amixer set Master toggle -q"/>


Xfce PulseAudio Plugin handles multimedia keys for controlling the audio volume
https://bugzilla.redhat.com/show_bug.cgi?id=1211313
Comment 3 poma 2015-04-13 17:27:31 CEST
By the way I tested this plugin with several multimedia keyboards, works OK man. ;)

Bug #11667

Reported by:
poma
Reported on: 2015-03-09
Last modified on: 2015-04-13

People

Assignee:
Andrzej
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information