Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Keyboard stops working in X while compiling packages...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
MasquedAvenger
Guru
Guru


Joined: 21 Aug 2003
Posts: 559
Location: Southern California

PostPosted: Thu Oct 29, 2009 9:59 pm    Post subject: Keyboard stops working in X while compiling packages... Reply with quote

Hey everyone. I have a rather odd problem. After some updates to X.org about a month ago, without fail, after compiling packages for ~10-15 minutes, the keyboard stops working under X.org. Or, rather, whatever was the last key I hit when the keyboard stopped working is the key that will continue to be held down in software, and I won't be able to hit any other keys. I thought at first that this could be chalked up to flaky hardware (it's a laptop, and heat can do bad things to laptops), but as soon as I log out of X.org, the keyboard works fine on the console, and if I startx again, it's working once more under X.org as well.

This only happens when I'm updating packages (I'm assuming it's related to keeping the CPU very busy while running X.org, but I could be wrong.) If I'm not, the keyboard continues to work fine. I checked the X.org log, and dmesg, but nothing seems to even hint at the fact that something might have gone wrong.

Has anyone else had this problem? I run Fluxbox, with gnome-settings-daemon sitting on top (it makes sure fonts in apps like Firefox are rendered properly.)

Thanks!

James
_________________
"There are no uninteresting things; only uninterested people." --G.K. Chesterton
Back to top
View user's profile Send private message
Ijon Tichy
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2004
Posts: 80
Location: Seattle, WA

PostPosted: Thu Oct 29, 2009 10:43 pm    Post subject: Re: Keyboard stops working in X while compiling packages... Reply with quote

MasquedAvenger wrote:
Hey everyone. I have a rather odd problem. After some updates to X.org about a month ago, without fail, after compiling packages for ~10-15 minutes, the keyboard stops working under X.org. Or, rather, whatever was the last key I hit when the keyboard stopped working is the key that will continue to be held down in software, and I won't be able to hit any other keys. I thought at first that this could be chalked up to flaky hardware (it's a laptop, and heat can do bad things to laptops), but as soon as I log out of X.org, the keyboard works fine on the console, and if I startx again, it's working once more under X.org as well.

This only happens when I'm updating packages (I'm assuming it's related to keeping the CPU very busy while running X.org, but I could be wrong.) If I'm not, the keyboard continues to work fine. I checked the X.org log, and dmesg, but nothing seems to even hint at the fact that something might have gone wrong.

Has anyone else had this problem? I run Fluxbox, with gnome-settings-daemon sitting on top (it makes sure fonts in apps like Firefox are rendered properly.)

Thanks!

James


Heh. And here I thought I was the only one.

Mine doesn't sound as severe as yours -- I've never had to log out of X -- but when compiling packages my keys will occasionally get a bit "sticky". I've also had that situation happen where a key press gets stuck and repeats for a bit. I just chalked it up to a loaded CPU.

Unfortunately, I don't have a fix for it as it hasn't really stopped me from doing anything. I just deal with it while things are compiling. I thought I'd let you know you weren't alone, at least. :)
_________________
Death to VideoDrome.
Long live the New Flesh.
Back to top
View user's profile Send private message
Ijon Tichy
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2004
Posts: 80
Location: Seattle, WA

PostPosted: Thu Oct 29, 2009 11:09 pm    Post subject: Re: Keyboard stops working in X while compiling packages... Reply with quote

MasquedAvenger wrote:
Hey everyone. I have a rather odd problem. After some updates to X.org about a month ago, without fail, after compiling packages for ~10-15 minutes, the keyboard stops working under X.org. Or, rather, whatever was the last key I hit when the keyboard stopped working is the key that will continue to be held down in software, and I won't be able to hit any other keys.


I did a bit of poking around out of curiosity and this (long) series of comments seems to be from folks having a very similar problem:

https://bugs.launchpad.net/ubuntu/jaunty/+source/xorg-server/+bug/124406?comments=all

Which, eventually, leads to this kernel bug (having something to do with ACPI):

http://bugzilla.kernel.org/show_bug.cgi?id=9147

Not sure how much that helps, but maybe it'll give you a place to start.
_________________
Death to VideoDrome.
Long live the New Flesh.
Back to top
View user's profile Send private message
MasquedAvenger
Guru
Guru


Joined: 21 Aug 2003
Posts: 559
Location: Southern California

PostPosted: Fri Oct 30, 2009 1:33 am    Post subject: Re: Keyboard stops working in X while compiling packages... Reply with quote

Ijon Tichy wrote:
I thought I'd let you know you weren't alone, at least. :)


It's good to know I'm not alone, even if you don't have a solution to share :) It's worse when you have weird issues like that with no logs to back it up and nobody else has had that experience in common.

James
_________________
"There are no uninteresting things; only uninterested people." --G.K. Chesterton
Back to top
View user's profile Send private message
MasquedAvenger
Guru
Guru


Joined: 21 Aug 2003
Posts: 559
Location: Southern California

PostPosted: Fri Oct 30, 2009 1:34 am    Post subject: Re: Keyboard stops working in X while compiling packages... Reply with quote

Ijon Tichy wrote:

I did a bit of poking around out of curiosity and this (long) series of comments seems to be from folks having a very similar problem:

https://bugs.launchpad.net/ubuntu/jaunty/+source/xorg-server/+bug/124406?comments=all

Which, eventually, leads to this kernel bug (having something to do with ACPI):

http://bugzilla.kernel.org/show_bug.cgi?id=9147

Not sure how much that helps, but maybe it'll give you a place to start.


I'll check it out. Thanks for the links.

James
_________________
"There are no uninteresting things; only uninterested people." --G.K. Chesterton
Back to top
View user's profile Send private message
MasquedAvenger
Guru
Guru


Joined: 21 Aug 2003
Posts: 559
Location: Southern California

PostPosted: Fri Oct 30, 2009 1:44 am    Post subject: Reply with quote

After reading about that kernel bug, I REALLY hope it's not that. This is a laptop; I need the ACPI modules :( Thanks again for the info. Hopefully I'll figure this out. I suppose for now, I'll just have to compile updates when I'm not using X.

James
_________________
"There are no uninteresting things; only uninterested people." --G.K. Chesterton
Back to top
View user's profile Send private message
mirv
n00b
n00b


Joined: 30 Mar 2007
Posts: 13
Location: Germany

PostPosted: Thu Jan 28, 2010 4:43 pm    Post subject: Reply with quote

Bit of an older thread I know, but was there ever a proper solution to this problem?
_________________
the Silly Fish.
Back to top
View user's profile Send private message
MasquedAvenger
Guru
Guru


Joined: 21 Aug 2003
Posts: 559
Location: Southern California

PostPosted: Thu Jan 28, 2010 7:57 pm    Post subject: Reply with quote

Unfortunately, no. I've since just had to resign myself to compiling updates when I'm not using the system.

James
_________________
"There are no uninteresting things; only uninterested people." --G.K. Chesterton
Back to top
View user's profile Send private message
mirv
n00b
n00b


Joined: 30 Mar 2007
Posts: 13
Location: Germany

PostPosted: Thu Jan 28, 2010 8:16 pm    Post subject: Reply with quote

I do find that "xset r off" whilst compiling seems to preserve some sanity of my keyboard at the cost of no key repeats. I just re-enable it after compiling - it's still quite annoying though.
_________________
the Silly Fish.
Back to top
View user's profile Send private message
MasquedAvenger
Guru
Guru


Joined: 21 Aug 2003
Posts: 559
Location: Southern California

PostPosted: Thu Jan 28, 2010 8:22 pm    Post subject: Reply with quote

hmm... I'll have to try that. Thanks!

James
_________________
"There are no uninteresting things; only uninterested people." --G.K. Chesterton
Back to top
View user's profile Send private message
mirv
n00b
n00b


Joined: 30 Mar 2007
Posts: 13
Location: Germany

PostPosted: Sun Mar 07, 2010 9:32 am    Post subject: Reply with quote

Just wanted to post a followup (even if it's a few months later).
I switched from using the kbd driver (specified in xorg.conf) to using evdev instead and it all seems to be working ok now. Of course it's only been a day, but I've managed to compile chromium and wine without the bug occurring, so I'm hopeful it's fixed.
_________________
the Silly Fish.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum