Bug 250683
Summary: | Keyboard frequently doesn't work when coming out of suspend | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Campbell <david> |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | low | ||
Version: | 8 | CC: | chris.brown, honza |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-01-09 07:11:33 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
David Campbell
2007-08-02 20:55:21 UTC
Created attachment 160550 [details]
sound that fedora plays when this keyboard problem happens
X doesn't do anything special with the keyboard for suspend. If it doesn't work coming back from suspend, that's probably the kernel's fault. This problem is really troublesome.... I have been finding that frequently even if an external keyboard is plugged in when this problem shows, that the only option for me is to shut down the computer using the mouse and restart it. The keyboard(s) are totally non-functional. Hello David, I'm reviewing this bug as part of the kernel bug triage project, an attempt to isolate current bugs in the fedora kernel. http://fedoraproject.org/wiki/KernelBugTriage I am CC'ing myself to this bug and will try and assist you in resolving it if I can. There hasn't been much activity on this bug for a while. Could you tell me if you are still having problems with the latest kernel? If you are, please post the output from the following commands as separate text/plain attachments: # lsmod # lspci -vvxxx # dmesg as well as the make and model of your machine. If the problem no longer exists then please close this bug or I'll do so in a few days if there is no additional information lodged. I'll get back to you with more detail as to whether this problem still happens with the 2.6.22.5-76.fc7 kernel which I have just upgraded to in the last day or so. I usually shut my computer down to standby each night and that should provide a good test for this. Created attachment 206191 [details]
lsmod, lspci, and dmesg text
Yes this problem still happens with the 2.6.22.5-76.fc7 kernel.
I attach detail as you request.
My machine is a Clevo D870P. Clevo systems are also sold as Kapok, FOSA, Eurocom, and a myriad of other names. I also recommend taking a look at my related separate case https://bugzilla.redhat.com/show_bug.cgi?id=251080 which other people have also experienced. The dump isn't so useful as you've got vmware loaded and vmware does strange things to machines sometimes. However it shows you getting irregular timeouts until we hit PIO modes which is useful. Created attachment 207041 [details] dmesg without vmware loaded I've rebooted with the vmware modules not loaded now, and I'm attaching the dmesg without it. You can see there are some disk DMA related issues going on and I've opened another case at https://bugzilla.redhat.com/show_bug.cgi?id=250349 about it. Somebody else experiencing a similar problem pointed out that when this problem happens you see this in the logs, note the "unknown error". I see it too and I failed to mention it: Oct 2 08:01:09 localhost kernel: Stopping tasks ... done. Oct 2 08:01:09 localhost kernel: Suspending console(s) Oct 2 08:01:09 localhost hcid[2481]: HCI dev 0 down Oct 2 08:01:09 localhost gnome-power-manager: (dcampbel) An unknown error occured code='32' quark='g-exec-error-quark' Oct 2 08:01:09 localhost hcid[2481]: Stopping security manager 0 Oct 2 08:01:09 localhost hcid[2481]: Device hci0 has been disabled By repeatedly suspending and resuming, I've since proven that this "unknown error" in my previous post doesn't happen every time the problem in this case happens, thus it seems to be a separate issue (that ubuntu people are also seeing). I'm not seeing this on f8, though I am seeing some other keyboard weirdness No, I am seeing this on f8. Apparently this is a kernel issue associated with the i8042 driver, affecting many distros. I am trialling the fix by Jan Skowron found at: https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/66255 If it turns out successful, I will soon post a script workaround here to be installed in /etc/pm/sleep.d Created attachment 271771 [details]
workaround that seems to work when installed in /etc/pm/sleep.d
Attaching a workaround, which unbinds and rebinds the i8042 driver. Installing
it in /etc/pm/sleep.d has fixed this matter thus far for suspend/resume, but
the keyboard still plays up in two other circumstances I've seen:
[1] When flicking over to text mode with CTRL-ALT-F1
[2] When logging out of the desktop, I end up with a login screen at which I
cannot type.
When these other situations happen, the only options then are to reboot or ssh
in from another computer and run this script manually passing resume as an
option, in which case the keyboard comes good.
Created attachment 274361 [details]
dmesg from pauljohn's computer
Created attachment 274371 [details]
lspci from pauljohn's computer
Created attachment 274381 [details]
lsmod from pauljohn's computer
Looks like I accidentally deleted my explanation of the problem I'm having. On Dell D820 laptop with F8, my keyboard does not work after suspend/resume and the kernel 2.6.23.1-49.fc8. I DO NOT have a similar problem with 2.6.23.1-42.fc8. I've restarted several times, and believe the suspend/resume worked every time with 42 but never would the keyboard work with 49. The dmesg, lspci, and lsmod files are from the misbehaving 49. Could I prod folks for an update on this - is it still happening with the latest kernels? Paul - can you test the workaround mentioned? This problem still happens with the latest kernel, sometimes when shutting down to suspend and restarting, sometimes when you log out, you lose the keyboard. If you then log in remotely and run these commands, which force a rebind of the i8042 driver, then the keyboard works again.... echo -n "i8042" > /sys/bus/platform/drivers/i8042/unbind echo -n "i8042" > /sys/bus/platform/drivers/i8042/bind This seems to be a wider kernel issue...ubuntu folks are seeing it too.. https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/23497 Okay, thanks David. Do you fancy taking this upstream to the kernel.org bugzilla. You have an account there already I think...? This message is a reminder that Fedora 8 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 8. 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 '8'. 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 8'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 8 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 confirm this bug which is still present in 2.6.28-0.113.rc7.git5.fc11.x86_64. After resuming the computer, keyboard does not respond unless disconnected and connected again. The trick mentioned above echo -n "i8042" > /sys/bus/platform/drivers/i8042/unbind echo -n "i8042" > /sys/bus/platform/drivers/i8042/bind does not work for me. A tried USB keyboard as well as PS2 keyboard (using a convertor) and in it is the same both cases. Reproducibility is 100%. Fedora 8 changed to end-of-life (EOL) status on 2009-01-07. Fedora 8 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |