Public bug reported:

During resume from either suspend or hibernate, all human interface device
input queues should be cleared.  Any sort of typeahead, mouseahead or (in
this case) power-button-event-ahead after a resume is going to be
unexpected at best.

Details:

I have a Dell Inspiron 9300 laptop.  This has just recently become
able to suspend & resume under Ubuntu (didn't work with 7.10 Gutsy,
works great with 8.10 Intrepid -- I never tried 8.04 Hardy).

I had one horrific experience, as follows:

Once when trying to suspend using the power button, the system didn't
recognize the button (normally it does).  I gave up after a few seconds
and used the "Switch users or shut down" Fast User Switch Applet menu to
suspend.

Later, on resume, I immediately started using the mouse, moved it to
some UI element on the screen and left-clicked _just in time_ for the
much-delayed power button action to finally come through.  As I was
reaching for the mouse button it popped up the "Shut Down the Computer"
dialog; my click landed right on "Restart" -- so I unintentionally
rebooted!

HW & supporting SW details, tested to work through resume cycles:

  Dell Inspiron 9300 (Ubuntu 8.10 Intrepid Ibex, 2.6.27-9 kernel, gnome)
  Broadcom BCM4401-B0 100baseT NIC (b44 driver)
  Intel PRO/Wireless 2915ABG [Calexico2] wireless NIC (ipw2200 driver)
  ATI M22 [Mobility Radeon X300] (fglrx driver v. 8.54.3; compiz fully 
operational)
  Intel ICH6 AC'97 Audio Controller (snd_intel8x0)
  NEC ND-6500A DVD+-RW
  USB (UHCI + EHCI, uhci_hcd & ehci_hcd)
  Dell Wireless 350 Bluetooth (btusb, bluetooth) -- only tested pairing & 
service detection
  Touchpad [ID'd as "AlpsPS/2 ALPS GlidePoint"] (synaptics_drv.so) --
     unfortunately still works after resume

Not tested:

  Flash media
  PCMCIA/Cardbus
  Firewire

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
NonfreeKernelModules: fglrx
Package: linux-image-2.6.27-9-generic 2.6.27-9.19
ProcCmdLine: root=UUID=58d7ecac-1956-4205-9325-e5730a34a5d4 ro quiet splash
ProcEnviron:
 
PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.27-9.19-generic
SourcePackage: linux

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug

-- 
clear user input queues on PM resume
https://bugs.launchpad.net/bugs/316875
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to