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.
Created attachment 376894 [details] List of packages, which I updated. After this update mumble became broken.
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.
I loggen in to MATE 1.8 desktop environment and this problem was present there.
The problem was still present for mumble-1.2.6, but then I switched from openrc to systemd and the problem disappeared.
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.
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
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
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
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.
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.
Is this still a problem in master (mumble-9999)?