← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 892706] [NEW] after gdm login, keyboard doesn't send KeyPress events

 

You have been subscribed to a public bug:

I can type fine at the gdm prompt, and the mouse works after login too.
fvwm catches my bound function keys for window manipulation, but regular
keypresses into windows don't work.

I ran xev and typed into it. Usually each keypress makes 3 events: 
FocusOut event, serial 23, synthetic NO, window 0xc00001,
    mode NotifyGrab, detail NotifyPointer

FocusIn event, serial 23, synthetic NO, window 0xc00001,
    mode NotifyGrab, detail NotifyPointer

KeymapNotify event, serial 23, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   4   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

..and the keyrelease makes 3 more:
FocusOut event, serial 23, synthetic NO, window 0xc00001,
    mode NotifyUngrab, detail NotifyPointer

FocusIn event, serial 23, synthetic NO, window 0xc00001,
    mode NotifyUngrab, detail NotifyPointer

KeymapNotify event, serial 23, synthetic NO, window 0x0,
    keys:  1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

but I noticed that if I press a few keys and overlap the time they're
down, I can get occasional correct-looking KeyRelease events with the
right keysyms and everything. I haven't found any way to get a KeyPress.

Here are some related-looking pages:
http://e-mats.org/2009/05/keyboard-not-working-after-booting-ubuntu/ blames dbus and hal for a very similar bug. I have tried restarting dbus but nothing seems to change.
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/59616/comments/18 but running "gconftool-2 -s /apps/gnome-settings-daemon/plugins/a11y-keyboard/active -t bool false" had no effect

This damage happened upon my upgrade from 11.04 to 11.10. One other
thing I changed today was that I used to have Module Load "xtrap" in my
xorg.conf but took it out when I got warnings from the new X version.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: xorg 1:7.6+7ubuntu7
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Sat Nov 19 19:00:32 2011
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/usr/bin/zsh
SourcePackage: xorg
Symptom: display
UpgradeStatus: Upgraded to oneiric on 2011-11-19 (0 days ago)

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oneiric
-- 
after gdm login, keyboard doesn't send KeyPress events
https://bugs.launchpad.net/bugs/892706
You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu.