Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Keyboard stops working randomly [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Tue Sep 09, 2008 1:18 am    Post subject: Keyboard stops working randomly [SOLVED] Reply with quote

Hi,

I'm running KDE 3.5.9, and sometimes my keyboard just randomly stops working (my mouse is fine). If I log out, my keyboard is working again. There doesn't seem to be any pattern to when this problem shows up. Any ideas?

Thanks!
_________________
Patrick Ewing wrote:
if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect.


Last edited by srunni on Fri Oct 24, 2008 11:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Tue Sep 09, 2008 1:35 am    Post subject: Reply with quote

Do you have something inside /var/log/messages
Back to top
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Tue Sep 09, 2008 2:04 am    Post subject: Reply with quote

Here is /var/log/messages right around when it happened:

Code:
Sep  8 19:55:29 bebop ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
Sep  8 19:55:29 bebop PM: Writing back config space on device 0000:02:00.0 at offset 1 (was 100102, writing 40100106)
Sep  8 19:55:29 bebop iwl4965: Radio disabled by HW RF Kill switch
Sep  8 19:55:29 bebop ACPI: PCI interrupt for device 0000:02:00.0 disabled
Sep  8 19:57:29 bebop ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
Sep  8 19:57:29 bebop PM: Writing back config space on device 0000:02:00.0 at offset 1 (was 100102, writing 40100106)
Sep  8 19:57:29 bebop iwl4965: Radio disabled by HW RF Kill switch
Sep  8 19:57:29 bebop ACPI: PCI interrupt for device 0000:02:00.0 disabled
Sep  8 19:59:29 bebop ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
Sep  8 19:59:29 bebop PM: Writing back config space on device 0000:02:00.0 at offset 1 (was 100102, writing 40100106)
Sep  8 19:59:29 bebop iwl4965: Radio disabled by HW RF Kill switch
Sep  8 19:59:29 bebop ACPI: PCI interrupt for device 0000:02:00.0 disabled
Sep  8 20:00:01 bebop cron[7785]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.hourly)
Sep  8 20:00:01 bebop cron[7784]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Sep  8 20:00:46 bebop conky[5237]: segfault at 84 ip 0804e286 sp bffc4780 error 4 in conky[8048000+2c000]
Sep  8 20:00:46 bebop conky[5241]: segfault at 84 ip 0804e286 sp bfc03bc0 error 4 in conky[8048000+2c000]
Sep  8 20:00:46 bebop conky[5231]: segfault at 84 ip 0804e286 sp bf821f70 error 4<6>conky[5236]: segfault at 84 ip 0804e286 sp b
f977130 error 4<6>conky[5238]: segfault at 84 ip 0804e286 sp bfbe93a0 error 4<6>conky[5235]: segfault at 84 ip 0804e286 sp bf810
7d0 error 4<6>conky[5239]: segfault at 84 ip 0804e286 sp bf8b6070 error 4 in conky[8048000+2c000]
Sep  8 20:00:46 bebop in conky[8048000+2c000]
Sep  8 20:00:46 bebop in conky[8048000+2c000]
Sep  8 20:00:46 bebop conky[5242]: segfault at 84 ip 0804e286 sp bf88a840 error 4 in conky[8048000+2c000]
Sep  8 20:00:46 bebop in conky[8048000+2c000]
Sep  8 20:00:46 bebop in conky[8048000+2c000]
Sep  8 20:00:46 bebop conky[5233]: segfault at 84 ip 0804e286 sp bf99a7d0 error 4<6>conky[5240]: segfault at 84 ip 0804e286 sp b
f99d960 error 4 in conky[8048000+2c000]
Sep  8 20:00:46 bebop in conky[8048000+2c000]
Sep  8 20:00:49 bebop kdm: :0[4762]: pam_unix(kde:session): session closed for user srunni

_________________
Patrick Ewing wrote:
if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Tue Sep 09, 2008 2:17 am    Post subject: Reply with quote

conky, what is that. When he segfault, maybe it crash the keyboard driver inside the memory...
Back to top
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Tue Sep 09, 2008 2:29 am    Post subject: Reply with quote

Conky is a system monitor which runs on my desktop. It regularly segfaults, and I've never bothered to figure out why. I don't think that's the problem though. But I'll try to figure out what's wrong with it and fix it in case it is.
_________________
Patrick Ewing wrote:
if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Tue Sep 09, 2008 2:59 am    Post subject: Reply with quote

Can you disable this conky and try if you keyboard will crash again ?
Back to top
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Tue Sep 09, 2008 9:25 pm    Post subject: Reply with quote

I just had this error again, and it is not due to Conky. Conky's segfaulting during the logout procedure. I looked at the time before logging out, it was 16:22. Here are the messages for the 10 minutes before that:

Code:
Sep  9 16:16:47 bebop ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
Sep  9 16:16:47 bebop PM: Writing back config space on device 0000:02:00.0 at offset 1 (was 100102, writing 40100106)
Sep  9 16:16:47 bebop iwl4965: Radio disabled by HW RF Kill switch
Sep  9 16:16:47 bebop ACPI: PCI interrupt for device 0000:02:00.0 disabled
Sep  9 16:18:47 bebop ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
Sep  9 16:18:47 bebop PM: Writing back config space on device 0000:02:00.0 at offset 1 (was 100102, writing 40100106)
Sep  9 16:18:47 bebop iwl4965: Radio disabled by HW RF Kill switch
Sep  9 16:18:47 bebop ACPI: PCI interrupt for device 0000:02:00.0 disabled
Sep  9 16:20:01 bebop cron[4807]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Sep  9 16:20:47 bebop ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
Sep  9 16:20:47 bebop PM: Writing back config space on device 0000:02:00.0 at offset 1 (was 100102, writing 40100106)
Sep  9 16:20:47 bebop iwl4965: Radio disabled by HW RF Kill switch
Sep  9 16:20:47 bebop ACPI: PCI interrupt for device 0000:02:00.0 disabled
Sep  9 16:22:18 bebop su[12761]: pam_unix(su:session): session closed for user root
Sep  9 16:22:24 bebop ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
Sep  9 16:22:24 bebop PM: Writing back config space on device 0000:02:00.0 at offset 1 (was 100102, writing 40100106)
Sep  9 16:22:24 bebop iwl4965: Radio disabled by HW RF Kill switch
Sep  9 16:22:24 bebop ACPI: PCI interrupt for device 0000:02:00.0 disabled
Sep  9 16:22:47 bebop ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
Sep  9 16:22:47 bebop PM: Writing back config space on device 0000:02:00.0 at offset 1 (was 100102, writing 40100106)
Sep  9 16:22:47 bebop iwl4965: Radio disabled by HW RF Kill switch
Sep  9 16:22:47 bebop ACPI: PCI interrupt for device 0000:02:00.0 disabled


It is most likely right before the ``session closed for user root'', because I had to kill a Konsole window running an emerge to log out.
_________________
Patrick Ewing wrote:
if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed Sep 10, 2008 1:42 am    Post subject: Reply with quote

Hi, are you having some problem with your wifi also ?
Back to top
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Wed Sep 10, 2008 1:43 am    Post subject: Reply with quote

No, I'm not using wifi - I'm using my wired connection. I have the wifi switch turned off, so the hardware should be completely disabled. Wifi is a little flaky when I use it though (wpa_supplicant + Wicd).
_________________
Patrick Ewing wrote:
if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed Sep 10, 2008 2:02 am    Post subject: Reply with quote

You have a lot of error about your wifi :

Code:

Sep  9 16:22:24 bebop iwl4965: Radio disabled by HW RF Kill switch
Sep  9 16:22:24 bebop ACPI: PCI interrupt for device 0000:02:00.0 disabled
Sep  9 16:22:47 bebop ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
Sep  9 16:22:47 bebop PM: Writing back config space on device 0000:02:00.0 at offset 1 (was 100102, writing 40100106)
Sep  9 16:22:47 bebop iwl4965: Radio disabled by HW RF Kill switch
Sep  9 16:22:47 bebop ACPI: PCI interrupt for device 0000:02:00.0 disabled
Back to top
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Wed Sep 10, 2008 2:29 am    Post subject: Reply with quote

I know, but I don't think that's it. It happened once more:
Code:
Sep  9 21:14:09 bebop usblp0: removed
Sep  9 21:15:54 bebop ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
Sep  9 21:15:54 bebop PM: Writing back config space on device 0000:02:00.0 at offset 1 (was 100102, writing 40100106)
Sep  9 21:15:54 bebop iwl4965: Radio disabled by HW RF Kill switch
Sep  9 21:15:54 bebop ACPI: PCI interrupt for device 0000:02:00.0 disabled
Sep  9 21:17:25 bebop conky[5274]: segfault at 84 ip 0804e286 sp bfe305f0 error 4 in conky[8048000+2c000]
Sep  9 21:17:25 bebop conky[5267]: segfault at 84 ip 0804e286 sp bf80ffd0 error 4 in conky[8048000+2c000]
Sep  9 21:17:25 bebop conky[5276]: segfault at 84 ip 0804e286 sp bfe165d0 error 4 in conky[8048000+2c000]
Sep  9 21:17:25 bebop conky[5278]: segfault at 84 ip 0804e286 sp bf895050 error 4 in conky[8048000+2c000]
Sep  9 21:17:25 bebop conky[5277]: segfault at 84 ip 0804e286 sp bfa98a50 error 4 in conky[8048000+2c000]
Sep  9 21:17:25 bebop conky[5280]: segfault at 84 ip 0804e286 sp bf85c820 error 4 in conky[8048000+2c000]
Sep  9 21:17:25 bebop conky[5282]: segfault at 84 ip 0804e286 sp bfc40c00 error 4 in conky[8048000+2c000]
Sep  9 21:17:25 bebop conky[5279]: segfault at 84 ip 0804e286 sp bf83f800 error 4 in conky[8048000+2c000]
Sep  9 21:17:25 bebop conky[5284]: segfault at 84 ip 0804e286 sp bfb9a350 error 4 in conky[8048000+2c000]
Sep  9 21:17:25 bebop conky[5343]: segfault at 84 ip 0804e286 sp bf8ab120 error 4 in conky[8048000+2c000]
Sep  9 21:17:27 bebop kdm: :0[4824]: pam_unix(kde:session): session closed for user srunni


Look at the time. I logged out at 21:17:27. The error occured within 30 seconds before that. The error is not being logged.
_________________
Patrick Ewing wrote:
if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect.
Back to top
View user's profile Send private message
kokoko3k
n00b
n00b


Joined: 06 May 2005
Posts: 72

PostPosted: Wed Sep 10, 2008 7:18 am    Post subject: Reply with quote

Some times ago i got the same problem, now it's gone.
when it happens, try to open a terminal and press a key for very long time (10 seconds), and see if the character appears in the terminal.
If so, you have the same issue, but i can't provide a solution, sorry.
Back to top
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Wed Sep 10, 2008 5:25 pm    Post subject: Reply with quote

Thanks for the help, I'll try that the next time it happens.
_________________
Patrick Ewing wrote:
if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect.
Back to top
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Wed Sep 10, 2008 9:49 pm    Post subject: Reply with quote

So I had the problem again, and what you said worked - I could only type into the terminal, and only after holding down the key for a significant amount of time.
_________________
Patrick Ewing wrote:
if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect.
Back to top
View user's profile Send private message
kokoko3k
n00b
n00b


Joined: 06 May 2005
Posts: 72

PostPosted: Thu Sep 11, 2008 7:12 am    Post subject: Reply with quote

Of course is something X related (ctrl-alt-backspace, if you manage to hit them, will solve the problem, termporally), i'd try to upgrade or downgrade xf86-input-keyboard first...

Just curious, which keyboard do you use? mine is a wireless logitech desktop pro.
Back to top
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Thu Sep 11, 2008 12:41 pm    Post subject: Reply with quote

kokoko3k wrote:
Of course is something X related (ctrl-alt-backspace, if you manage to hit them, will solve the problem, termporally), i'd try to upgrade or downgrade xf86-input-keyboard first...
Does X control the login/logout from KDM? Or is all that behavior transparent to it and handled by KDE? In that case, wouldn't it be a KDE problem? Were you using KDE when you had the same problem?

kokoko3k wrote:
Just curious, which keyboard do you use? mine is a wireless logitech desktop pro.
This is a laptop (HP Pavilion dv9700t), and I'm using the built-in keyboard. I will try connecting an external keyboard to see if it works (though I believe I tried that a while back and it didn't).
_________________
Patrick Ewing wrote:
if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect.
Back to top
View user's profile Send private message
kokoko3k
n00b
n00b


Joined: 06 May 2005
Posts: 72

PostPosted: Thu Sep 11, 2008 2:29 pm    Post subject: Reply with quote

srunni wrote:
Does X control the login/logout from KDM? Or is all that behavior transparent to it and handled by KDE? In that case, wouldn't it be a KDE problem? Were you using KDE when you had the same problem?


When you log out from kde and return to kdm, X is restarted too.
Yes, i use kde, and it could be a kde issue, but my problem vanished and i've not upgraded any kde part, so i bet is an X issue.
Back to top
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Fri Sep 12, 2008 8:07 pm    Post subject: Reply with quote

kokoko3k wrote:
srunni wrote:
Does X control the login/logout from KDM? Or is all that behavior transparent to it and handled by KDE? In that case, wouldn't it be a KDE problem? Were you using KDE when you had the same problem?


When you log out from kde and return to kdm, X is restarted too.
Yes, i use kde, and it could be a kde issue, but my problem vanished and i've not upgraded any kde part, so i bet is an X issue.
Any idea how I can diagnose it?
_________________
Patrick Ewing wrote:
if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect.
Back to top
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Fri Oct 24, 2008 11:45 pm    Post subject: Reply with quote

I finally figured out what was going on. Apparently, activating KDE's ``slow keys'' and ``sticky keys'' features via a gesture (not sure if mouse or keyboard) was enabled. All I had to do was go to KControl --> Regional & Accessibility --> Accessibility --> Activation Gestures and disable ``Use gestures for activating sticky keys and slow keys''. I guess that restarting X was resetting this option.
_________________
Patrick Ewing wrote:
if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect.
Back to top
View user's profile Send private message
TemplarKnight
Guru
Guru


Joined: 14 Jun 2005
Posts: 311
Location: Greece/patras/

PostPosted: Sun Oct 26, 2008 10:02 am    Post subject: Reply with quote

Disabling "slow keys" also worked for me (kde4.1) thanks 8)
Back to top
View user's profile Send private message
JanErik
Guru
Guru


Joined: 28 Oct 2002
Posts: 488
Location: Finland

PostPosted: Sun Oct 26, 2008 10:17 am    Post subject: Reply with quote

The same thing happened to me once yesterday in KDE 4.1.2 aswell.
Back to top
View user's profile Send private message
pcfreak85
n00b
n00b


Joined: 11 Feb 2005
Posts: 57

PostPosted: Sun Nov 16, 2008 3:01 pm    Post subject: Reply with quote

same issue here with 4.1.2, slow keys is already disabled.
_________________
---
Gentoo running on Lenovo Thinkpad T420 with KDE / SDDM
Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz / 8GB memory / nvidia graphics
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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