mumble doesn't recognize hotplugged external USB keyboard for shortcuts

Bug #583538 reported by Steve Beattie
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mumble (Ubuntu)
Incomplete
Undecided
Thorvald Natvig

Bug Description

Binary package hint: mumble

I have a Lenovo T61 laptop and when I'm not traveling I use a USB microsoft natural 4000 keyboard plugged into it. From either keyboard, I can navigate the main mumble interface (Alt-e to bring up the Server menu, for example); however, when I try to set up shortcuts like Push to Talk, keypresses are recognized only from the keyboard native to the laptop, not from the external keyboard. For example, I tried to set up the Windows key for Push to Talk, xev sees both keypresses as Super_L:

  KeyPress event, serial 26, synthetic NO, window 0x6c00001,
    root 0x123, subw 0x6c00002, time 2311298519, (34,36), root:(849,578),
    state 0x10, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

vs

 KeyPress event, serial 29, synthetic NO, window 0x6c00001,
    root 0x123, subw 0x0, time 2311301020, (99,6), root:(914,548),
    state 0x10, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

but only the windows key on the laptop is recognized either by the shortcut entry or for activating the shortcut itself. This is true for regular alphanumeric keys as well.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: mumble 1.2.2-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
Architecture: amd64
CheckboxSubmission: 9c15077a0ca11678d04e060687c26674
CheckboxSystem: 5dc75472945f57d094b84e90feb97396
Date: Thu May 20 11:34:53 2010
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=bash
SourcePackage: mumble

Revision history for this message
Steve Beattie (sbeattie) wrote :
Revision history for this message
Thorvald Natvig (slicer) wrote :

Please start Mumble from a terminal window and post the complete output here.

Changed in mumble (Ubuntu):
assignee: nobody → Thorvald Natvig (slicer)
status: New → Incomplete
Revision history for this message
Steve Beattie (sbeattie) wrote :

Ah, doing that shed some light on what the issue was, the following was in the output:

  QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
  QFileSystemWatcher: failed to add paths: /home/steve/.config/ibus/bus
  Bus::open: Can not get ibus-daemon's address.
  IBusInputContext::createInputContext: no connection to ibus-daemon

Once I started ibus-daemon, shortcut events from the external keyboard were detected.

The question becomes, then, why the dependency on ibus, and what's supposed to start it, as I don't see it running on 3 different 10.04 systems that I've looked at.

Revision history for this message
Thorvald Natvig (slicer) wrote :

I hadn't heard about ibus until 30 seconds ago, so this isn't something upstream Mumble or the debian package depends on :) Could you post the complete console output, please?

Revision history for this message
Steve Beattie (sbeattie) wrote :

Alright, I did a little more digging into the issue. I can reproduce it if I start mumble without the external keyboard plugged in and then plug it in; mumble doesn't recognize the shortcuts that I've mapped. I'm attaching the full log from a session where I started without the keyboard plugged in, and then plugged it in.

Revision history for this message
Steve Beattie (sbeattie) wrote :

And here is a log from a session where the keyboard was already plugged in when mumble was started.

Revision history for this message
Steve Beattie (sbeattie) wrote :

Oh yes, one more comment, the ibus-daemon I mentioned before was a red herring; starting ibus-daemon had no effect if the kayboard was plugged in after mumble was started.

summary: - mumble doesn't recognize external USB keyboard for shortcuts
+ mumble doesn't recognize hotplugged external USB keyboard for shortcuts
Revision history for this message
Master_ex (pntanasis) wrote :

Hello,
I have the same problem running mumble client 1.1.8-3 . I am using Ubuntu 9.10 (2.6.31-22-generic) amd64.
The keyboard I am using is a microsoft wired 600 usb (this is a desktop pc btw).
I've tried the ibus-daemon thing but it didn't worked.
My keyboard has some shortcuts about the calculator, paly/pause, volume up/down and mute. All these shortcuts are working with mumble.
Also I've tried to run mumble as root and all the keys worked fine. I have also tried to set the push-to-talk shortcut as root and use it after that as normal user but I was not successful. The settings were saved but mumble wasn't responding to the key that I have set.

Revision history for this message
Heiko Stroech (heiko-stroech) wrote :

Hi,

I have the same issue with version 1.2.3-2ubuntu4.1 on Ubuntu 12.04LTS 64bit and several Logitech-Keyboards.

Greetinx

Heiko

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.