sometimes keyboard doesn't work and mouse doesn't click in X11

Category:bug report

Every once in a while, either the keyboard won't work, the mouse won't click, or sometimes both. This usually lasts about 10 to 30 seconds. If the mouse isn't working, sometimes hover events are still registered, as I can see the highlighting of tabs in firefox as I move the mouse over them.

Also, if the keyboard isn't working, I can still switch to a tty and use it there.

I'm currently using xmonad, but I also had this issue in kde, and I'm pretty sure I had it in Gnome as well.

Sometimes quitting a particular application will make the mouse work again. In the past, this has been the gnome terminal, but it may have been other programs at other times as well.

I am using the amd64 port.

Sun, 05/13/2012 - 02:50

The last time this happened, the mouse worked fine in abrowser, but not in gnome-terminal. The right mouse button worked, but one of my two left mouse buttons didn't work in that program. (My thinkpad has 2 left and 2 right mouse buttons.)

Then most (or all) of my gnome terminals crashed.