It was taking nearly 30seconds to resume from suspend while testing Oneiric 11.10. I unplugged my Steelseries Xai mouse and it only took 6secs to resume.
I ran a pm_trace I got the warning below with the mouse plugged in. This warning does not appear with the mouse unplugged.
[ 489.862512] ------------[ cut here ]------------
[ 489.862519] WARNING: at /build/buildd/linux-3.0.0/kernel/power/suspend_test.c:53 suspend_test_finish+0x86/0x90()
[ 489.862522] Hardware name: Precision M4300
[ 489.862523] Component: resume devices, time: 27324
[ 489.862525] Modules linked in: usbhid hid rfcomm bnep vesafb nvidia(P) snd_hda_codec_idt binfmt_misc snd_hda_intel snd_hda_codec snd_usb_audio snd_hwdep snd_usbmidi_lib pata_pcmcia snd_pcm snd_seq_midi snd_seq_midi_event arc4 iwl3945 snd_seq ati_remote uvcvideo videodev snd_timer snd_rawmidi v4l2_compat_ioctl32 iwl_legacy pcmcia snd_seq_device joydev mac80211 snd btusb soundcore snd_page_alloc yenta_socket dell_laptop cfg80211 bluetooth pcmcia_rsrc dell_wmi dcdbas ppdev pcmcia_core sparse_keymap psmouse serio_raw parport_pc wmi video acpiphp lp parport usb_storage uas firewire_ohci firewire_core crc_itu_t tg3
[ 489.862564] Pid: 3063, comm: pm-suspend Tainted: P 3.0.0-12-generic #19-Ubuntu
[ 489.862566] Call Trace:
[ 489.862572] [<ffffffff8105e83f>] warn_slowpath_common+0x7f/0xc0
[ 489.862575] [<ffffffff8105e936>] warn_slowpath_fmt+0x46/0x50
[ 489.862578] [<ffffffff810a23d6>] suspend_test_finish+0x86/0x90
[ 489.862581] [<ffffffff810a20da>] suspend_devices_and_enter+0xca/0x1b0
[ 489.862584] [<ffffffff810a22dd>] enter_state+0x11d/0x150
[ 489.862586] [<ffffffff810a1707>] state_store+0xb7/0xf0
[ 489.862590] [<ffffffff812e997f>] kobj_attr_store+0xf/0x30
[ 489.862595] [<ffffffff811d6c9f>] sysfs_write_file+0xef/0x170
[ 489.862599] [<ffffffff81167813>] vfs_write+0xb3/0x180
[ 489.862601] [<ffffffff81167b3a>] sys_write+0x4a/0x90
[ 489.862606] [<ffffffff815f22c2>] system_call_fastpath+0x16/0x1b
[ 489.862608] ---[ end trace 062d645a09a21691 ]---
Testing some more seems to reveal that the mouse takes much longer to be detected than is normal when plugging it in which I had not noticed before.
I have found a similar bug on debian which points to this being a kernel issue: http:// bugs.debian. org/cgi- bin/bugreport. cgi?bug= 628750