How to debug sleep problem?

Konstantin Svist fry.kun at gmail.com
Thu Jan 19 07:28:46 UTC 2012


On 01/18/2012 04:21 PM, Konstantin Svist wrote:
> Hi all,
>
> I'm having a problem getting a machine to sleep when I set an IR 
> receiver to allow to wake it.
>
> # for x in USB0 USB2 US12 US15; do echo $x > /proc/acpi/wakeup
> # echo enabled > /sys/bus/usb/devices/3-1/power/wakeup
>
> When I make it sleep, all I get is black VT screen with a blinking 
> cursor. If I don't do either of the above commands, sleep works just 
> fine. I've already enable wake-from-USB in BIOS.
>
> I've tried doing the same thing on my laptop and everything is working 
> - both sleep and wake from IR dongle.
>
> So, how do I go about debugging this problem?
>
> Thanks

Okay, some progress:
Removed "quiet" and "rhgb" from kernel string (in grub), and added 
no_console_suspend (helpful suggestion popped up after suspending 
without "quiet"). /var/log/pm-suspend.log doesn't show anything obvious, 
but I finally have a trace from the console :

(time codes stripped off since entering data by hand from a photo...)

PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.01 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
sd 0:0:0:0: [sda] Synchronizing SCSI cache
sd 0:0:0:0: [sda] Stopping disk
ohci_hcd 0000:00:06.0: PCI INT A disabled
pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns -16
pm_op(): pci_pm_suspend+0x0/0x130 returns -16
PM: Device 0000:00:04.0: failed to suspend async: error -16
ehci_hcd 0000:00:06.1: PCI INT B disabled
pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns -16
pm_op(): pci_pm_suspend+0x0/0x130 returns -16
PM: Device 0000:00:04.1 failed to suspend async: error -16
snd_hda_intel 0000:00:08.0: PCI INT A disabled
snd_hda_intel 0000:00:08.0: power state changed by ACPI to D3



More information about the users mailing list