Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510300 - media-sound/mumble-1.2.5 - hotkeys stopped working
Summary: media-sound/mumble-1.2.5 - hotkeys stopped working
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-14 10:58 UTC by headcrabextra
Modified: 2019-04-20 19:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info mumble output (emerge --info,5.64 KB, text/plain)
2014-05-14 10:58 UTC, headcrabextra
Details
List of packages, which I updated. After this update mumble became broken. (list_of_packages_that_broke_mumble,9.72 KB, text/plain)
2014-05-14 10:59 UTC, headcrabextra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description headcrabextra 2014-05-14 10:58:16 UTC
Created attachment 376892 [details]
emerge --info mumble output

After a recent update of world hotkeys in mumble stopped working for me.
What exactly that means:
I enter mumble, open audio wizard, skip to the page with voice activation detection and push to talk. I press on the push-to-talk field, it becomes grey and gets a label "press shortcut", but whatever I press (mouse buttons or keyboard buttons), mumble doesn't see that and doesn't record that as a hotkey.
Same happens if I try to bind a hotkey in configure - settings - shortcuts.
This problem did not exist for me before this recent world update. I tried reemerging mumble, deleting ~/.local/share/data/Mumble directory, doing revdep-rebuild - it did not help.

I will attach emerge --info and a complete list of packages, that I updated when updated the @world. Also I am using KDE, I will try installing some other DE and will report if the problem persists there.
Comment 1 headcrabextra 2014-05-14 10:59:00 UTC
Created attachment 376894 [details]
List of packages, which I updated. After this update mumble became broken.
Comment 2 headcrabextra 2014-05-14 11:01:07 UTC
Yeah, about gentoo sources being updated in that list - I tested whether loading an older kernel, which I was using before, would fix it - no, it didn't.
Comment 3 headcrabextra 2014-05-15 05:10:01 UTC
I loggen in to MATE 1.8 desktop environment and this problem was present there.
Comment 4 headcrabextra 2014-06-07 08:19:02 UTC
The problem was still present for mumble-1.2.6, but then I switched from openrc to systemd and the problem disappeared.
Comment 5 headcrabextra 2014-06-07 10:53:52 UTC
Actually the buttons worked while I had systemd installed but still ran openrc as init. Once I completed systemd configuration and used it as the init system, hotkeys stopped working again.
Comment 6 headcrabextra 2014-06-07 11:33:12 UTC
Further update:
I found 2 threads on reddit with the same problem (however it is on archlinux, not gentoo):
https://pay.reddit.com/r/archlinux/comments/21vi23/mumble_pushtotalk_keybindings_stopped_working
https://pay.reddit.com/r/archlinux/comments/1zdabz/stumped_on_how_to_figure_out_mumble_keyboard_issue

Looks like my problem is exactly the same. If I run mumble with sudo, the hotkeys work. If I run mumble without sudo, it only detects my mouse (even so, additional keys on the mouse don't work for hotkeys).

Running mumble as common user:
CELT bitstream 8000000b from /usr/lib64/mumble/libcelt0.so.0.7.0
CELT bitstream 80000010 from /usr/lib64/mumble/libcelt0.so.0.11.0
Locale is "en_US" (System: "en_US")
TextToSpeech: Compiled without support for speech-dispatcher
Database SQLite: "3.8.4.3" 
Overlay: Listening on "/home/crabman/.MumbleOverlayPipe" 
GlobalShortcutX: /dev/input/event4: A4TECH USB Device
AudioInput: 40000 bits/s, 48000 hz, 480 sample
PulseAudio: Starting input alsa_input.pci-0000_00_1b.0.analog-stereo
PulseAudio: Starting echo: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
PulseAudio: Starting output: alsa_output.pci-0000_00_1b.0.analog-stereo
AudioInput: Initialized mixer for 0 channel 48000 hz mic and 1 channel 44100 hz echo
AudioOutput: Initialized 2 channel 44100 hz mixer
AudioInput: Initialized mixer for 1 channel 44100 hz mic and 1 channel 44100 hz echo
warning: The VAD has been replaced by a hack pending a complete rewrite
AudioInput: ECHO CANCELLER ACTIVE
PulseAudio: Forcibly disconnected from PulseAudio


Running mumble with sudo:
CELT bitstream 8000000b from /usr/lib64/mumble/libcelt0.so.0.7.0
CELT bitstream 80000010 from /usr/lib64/mumble/libcelt0.so.0.11.0
Locale is "en_US" (System: "en_US")
TextToSpeech: Compiled without support for speech-dispatcher
Database SQLite: "3.8.4.3" 
Overlay: Listening on "/root/.MumbleOverlayPipe" 
GlobalShortcutX: /dev/input/event0: Power Button
GlobalShortcutX: /dev/input/event1: Power Button
GlobalShortcutX: /dev/input/event2: AT Translated Set 2 keyboard
GlobalShortcutX: /dev/input/event4: A4TECH USB Device
GlobalShortcutX: /dev/input/event5: A4TECH USB Device
AudioInput: 40000 bits/s, 48000 hz, 480 sample
PulseAudio: Starting output: alsa_output.pci-0000_00_1b.0.analog-stereo
PulseAudio: Starting input alsa_input.pci-0000_00_1b.0.analog-stereo
AudioOutput: Initialized 2 channel 44100 hz mixer
AudioInput: Initialized mixer for 1 channel 44100 hz mic and 0 channel 48000 hz echo
warning: The VAD has been replaced by a hack pending a complete rewrite
PulseAudio: Forcibly disconnected from PulseAudio
Comment 7 headcrabextra 2014-06-07 11:37:26 UTC
And this is what happens when I run openrc instead of systemd while having systemd installed (in this case hotkeys work):
CELT bitstream 8000000b from /usr/lib64/mumble/libcelt0.so.0.7.0
CELT bitstream 80000010 from /usr/lib64/mumble/libcelt0.so.0.11.0
Locale is "en_US" (System: "en_US")
TextToSpeech: Compiled without support for speech-dispatcher
Database SQLite: "3.8.4.3" 
Overlay: Listening on "/home/crabman/.MumbleOverlayPipe" 
GlobalShortcutX: Unable to open any keyboard input devices under /dev/input, falling back to XInput
GlobalShortcutX: Using XI2 2.0
AudioInput: 40000 bits/s, 48000 hz, 480 sample
PulseAudio: Starting input alsa_input.pci-0000_00_1b.0.analog-stereo
PulseAudio: Starting echo: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
PulseAudio: Starting output: alsa_output.pci-0000_00_1b.0.analog-stereo
AudioInput: Initialized mixer for 0 channel 48000 hz mic and 1 channel 44100 hz echo
AudioOutput: Initialized 2 channel 44100 hz mixer
AudioInput: Initialized mixer for 1 channel 44100 hz mic and 1 channel 44100 hz echo
warning: The VAD has been replaced by a hack pending a complete rewrite
AudioInput: ECHO CANCELLER ACTIVE
OpenSSL Support: 1 (OpenSSL 1.0.1h 5 Jun 2014)
AudioInput: 40000 bits/s, 48000 hz, 480 sample
AudioInput: 40000 bits/s, 48000 hz, 480 sample
AudioOutput: Initialized 2 channel 44100 hz mixer
AudioInput: Initialized mixer for 0 channel 48000 hz mic and 1 channel 44100 hz echo
AudioInput: Initialized mixer for 1 channel 44100 hz mic and 1 channel 44100 hz echo
warning: The VAD has been replaced by a hack pending a complete rewrite
AudioInput: ECHO CANCELLER ACTIVE
AudioInput: 40000 bits/s, 48000 hz, 480 sample
AudioInput: Initialized mixer for 0 channel 48000 hz mic and 1 channel 44100 hz echo
AudioInput: Initialized mixer for 1 channel 44100 hz mic and 1 channel 44100 hz echo
AudioOutput: Initialized 2 channel 44100 hz mixer
warning: The VAD has been replaced by a hack pending a complete rewrite
AudioInput: ECHO CANCELLER ACTIVE
PulseAudio: Forcibly disconnected from PulseAudio


The key line here is
GlobalShortcutX: Unable to open any keyboard input devices under /dev/input, falling back to XInput
Comment 8 headcrabextra 2014-06-07 11:41:12 UTC
Another relevant topic - http://sourceforge.net/p/mumble/feature-requests/993/
Looks like to solve this I must somehow forbid access to /dev/input/event4
Comment 9 headcrabextra 2014-06-07 12:23:40 UTC
https://github.com/mumble-voip/mumble/issues/1145
Here mumble developers promise to fix this in mumble-1.3.0. While they haven't done that, the workaround I found is to do

root$ setfacl -b /dev/input/event4

Where event4 is the only device that gets recognized by mumble:
GlobalShortcutX: /dev/input/event4: A4TECH USB Device

This revokes acl settings for that input device. I don't know if it has any shortcomings.
Comment 10 Alexey Skobkin 2015-01-23 17:24:38 UTC
Same problem.
I also get "A4TECH USB Device" when mumble starts.

$ mumble
Fontconfig warning: "/etc/fonts/infinality/conf.d/41-repl-os-win.conf", line 148: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/infinality/conf.d/41-repl-os-win.conf", line 160: Having multiple values in <test> isn't supported and may not work as expected
CELT bitstream 8000000b from /usr/lib64/mumble/libcelt0.so.0.7.0
CELT bitstream 80000010 from /usr/lib64/mumble/libcelt0.so.0.11.0
Locale is "en_US" (System: "en_US")
Database SQLite: "3.8.8.1"
Overlay: Listening on "/home/skobkin/.MumbleOverlayPipe"
GlobalShortcutX: /dev/input/event7: A4TECH USB Device
AudioInput: 72000 bits/s, 48000 hz, 480 sample
PulseAudio: Starting input alsa_input.usb-Samson_Technologies_Samson_GoMic-00-GoMic.analog-stereo
PulseAudio: Starting output: alsa_output.pci-0000_00_1b.0.analog-stereo
AudioInput: Initialized mixer for 1 channel 44100 hz mic and 0 channel 48000 hz echo
AudioOutput: Initialized 1 channel 44100 hz mixer
warning: The VAD has been replaced by a hack pending a complete rewrite
OpenSSL Support: 1 (OpenSSL 1.0.2 22 Jan 2015)
libpng warning: iCCP: known incorrect sRGB profile
PulseAudio: Forcibly disconnected from PulseAudio

--------------------------------------

I backed up ACL for file and cleared it:
getfacl -R /dev/input/event7 > /path/to/dev_input_event7.acl
setfacl -b /dev/input/event7

It helps. Now mumble can bind hotkeys.
Comment 11 Andreas Sturmlechner gentoo-dev 2018-08-21 19:29:04 UTC
Is this still a problem in master (mumble-9999)?