![]() Registered Member ![]()
|
Hi there.
Quite often (2 times today so far), my keyboard completely stops working in KDE. This happens on two different PCs. It seems to happen most often when I have Konqueror open, and am hitting "alt tab". After alt-tabbing over to Konqueror, then the keyboard completely dies in KDE. I have to close down all the apps with the mouse. And then I use Ctrl+Alt+F1, to change over to a text terminal and then run '/etc/init.d/kdm restart', to get another login, where the keyboard works again in KDE. In some cases, the keyboard seems to start working again spontaneously, after closing down a few apps. But this might be coincidental (it was going to work anyway after a short period of time). For reference, here are the last few lines of my Xorg.0.log file:
It kind of looks like something hardware-wise is resetting in my PC, but X or KDE isn't able to pick up the keyboard, although the mouse works fine. While in reality, the keyboard is actually working fine, since I can always use "Ctrl+Alt" to switch out of X into a text terminal, to reset KDM. Also, my mouse and keyboard are both USB. Is this a known problem? Any known fixes? Should I report this as a bug against X/KDE/Konqueror? |
![]() Administrator ![]()
|
Does physically disconnecting and reconnecting your keyboard cure the issue? ( just checking to see if it is a X issue with hardware rapidly appearing and disappearing )
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thanks for the reply. I was waiting for it to come up again before replying.
Happened again today on my work PC, where the keyboard & mouse are on a KVM switch, with PS2 connectors (my home PC is the one with USB input devices, which has the same, or a very similar problem, which I reported in my previous post). No output in the X log. Disconnecting the mouse & keyboard on the box didn't make any difference, and neither did switching with the KVM. But after closing down a few apps with the mouse, the keyboard started working again. I think that the last-closed app was Konqueror. I have this idea that somehow Konqueror (or some other KDE app/component) is disabling/stealing the keyboard from all the other apps, due to some bug. The only related thing I've changed in my system (for task-switching/alt-tab), is disabling the 3d effect for switching between apps - I prefer the list of app names. I'll post more in this thread as I find more info, in case it gives people an idea for what I should check next, or report a bug for. Next time I'll see if I can find more information in the syslog and xsession-errors. Let me know if there are other places I can check, or should try increasing the logging verbosity for. |
![]() Registered Member ![]()
|
Happened again, this time on my home PC (the one with USB devices). However, after closing a few windows with the mouse, the keyboard seems to work again. Again, I think it is Konqueror that I closed, which re-enabled the keyboard.
I got some more information from the logs now. Syslog:
Xorg.0.log
.xsession-errors Firstly, getting a huge number of these, but I assume it's normal:
And, I don't seem to see anything special in the X log just before the keyboard stopped working in X, but I do see this when it started working again:
Which might be coincidental. Basically, from the syslog, it looks like the USB subsystem (in the kernel/on my motherboard) are glitching/resetting a bit, and this is confusing X keyboard handling in some way, but not adversely affecting the keyboard handling for the rest of the system? Although it's pretty weird how this seems to be connected to konqueror. Maybe I have slightly faulty hardware, and konqueror is exposing the problem in some way ![]() Well, these are the logs from my home machine, which uses a USB mouse and keyboard. I'll need to check what the logs on my work PC say when it happens there. But for this problem on my home PC, does this look like something I should forward to X.Org? |
![]() Administrator ![]()
|
If you can link the problem with one specific application, then further investigation can be done to find the issue. With Konqueror, are you visiting any site in particular when it locks up?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Had it again now, at work, but the symptoms are a bit different:
1. In my syslog:
2. This is at the bottom of my xsession-errors:
3. This is at the bottom of my xorg log file:
... This sounds like I am getting some weird ACPI warning. I don't know how ACPI works in Linux... any advice based on the above message? 4. It definitely seems to be konqueror-related in some way. I checked the keyboard (in a konsole session) as I closed down Konqueror tabs (the first app I tried closing), and immediately after Konqueror closed (after the last tab was closed), the keyboard started working fine again. The timing is too close to be a coincidence (and I have observed the same thing many times before).
No site in particular. 99% of the time I use Konqueror as a filesystem browser, because I prefer it to Dolphin (and I use Iceweasel on Debian for web browsing 99% of the time). Today I was coincidentally using Konqueror to browse to an SSL (and htpass)-protected bugzilla installation as for something work-related, but I don't think that's related. Also, the keyboard freezing in this case happened (I think) when I was switching between 2 other apps - Konqueror was just running in the background, I think just with a few open tabs to various directories on my harddrive. Note: The above was on my work PC (ie, the one with the KVM switch and PS2 input devices, not the one at home with the USB input devices). The main things in common between my work and home PC that I can think of: 1. I use Konqueror a lot for filesystem browsing, management, in KDE 4. 2. I have the proprietary nvidia graphics card driver installed. 3. I've disabled the KDE's fancy task-switching animation (prefer the list of window titles). 4. I have slightly non-standard input devices (USB at home, and KVM+PS2 at work). |
![]() Administrator ![]()
|
This means that Konqueror ( or more likely, one of its loaded plugins, probably Flash ) is capturing all keyboard output.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thanks for that confirmation.
I don't think it is 100% Konqueror, but it definitely seems to be involved in some way. I'll report a bug against Konqueror on the Debian bug tracking system ![]() |
![]() Registered Member ![]()
|
I'm experiencing a similar problem, except it's the mouseclicks that stop working, and I don't use Konqueror. Cursor movement continues to work fine. I've experienced the problem mainly, if not exclusively, when browser windows are open (Firefox/Chromium), but I'm not completely sure that's the cause. Suspending compositing doesn't change anything, but the problem does not appear in Fluxbox. As with wizzardxyz, closing some/all windows resolves the problem for a couple minutes, and restarting X resolves it for a while, but not indefinitely.
|
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]