Bug 544463
| Summary: | Malfunctioning of the keyboard for the last 3 Fedora versions | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | frs <biest3000> |
| Component: | xorg-x11-server | Assignee: | Peter Hutterer <peter.hutterer> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | urgent | Docs Contact: | |
| Priority: | low | ||
| Version: | 15 | CC: | afolger, jonstanley, mcepl, omoris, xgl-maint |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-07 19:39:00 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Attachments: | |||
|
Description
frs
2009-12-04 23:09:34 UTC
keychecker has nothing to do with keyboard input (it . Throwing this over to xorg-x11-drv-evdev for now. Thanks for the bug report. We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue. Please attach your X server config file (/etc/X11/xorg.conf, if available), output of the dmesg command, and X server log file (/var/log/Xorg.*.log) to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above. We will review this issue again once you've had a chance to attach this information. Thanks in advance. Could you please reply to the previous question? If you won't reply in one month, I will have to close this bug as INSUFFICIENT_DATA. Thank you. [Note please, that this is machine generated comment for large amount of bugs; due to some technical issues, it is possible we've missed some of the responses -- it is happens, please, just a make a comment about that; that we will see. Thank you] I suffer from the same problem, and I can provide additional information as to the symptoms. Frs, please confirm whether my symptoms match yours, otherwise I will file a separate bug report. I use two keyboard variants, Swiss German and Hebrew. Sometimes, randomly, either after a short or much longer amount of work, the cursor and oage navigation keys will be reassigned, with up-arrow being PrtScr, and other arrows having similar new roles, as well as the AltGr and win keys. The Swiss German alphanumeric keys get reassigned, too, and my keyboard begins behaving rather like a normal German keyboard (at least the alphanumeric part). Adding and removing keyboard layouts does nothing, as this seems to be a bug not about the particular layout, but about the identification of the keyboard as generic 105 keys. However, in keyboard switcher applets behaves as if nothing changed, and reports the correct settings. Recently I even started seeing another, similar, coincident peculiar buggy behavior: in addition to the cursor keys being reassigned, the keyboard layout is automatically switched to US. Adding and then removing a keyboard layout (any, but one has to apply the changes when adding, then removing and again applying changes) will return the old keyboard layouts, which had anyway not changed under the keyboard applet, but the cursor and navigation keys are still problematic. This is mightily annoying (though as reported, logging out and logging back in is a fix of sorts), and while I only report it now, I have been suffering from this for at least a year. The sooner this is properly diagnosed and fixed, the better. do you have any application that may toy with the layout settings. I can't imagine why this would be otherwise. also, check your Xorg.log, do you see the device disconnecting and reconnecting before this happens? In theory, only KDE's keyboard applet should do that. Nothing else I use should modify the keyboard layout. And mind you, it seems it isn't the keyboard layout that changes as much as the geometry of the keyboard. If you feel that would be productive, I can upload a listing of `rpm -qa || sort`. (In reply to comment #6) > In theory, only KDE's keyboard applet should do that. Nothing else I use should > modify the keyboard layout. And mind you, it seems it isn't the keyboard layout > that changes as much as the geometry of the keyboard. > > If you feel that would be productive, I can upload a listing of `rpm -qa || > sort`. I think much more productive would be, if you attach (after reproducing the issue but before reboot): * your X server config file (/etc/X11/xorg.conf, if available), * X server log file (/var/log/Xorg.*.log), and * system log (/var/log/messages) to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above. Could you do Ctrl+Alt+F2 to get to the console? We will review this issue again once you've had a chance to attach this information. Thanks in advance. As this issue happens haphazardly, seemingly randomly, I cannot promise by any particular deadline. Sometimes it happens three times a day, sometimes doesn't happen for a week or two. But when it happens, I will do so. Created attachment 456797 [details]
xorg.conf
My machine finally complied, producing the bug with the cursor keys AND switching the keyboard layout from Swiss German to US. This is the first of three relevant attachments.
Created attachment 456799 [details]
Xorg.0.log
the second of three attachments.
Created attachment 456800 [details]
excerpt of /var/log/messages covering this morning's acpi resume, when the kezboard bug reappeared
the third of three attachments.
so the configuration should be ok, the keyboards come up with the layout you configured (ch). so even if the keyboards disappear for a bit, they should still come up with the right layout. when the bug appears, does disconnecting the keyboard work? Usually, everything works, but randomly, the cursor and other navigation keys can suddenly stop working (as well as Alt-Gr. and the Win keys), being partially reassigned. In addition, that bug often coincides with the disappearance of my chosen layouts, switching me automatically to US. I would assume the latter part is a consequence of teh former, and it is the former we should fix first. What do you mean with "when the bug appears, does disconnecting the keyboard work?" You mean physically disconnecting, or do you have a command in mind? physically disconnecting and reconnecting, yet. This is mainly to narrow down the causes. If the keyboard comes back after the reconnect with the right settings, then the server and desktop environment are probably alright and we need to find out if there's an application that hits the keyboard layout badly. This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 12's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Well, I am on Fedora 13, and the bug persists. Please change the version number accordingly (I tried, but couldn't do it). Created attachment 464226 [details]
output of dmesg after malfunction manifested itself
OK, while this issue happens less often in F14, it still happens. Like right now. So I disconnected and reconnected the keyboard, to no avail. Attached is the output of dmesg.
I should add that looking at /var/log/messages, I found nothing interesting (in fact, only one message for the whole half hour, from pulseaudio, about "605 events that were suppressed." Could pulseaudio interfere with the keyboard? Wouldn't that sound weird, pun intended). This message is a reminder that Fedora 13 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '13'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 13's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 13 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping I upgraded to FC15, and this problem is still present. Please amend version number of Fedora for this bug accordingly; I don't see any option to personally change that flag. I just boughtg a new keyboard (from Microsoft). The earlier keyboard was PS/2, while this one is USB, and the same problem persists. What now? This seems to be related to some application you are using (I've been using MS keyboards for years now). For future reference, please attach the evtest output for this keyboard though (MS keyboards usually export two devices, please attach both). what's the output of setxkbmap -print before and after the bug happens? Also, I take it evtest still shows the right events after the bug occurs? "the cursor and oage navigation keys will be reassigned, with up-arrow being PrtScr, and other arrows having similar new roles, as well as the AltGr and win keys." Up→PrintScreen is the typical sign of a rules confusion, something is applying keyboard settings with the xfree86, not the evdev rules. I don't know what does that though but it's most likely some application. When the keyboard malfunctions:
===============================
$ setxkbmap -print
xkb_keymap {
xkb_keycodes { include "xfree86+aliases(qwerty)" };
xkb_types { include "complete+numpad(pc)" };
xkb_compat { include "complete+ledscroll(group_lock)" };
xkb_symbols { include "pc+ch(de)+inet(pc105)+il(lyx):2+altwin(menu)+group(rwin_switch)+group(shift_caps_toggle)+terminate(ctrl_alt_bksp)" };
xkb_geometry { include "pc(pc105)" };
};
I am also attaching the output of evtest. I let it catch the events when I pressed some of the malfunctioning keys: AltGr, left arrow, right arrow, up arrow and down arrow (or perhaps it was down and then up).
Created attachment 517468 [details]
Output of evtest, when the keyboard is malfunctioning
I also let it capture the events when I pressed the following (malfunctioning) keys: AltGr and each of the four arrow keys.
Created attachment 517469 [details]
Output of evtest when keyboard functions properly
I am also adding the following requested output:
$ setxkbmap -print
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete+numpad(pc)" };
xkb_compat { include "complete+ledscroll(group_lock)" };
xkb_symbols { include "pc+ch(de)+il(lyx):2+inet(evdev)+altwin(menu)+group(rwin_switch)+group(shift_caps_toggle)+terminate(ctrl_alt_bksp)" };
xkb_geometry { include "pc(pc105)" };
};
(In reply to comment #23) > xkb_keycodes { include "xfree86+aliases(qwerty)" }; (In reply to comment #25) > xkb_keycodes { include "evdev+aliases(qwerty)" }; you see the xfree86 vs evdev here? xfree86 and evdev have different keycodes, so the keysym association gets busted. Since this happens well into the server I suspect it's some client uploading the wrong rules but I really can't say which one it is. Do you have any special apps that supposedly control the keyboard? The only keyboard controlling app I knowingly use is KDE's keyboard switcher. By the way, can you imagine a way to reset the keyboard without logging out and back in? And I should add that this only happens on my desktop, where I use the Swiss German and the Israeli LyX keyboards. On my laptop, where I use the US International (with dead keys) and the Israeli LyX keyboard layouts, I never have any issues. Another difference is that the desktop runs Fedora for x86_64, while the laptop is i686. (In reply to comment #27) > By the way, can you imagine a way to reset the keyboard without logging out and > back in? setxkbmap -rules evdev -layout "ch,il" -variant ",lyx" should do it. man xkeyboard-config has all the variations, important is the comma before the lyx, otherwise setxkbmap tries to assign it as "ch(lyx),il", not "ch,il(lyx)" OK, I just tried your suggested temporary fix. It works, well, kind of, not entirely. All keys seem to be properly reassigned, except for up arrow, which simply doesn't work at all (until logout and login again). This seems to still harbor some mysteries. what's the xkbcomp output now then? when the up arrow doesn't work, but otherwise it seems ok. Hi, I would like to report that this problem has disappeared miraculously for me as of FC15/16 without any change to my set-up. I am guessing that this is due to all your collective efforts! I would like to thank all of you warmly for these efforts! Probably Fedora is not really meant for stable day-to-day work and one has to live with constant regression: WIFI, KDE stability, keyboards, i.e. all the essentials are bound to fail again and again... Cheers and many Thanks again! Frank This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping *** Bug 1777474 has been marked as a duplicate of this bug. *** |