no more caps-lock LED, Ctrl-Alt-F1-F6 nor USB power some time after boot

Bug #299496 reported by Jörg Höhle
2
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: acpi-support

At first, hibernation aka. suspend to disk seems to work fine, but there are a couple of weird issues not noticeable immediately that render it dysfunctional:

#1 Keys Ctrl-Alt F1-F7 do not react at all anymore!

#2 The Caps-Lock key works in X, but the keyboard light does not toggle.

#3 Approximately three minutes after resume from disk (hibernation), my external USB mouse stops working. It appears that all USB ports do not supply power anymore. It worked seconds before. kern.log contains:
Nov 18 09:54:51 laptop kernel: [15673.436160] ACPI: Waking up from system sleep state S4
...
Nov 18 09:55:38 laptop kernel: [15723.472077] usb 2-1: reset low speed USB device using uhci_hcd and address 3
Nov 18 09:55:54 laptop kernel: [15739.560087] usb 2-1: reset low speed USB device using uhci_hcd and address 3
Nov 18 09:56:04 laptop kernel: [15749.648028] usb 2-1: reset low speed USB device using uhci_hcd and address 3
Nov 18 09:56:47 laptop kernel: [15792.316059] usb 2-1: reset low speed USB device using uhci_hcd and address 3
Nov 18 09:57:13 laptop kernel: [15817.984084] usb 2-1: reset low speed USB device using uhci_hcd and address 3
Nov 18 09:57:13 laptop kernel: [15818.288133] usb 2-1: failed to restore interface 0 altsetting 0 (error=-71)
Nov 18 09:57:13 laptop kernel: [15818.290642] usb 2-1: USB disconnect, address 3

Unplugging/replugging doesn't help afterwards. USB seems dead.
The laptop's two internal touchpad and button-amid-keyboard mice continue to work.

Despite the above issues, X seems mostly functional (some apps may hang sooner or later). However, I could not create another session on vt8. Xorg.20.log says:
Fatal server error:
xf86OpenConsole: VT_WAITACTIVE failed: Interrupted system call

Suspend to RAM is not affected.

The machine is a HP Compaq nc6220 laptop, running Intrepid (updated from Hardy, updated from Gutsy, all release versions, no beta) with the latest updates at the time of writing.
Hibernation worked good enough (not perfect, it has other quirks) in Hardy.

uname -a: Linux laptop 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:20 UTC 2008 i686 GNU/Linux
/proc/version_signature: Ubuntu 2.6.27-7.16-generic

Revision history for this message
Jörg Höhle (joerg-cyril-hoehle) wrote :
Revision history for this message
Jörg Höhle (joerg-cyril-hoehle) wrote :
Revision history for this message
Jörg Höhle (joerg-cyril-hoehle) wrote :
Revision history for this message
Jörg Höhle (joerg-cyril-hoehle) wrote :
Revision history for this message
Jörg Höhle (joerg-cyril-hoehle) wrote :

Update:
Loss of USB power and dead Ctrl-Alt-F1-7 keys are unrelated to hibernate / suspend. It can also happen in a normal boot. Alas, it's not systematic, sometimes it works for hours.
Please change the subject line accordingly.

I forgot to clarify that the symptoms #1, #2 and #3 seem to be related. E.g. Ctrl-Alt-F1-7 work as long as the USB mouse is not dead.

In addition, I've observed that when the USB mouse dies, the external USB HD is still working! I presume this happens because it has its own power supply, but it could as well be accountable to a difference between USB 1.x (mouse) and 2.0 (HD) device control by Linux.

This bug was not present in Hardy. Yet Hardy's logs also contains lines similar to those found in Intrepid:
Nov 18 09:56:47 laptop kernel: [15792.316059] usb 2-1: reset low speed USB device using uhci_hcd and address 3

Revision history for this message
Jörg Höhle (joerg-cyril-hoehle) wrote :

Please change the subject line to
no more caps-lock LED, Ctrl-Alt-F1-F6 nor USB power minutes after boot

This happens at random intervals after a fresh boot -- whenever I have a USB mouse plugged in during boot -- sometimes after 3 minutes, sometimes the system works for hours.

If I plug the USB mouse after boot is complete, there is no such failure: a work-around, if one does not forget to unplug the mouse prior to booting. Then the Caps-Lock LED and USB devices work, and Ctrl-Alt-F1-F7 switches screens.

I wrote: "some apps may hang sooner or later"
ps shows that they are in put in "uninterruptible sleep" (flag D), i.e. even kill -9 does not manage to kill those processes, and they are not listed as zombies.
user 7080 0.4 2.0 30828 21104 ? D 17:58 0:06 /usr/bin/emacs22-gtk
root 7218 0.0 0.0 1760 456 pts/2 D+ 18:08 0:00 rmmod usbhid

Revision history for this message
Jörg Höhle (joerg-cyril-hoehle) wrote :

The attached dmesg output from after
 - USB power loss (affecting mouse and USB stick while USB HD with its own power supply continues to work);
 - caps lock LED power loss;
 - no more working Ctrl-Alt-F1-F6 seems no different to me from one generated during a normal boot (attached previously), except for the 2 bottommost lines:

[ 860.204089] usb 2-1: reset low speed USB device using uhci_hcd and address 3
[ 2574.652058] usb 2-1: reset low speed USB device using uhci_hcd and address 3
[ 2574.958078] usb 2-1: failed to restore interface 0 altsetting 0 (error=-71)
[ 2574.959979] usb 2-1: USB disconnect, address 3

description: updated
Revision history for this message
RansomStark (ransomstark) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running apport-collect <bug #> and any other logs that are relevant for this particular issue.

Changed in acpi-support (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for acpi-support (Ubuntu) because there has been no activity for 60 days.]

Changed in acpi-support (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.