Bug 783032 - Can't suspend to RAM when IR dongle is allowed to wake
Summary: Can't suspend to RAM when IR dongle is allowed to wake
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-19 05:53 UTC by Konstantin Svist
Modified: 2012-09-04 15:48 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-04 15:48:30 UTC
Type: ---


Attachments (Terms of Use)

Description Konstantin Svist 2012-01-19 05:53:35 UTC
Description of problem:
I'm having a problem getting a machine (Foxconn nt-330i) to sleep/suspend when I set an IR receiver (073a:2230) 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 suspend to RAM, all I get is black VT screen with a blinking cursor. If I don't do either of the above commands, operation 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.

What do I need to do to debug/fix this?

Comment 1 Konstantin Svist 2012-01-19 07:51:27 UTC
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


[root@pancake ~]# ll /sys/bus/usb/devices/ |grep 04
lrwxrwxrwx 1 root root 0 Jan 18 14:54 1-0:1.0 -> ../../../devices/pci0000:00/0000:00:04.1/usb1/1-0:1.0
lrwxrwxrwx 1 root root 0 Jan 18 14:54 1-2 -> ../../../devices/pci0000:00/0000:00:04.1/usb1/1-2
lrwxrwxrwx 1 root root 0 Jan 18 14:54 1-2:1.0 -> ../../../devices/pci0000:00/0000:00:04.1/usb1/1-2/1-2:1.0
lrwxrwxrwx 1 root root 0 Jan 18 14:54 3-0:1.0 -> ../../../devices/pci0000:00/0000:00:04.0/usb3/3-0:1.0
lrwxrwxrwx 1 root root 0 Jan 18 14:54 3-1 -> ../../../devices/pci0000:00/0000:00:04.0/usb3/3-1
lrwxrwxrwx 1 root root 0 Jan 18 14:54 3-1:1.0 -> ../../../devices/pci0000:00/0000:00:04.0/usb3/3-1/3-1:1.0
lrwxrwxrwx 1 root root 0 Jan 18 14:54 usb1 -> ../../../devices/pci0000:00/0000:00:04.1/usb1
lrwxrwxrwx 1 root root 0 Jan 18 14:54 usb3 -> ../../../devices/pci0000:00/0000:00:04.0/usb3

Comment 2 Jaroslav Škarvada 2012-02-13 14:04:52 UTC
It shouldn't freeze, reassigning to kernel.

Comment 3 Dave Jones 2012-03-22 16:46:40 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.

Comment 4 Dave Jones 2012-03-22 16:51:16 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.

Comment 5 Dave Jones 2012-03-22 17:01:30 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.


Note You need to log in before you can comment on or make changes to this bug.