You are not logged in.
Pages: 1
I've got a MacbookPro 7,1 and it wakes up everytime i unplug a USB-device.
Is there a way to stop this, so it stays sleeping? In Ubuntu this worked out of the box.
Offline
what is your dmesg output at those times?
Offline
[18486.622886] EXT4-fs (sda4): re-mounted. Opts: commit=0
[18490.087225] PM: Syncing filesystems ... done.
[18490.117702] PM: Preparing system for mem sleep
[18490.117721] Freezing user space processes ... (elapsed 0.01 seconds) done.
[18490.131538] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[18490.144861] PM: Entering mem sleep
[18490.145036] Suspending console(s) (use no_console_suspend to debug)
[18490.146193] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[18490.146276] sd 0:0:0:0: [sda] Stopping disk
[18490.146621] wl 0000:02:00.0: PCI INT A disabled
[18490.146986] ohci_hcd 0000:00:04.0: PCI INT A disabled
[18490.171555] ehci_hcd 0000:00:06.1: PCI INT B disabled
[18490.171569] ehci_hcd 0000:00:04.1: PCI INT B disabled
[18490.171591] ohci_hcd 0000:00:06.0: PCI INT A disabled
[18490.254969] snd_hda_intel 0000:00:08.0: PCI INT A disabled
[18490.268289] snd_hda_intel 0000:00:08.0: power state changed by ACPI to D3
[18490.554764] ata_generic 0000:00:0a.0: PCI INT A disabled
[18490.564958] ata_generic 0000:00:0a.0: power state changed by ACPI to D3
[18490.565012] PM: suspend of devices complete after 419.567 msecs
[18490.565628] ehci_hcd 0000:00:06.1: PME# enabled
[18490.565634] ehci_hcd 0000:00:06.1: wake-up capability enabled by ACPI
[18490.578278] ehci_hcd 0000:00:06.1: power state changed by ACPI to D3
[18490.578315] ohci_hcd 0000:00:06.0: PME# enabled
[18490.578322] ohci_hcd 0000:00:06.0: wake-up capability enabled by ACPI
[18490.591613] ohci_hcd 0000:00:06.0: power state changed by ACPI to D3
[18490.591650] ehci_hcd 0000:00:04.1: PME# enabled
[18490.591656] ehci_hcd 0000:00:04.1: wake-up capability enabled by ACPI
[18490.604946] ehci_hcd 0000:00:04.1: power state changed by ACPI to D3
[18490.604980] ohci_hcd 0000:00:04.0: PME# enabled
[18490.604986] ohci_hcd 0000:00:04.0: wake-up capability enabled by ACPI
[18490.618279] ohci_hcd 0000:00:04.0: power state changed by ACPI to D3
[18490.618827] PM: late suspend of devices complete after 53.811 msecs
[18490.619184] ACPI: Preparing to enter system sleep state S3
[18490.665006] PM: Saving platform NVS memory
[18490.671713] Disabling non-boot CPUs ...
[18490.774913] CPU 1 is now offline
[18490.775431] Extended CMOS year: 2000
[18490.775431] ACPI: Low-level resume complete
[18490.775431] PM: Restoring platform NVS memory
[18490.775431] Extended CMOS year: 2000
[18490.775431] Enabling non-boot CPUs ...
[18490.783375] Booting Node 0 Processor 1 APIC 0x1
[18490.783376] smpboot cpu 1: start_ip = 9a000
[18490.673087] Calibrating delay loop (skipped) already calibrated this CPU
[18490.794765] NMI watchdog enabled, takes one hw-pmu counter.
[18490.801697] CPU1 is up
[18490.804437] ACPI: Waking up from system sleep state S3
[18491.075439] pci 0000:00:03.0: restoring config space at offset 0xf (was 0x0, writing 0xff)
[18491.075488] pci 0000:00:03.2: restoring config space at offset 0xf (was 0x100, writing 0x10f)
[18491.075494] pci 0000:00:03.2: restoring config space at offset 0x9 (was 0xa01, writing 0x2201)
[18491.075498] pci 0000:00:03.2: restoring config space at offset 0x8 (was 0xb01, writing 0x2241)
[18491.075504] pci 0000:00:03.2: restoring config space at offset 0x4 (was 0x1, writing 0x2001)
[18491.075617] pci 0000:00:03.4: restoring config space at offset 0x4 (was 0x0, writing 0xd3400000)
[18491.075628] pci 0000:00:03.4: restoring config space at offset 0x1 (was 0xa00000, writing 0xa00006)
[18491.075646] ohci_hcd 0000:00:04.0: restoring config space at offset 0xf (was 0x1030100, writing 0x103010b)
[18491.075670] ohci_hcd 0000:00:04.0: wake-up capability disabled by ACPI
[18491.075674] ohci_hcd 0000:00:04.0: PME# disabled
[18491.075696] ohci_hcd 0000:00:04.0: power state changed by ACPI to D0
[18491.075699] ohci_hcd 0000:00:04.0: power state changed by ACPI to D0
[18491.075710] ehci_hcd 0000:00:04.1: restoring config space at offset 0xf (was 0x1030200, writing 0x103020a)
[18491.075720] ehci_hcd 0000:00:04.1: restoring config space at offset 0x4 (was 0x0, writing 0xd348b100)
[18491.075725] ehci_hcd 0000:00:04.1: restoring config space at offset 0x1 (was 0xb00000, writing 0xb00002)
[18491.075741] ehci_hcd 0000:00:04.1: wake-up capability disabled by ACPI
[18491.075745] ehci_hcd 0000:00:04.1: PME# disabled
[18491.075762] ehci_hcd 0000:00:04.1: power state changed by ACPI to D0
[18491.075766] ehci_hcd 0000:00:04.1: power state changed by ACPI to D0
[18491.075774] ohci_hcd 0000:00:06.0: restoring config space at offset 0xf (was 0x1030100, writing 0x1030107)
[18491.075796] ohci_hcd 0000:00:06.0: wake-up capability disabled by ACPI
[18491.075800] ohci_hcd 0000:00:06.0: PME# disabled
[18491.075817] ohci_hcd 0000:00:06.0: power state changed by ACPI to D0
[18491.075820] ohci_hcd 0000:00:06.0: power state changed by ACPI to D0
[18491.075830] ehci_hcd 0000:00:06.1: restoring config space at offset 0xf (was 0x1030200, writing 0x1030205)
[18491.075841] ehci_hcd 0000:00:06.1: restoring config space at offset 0x4 (was 0x0, writing 0xd348b000)
[18491.075846] ehci_hcd 0000:00:06.1: restoring config space at offset 0x1 (was 0xb00000, writing 0xb00002)
[18491.075861] ehci_hcd 0000:00:06.1: wake-up capability disabled by ACPI
[18491.075865] ehci_hcd 0000:00:06.1: PME# disabled
[18491.075881] ehci_hcd 0000:00:06.1: power state changed by ACPI to D0
[18491.075885] ehci_hcd 0000:00:06.1: power state changed by ACPI to D0
[18491.075896] snd_hda_intel 0000:00:08.0: restoring config space at offset 0xf (was 0x5020100, writing 0x502010f)
[18491.075907] snd_hda_intel 0000:00:08.0: restoring config space at offset 0x4 (was 0x0, writing 0xd3480000)
[18491.075912] snd_hda_intel 0000:00:08.0: restoring config space at offset 0x1 (was 0xb00000, writing 0xb00002)
[18491.075940] ata_generic 0000:00:0a.0: restoring config space at offset 0xf (was 0x1030100, writing 0x103010b)
[18491.075946] ata_generic 0000:00:0a.0: restoring config space at offset 0x9 (was 0x0, writing 0xd3484000)
[18491.075949] ata_generic 0000:00:0a.0: restoring config space at offset 0x8 (was 0xff01, writing 0x2281)
[18491.075953] ata_generic 0000:00:0a.0: restoring config space at offset 0x7 (was 0xff2d, writing 0x22a1)
[18491.075956] ata_generic 0000:00:0a.0: restoring config space at offset 0x6 (was 0xff19, writing 0x2291)
[18491.075959] ata_generic 0000:00:0a.0: restoring config space at offset 0x5 (was 0xff25, writing 0x22a5)
[18491.075962] ata_generic 0000:00:0a.0: restoring config space at offset 0x4 (was 0xff11, writing 0x2299)
[18491.075967] ata_generic 0000:00:0a.0: restoring config space at offset 0x1 (was 0xb00003, writing 0xb00007)
[18491.075994] pci 0000:00:0b.0: restoring config space at offset 0x4 (was 0x0, writing 0xd3488000)
[18491.075998] pci 0000:00:0b.0: restoring config space at offset 0x1 (was 0xb00000, writing 0xb00006)
[18491.076071] pcieport 0000:00:0e.0: restoring config space at offset 0xf (was 0x100, writing 0x1ff)
[18491.076096] pcieport 0000:00:0e.0: restoring config space at offset 0x9 (was 0x10011, writing 0x1fff1)
[18491.076107] pcieport 0000:00:0e.0: restoring config space at offset 0x7 (was 0x20000101, writing 0x200001f1)
[18491.076126] pcieport 0000:00:0e.0: restoring config space at offset 0x3 (was 0x10000, writing 0x10040)
[18491.076138] pcieport 0000:00:0e.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100407)
[18491.076333] pcieport 0000:00:15.0: restoring config space at offset 0xf (was 0x100, writing 0x1ff)
[18491.076358] pcieport 0000:00:15.0: restoring config space at offset 0x9 (was 0x10011, writing 0x1fff1)
[18491.076367] pcieport 0000:00:15.0: restoring config space at offset 0x8 (was 0x10, writing 0xd320d320)
[18491.076375] pcieport 0000:00:15.0: restoring config space at offset 0x7 (was 0x20000101, writing 0x200001f1)
[18491.076384] pcieport 0000:00:15.0: restoring config space at offset 0x6 (was 0x0, writing 0x20200)
[18491.076399] pcieport 0000:00:15.0: restoring config space at offset 0x3 (was 0x10000, writing 0x10040)
[18491.076411] pcieport 0000:00:15.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100407)
[18491.076605] pcieport 0000:00:16.0: restoring config space at offset 0xf (was 0x100, writing 0x1ff)
[18491.076630] pcieport 0000:00:16.0: restoring config space at offset 0x9 (was 0x10011, writing 0x1fff1)
[18491.076639] pcieport 0000:00:16.0: restoring config space at offset 0x8 (was 0x10, writing 0xd310d310)
[18491.076647] pcieport 0000:00:16.0: restoring config space at offset 0x7 (was 0x20000101, writing 0x200001f1)
[18491.076656] pcieport 0000:00:16.0: restoring config space at offset 0x6 (was 0x0, writing 0x30300)
[18491.076671] pcieport 0000:00:16.0: restoring config space at offset 0x3 (was 0x10000, writing 0x10040)
[18491.076683] pcieport 0000:00:16.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100407)
[18491.076824] pci 0000:00:17.0: restoring config space at offset 0xf (was 0x0, writing 0x800ff)
[18491.076828] pci 0000:00:17.0: restoring config space at offset 0xc (was 0xffff, writing 0x0)
[18491.076832] pci 0000:00:17.0: restoring config space at offset 0xa (was 0xffffffff, writing 0x0)
[18491.076835] pci 0000:00:17.0: restoring config space at offset 0x9 (was 0x1fff1, writing 0xd1f1c001)
[18491.076838] pci 0000:00:17.0: restoring config space at offset 0x8 (was 0xfff0, writing 0xd300d200)
[18491.076841] pci 0000:00:17.0: restoring config space at offset 0x7 (was 0x1f1, writing 0x1111)
[18491.076844] pci 0000:00:17.0: restoring config space at offset 0x6 (was 0x0, writing 0x40400)
[18491.076848] pci 0000:00:17.0: restoring config space at offset 0x3 (was 0x10000, writing 0x10040)
[18491.076852] pci 0000:00:17.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
[18491.076880] firewire_ohci 0000:01:00.0: restoring config space at offset 0xf (was 0x1ff, writing 0x10e)
[18491.076899] firewire_ohci 0000:01:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x40)
[18491.076905] firewire_ohci 0000:01:00.0: restoring config space at offset 0x1 (was 0x100006, writing 0x100007)
[18491.077095] wl 0000:02:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
[18491.077111] wl 0000:02:00.0: restoring config space at offset 0x4 (was 0x4, writing 0xd3200004)
[18491.077116] wl 0000:02:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x40)
[18491.077122] wl 0000:02:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100006)
[18491.077320] tg3 0000:03:00.0: restoring config space at offset 0xf (was 0x172, writing 0x10a)
[18491.077337] tg3 0000:03:00.0: restoring config space at offset 0x4 (was 0x4, writing 0xd3100004)
[18491.077341] tg3 0000:03:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x40)
[18491.077347] tg3 0000:03:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100006)
[18491.077375] nvidia 0000:04:00.0: restoring config space at offset 0xf (was 0x100, writing 0x107)
[18491.077381] nvidia 0000:04:00.0: restoring config space at offset 0x9 (was 0x1, writing 0x1001)
[18491.077385] nvidia 0000:04:00.0: restoring config space at offset 0x7 (was 0xc, writing 0xd000000c)
[18491.077389] nvidia 0000:04:00.0: restoring config space at offset 0x5 (was 0xc, writing 0xc000000c)
[18491.077393] nvidia 0000:04:00.0: restoring config space at offset 0x4 (was 0x0, writing 0xd2000000)
[18491.077397] nvidia 0000:04:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
[18491.077628] PM: early resume of devices complete after 2.681 msecs
[18491.077707] ohci_hcd 0000:00:04.0: power state changed by ACPI to D0
[18491.077710] ohci_hcd 0000:00:04.0: power state changed by ACPI to D0
[18491.077719] ohci_hcd 0000:00:04.0: PCI INT A -> Link[LUS0] -> GSI 20 (level, low) -> IRQ 20
[18491.077724] ohci_hcd 0000:00:04.0: setting latency timer to 64
[18491.077737] ehci_hcd 0000:00:04.1: power state changed by ACPI to D0
[18491.077740] ehci_hcd 0000:00:04.1: power state changed by ACPI to D0
[18491.077745] ehci_hcd 0000:00:04.1: PCI INT B -> Link[LUS2] -> GSI 19 (level, low) -> IRQ 19
[18491.077749] ehci_hcd 0000:00:04.1: setting latency timer to 64
[18491.077765] ohci_hcd 0000:00:06.0: power state changed by ACPI to D0
[18491.077769] ohci_hcd 0000:00:06.0: power state changed by ACPI to D0
[18491.077773] ohci_hcd 0000:00:06.0: PCI INT A -> Link[Z000] -> GSI 18 (level, low) -> IRQ 18
[18491.077777] ohci_hcd 0000:00:06.0: setting latency timer to 64
[18491.077790] ehci_hcd 0000:00:06.1: power state changed by ACPI to D0
[18491.077793] ehci_hcd 0000:00:06.1: power state changed by ACPI to D0
[18491.077798] ehci_hcd 0000:00:06.1: PCI INT B -> Link[Z001] -> GSI 17 (level, low) -> IRQ 17
[18491.077802] ehci_hcd 0000:00:06.1: setting latency timer to 64
[18491.077903] pci 0000:00:17.0: setting latency timer to 64
[18491.077923] wl 0000:02:00.0: PCI INT A -> Link[Z00J] -> GSI 22 (level, low) -> IRQ 22
[18491.077929] wl 0000:02:00.0: setting latency timer to 64
[18491.101729] snd_hda_intel 0000:00:08.0: power state changed by ACPI to D0
[18491.101735] snd_hda_intel 0000:00:08.0: power state changed by ACPI to D0
[18491.101740] snd_hda_intel 0000:00:08.0: power state changed by ACPI to D0
[18491.101743] snd_hda_intel 0000:00:08.0: power state changed by ACPI to D0
[18491.101750] snd_hda_intel 0000:00:08.0: PCI INT A -> Link[LAZA] -> GSI 23 (level, low) -> IRQ 23
[18491.101754] snd_hda_intel 0000:00:08.0: setting latency timer to 64
[18491.101905] ata_generic 0000:00:0a.0: power state changed by ACPI to D0
[18491.101910] ata_generic 0000:00:0a.0: power state changed by ACPI to D0
[18491.101917] ata_generic 0000:00:0a.0: power state changed by ACPI to D0
[18491.101920] ata_generic 0000:00:0a.0: power state changed by ACPI to D0
[18491.101927] ata_generic 0000:00:0a.0: PCI INT A -> Link[LSI0] -> GSI 16 (level, low) -> IRQ 16
[18491.101931] ata_generic 0000:00:0a.0: setting latency timer to 64
[18491.101959] sd 0:0:0:0: [sda] Starting disk
[18491.128893] firewire_ohci 0000:01:00.0: irq 43 for MSI/MSI-X
[18491.128990] firewire_core: skipped bus generations, destroying all nodes
[18491.254988] ata2.01: NODEV after polling detection
[18491.261718] ata2.00: ACPI cmd ef/03:46:00:00:00:a0 (SET FEATURES) filtered out
[18491.261725] ata2.00: configured for UDMA/100
[18491.628180] firewire_core: rediscovered device fw0
[18492.648336] ata1.00: ACPI cmd ef/03:46:00:00:00:a0 (SET FEATURES) filtered out
[18492.658581] ata1.00: configured for UDMA/133
[18493.998542] INFO @wl_cfg80211_resume : device is not ready : status (0)
[18493.998558] legacy_resume(): wiphy_resume+0x0/0xb0 [cfg80211] returns -5
[18493.998561] PM: Device phy0 failed to resume: error -5
[18493.999599] PM: resume of devices complete after 2921.941 msecs
[18493.999876] PM: Finishing wakeup.
[18493.999877] Restarting tasks ...
[18493.999958] usb 4-4: USB disconnect, device number 9
[18494.019088] done.
[18494.019094] video LNXVIDEO:00: Restoring backlight state
[18496.558641] INFO @wl_cfg80211_get_tx_power : device is not ready : status (0)
[18496.761080] EXT4-fs (sda4): re-mounted. Opts: commit=0
[18496.841997] tg3 0000:03:00.0: irq 44 for MSI/MSI-X
[18497.617607] ADDRCONF(NETDEV_UP): eth1: link is not ready
[18499.506533] CE: hpet increased min_delta_ns to 17280 nsec
"[18493.999958] usb 4-4: USB disconnect, device number 9" Is the device resposable for the wake up
Offline
Has no one an idea? Is your arch system also waking up from unplugging a device?
Offline
CONFIG_USB_SUSPEND is not enabled by default in a vanilla kernel.
http://elliotli.blogspot.in/2009/01/saf … linux.html
Offline
Pages: 1