From owner-freebsd-acpi@FreeBSD.ORG Sun Feb 28 10:40:37 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E280106564A for ; Sun, 28 Feb 2010 10:40:37 +0000 (UTC) (envelope-from tim.matthews7@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id A6C998FC13 for ; Sun, 28 Feb 2010 10:40:36 +0000 (UTC) Received: by ewy26 with SMTP id 26so791055ewy.3 for ; Sun, 28 Feb 2010 02:40:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=nGfRqdH+IagfuHJaT923Cf9/bqDC056IJL2uWzOIi4g=; b=C5opiHHU5lVLe5Wlo6qq1d7oKoPfYvEyjqpljIATGwjbIiPxzzs+yZAOQwlr0qIj+1 aT8r39Eo3m7VOdHevjsmwxzXXo6BgKkq4/XAyMnLodal3zdbNU0bH1y1fVMcJRXtjo6g 3dft/ggBIDbw3Jm8IGHUoR66D5kg8gBnbfp6I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=WLnIqXqVAmJJBr3XpS0Y+pTfOID0iP0o1ITnAckMbB9y2DUrVN7wO//qtHmru2SEoe 08hGI4lmmqczxm7zAsBewpB3uhuPsoOQ8Rrl9/IFpoXgcLZwR6jFPm8+qxcWE+hTSB99 BQ11YOZq47PAmO9wuqewzdOnjVtXCw2VqQX+w= MIME-Version: 1.0 Received: by 10.213.53.2 with SMTP id k2mr1776802ebg.8.1267353631796; Sun, 28 Feb 2010 02:40:31 -0800 (PST) In-Reply-To: <7d6fde3d1002280006j169ca582s3e7dc49d1ec52079@mail.gmail.com> References: <3f1d93451002271530j2fdc90b9rdec7555829d99f1b@mail.gmail.com> <7d6fde3d1002271950l507fb283y1742dc70a41891f1@mail.gmail.com> <3f1d93451002272324s670b67b0mc110d86ef20cbe22@mail.gmail.com> <3f1d93451002272325i2fb1ee93n947f6d3712a6f781@mail.gmail.com> <7d6fde3d1002280006j169ca582s3e7dc49d1ec52079@mail.gmail.com> Date: Sun, 28 Feb 2010 23:40:31 +1300 Message-ID: <3f1d93451002280240k7e261562m2375c72326298f1a@mail.gmail.com> From: Tim Matthews To: Garrett Cooper , freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Cannot suspend system. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2010 10:40:37 -0000 On Sun, Feb 28, 2010 at 9:06 PM, Garrett Cooper wrote: > On Sat, Feb 27, 2010 at 11:25 PM, Tim Matthews > wrote: > > On Sun, Feb 28, 2010 at 8:24 PM, Tim Matthews >wrote: > > > >> On Sun, Feb 28, 2010 at 4:50 PM, Garrett Cooper >wrote: > >> > >>> On Sat, Feb 27, 2010 at 3:30 PM, Tim Matthews > > >>> wrote: > >>> > Hi I have never been able to get suspend working on my system. I've > >>> heard > >>> > it's an acpi issue but don't know how to fix it. Can anyone help me > to > >>> get > >>> > it working? > >>> > >>> Have you looked at > >>> http://www.freebsd.org/doc/en/books/handbook/acpi-debug.html yet? > >>> -Garrett > >>> > >> > >> > >> Yes. > > What happens exactly when you attempt to suspend the machine? What > architecture is it? Are you running SMP? sysctl -a | grep cx_supported > says? > Thanks, > -Garrett > It doesn't suspend if I use acpiconf -s 3 or gnome's suspend and the dmesg shows: acpi0: device_suspend failed. I'm running Freebsd 8.0 amd64. My bios is up to date. Intel core 2 quad with SMP on. sysctl -a | grep cx_supported: dev.cpu.0.cx_supported: C1/0 dev.cpu.1.cx_supported: C1/0 dev.cpu.2.cx_supported: C1/0 dev.cpu.3.cx_supported: C1/0 Also incase it helps: sysctl -a | grep -i acpi: kern.timecounter.choice: TSC(-100) HPET(900) ACPI-fast(1000) i8254(0) dummy(-1000000) kern.timecounter.hardware: ACPI-fast kern.timecounter.tc.ACPI-fast.mask: 16777215 kern.timecounter.tc.ACPI-fast.counter: 4908315 kern.timecounter.tc.ACPI-fast.frequency: 3579545 kern.timecounter.tc.ACPI-fast.quality: 1000 debug.acpi.suspend_bounce: 0 debug.acpi.reset_clock: 1 debug.acpi.do_powerstate: 1 debug.acpi.acpi_ca_version: 20090521 debug.acpi.ec.timeout: 750 debug.acpi.ec.polled: 0 debug.acpi.ec.burst: 0 debug.acpi.batt.batt_sleep_ms: 0 debug.acpi.resume_beep: 0 hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S3 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: NONE hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.cpu.cx_lowest: C1 machdep.acpi_timer_freq: 3579545 machdep.acpi_root: 1011072 machdep.idle: acpi machdep.idle_available: spin, mwait, mwait_hlt, hlt, acpi, dev.acpi.0.%desc: GBT GBTUACPI dev.acpi.0.%driver: acpi dev.acpi.0.%parent: nexus0 dev.acpi_sysresource.0.%desc: System Resource dev.acpi_sysresource.0.%driver: acpi_sysresource dev.acpi_sysresource.0.%location: handle=\_SB_.PCI0.PX40.SYSR dev.acpi_sysresource.0.%pnpinfo: _HID=PNP0C02 _UID=1 dev.acpi_sysresource.0.%parent: acpi0 dev.acpi_sysresource.1.%desc: System Resource dev.acpi_sysresource.1.%driver: acpi_sysresource dev.acpi_sysresource.1.%location: handle=\_SB_.PCI0.PX40.PMIO dev.acpi_sysresource.1.%pnpinfo: _HID=PNP0C02 _UID=2 dev.acpi_sysresource.1.%parent: acpi0 dev.acpi_sysresource.2.%desc: System Resource dev.acpi_sysresource.2.%driver: acpi_sysresource dev.acpi_sysresource.2.%location: handle=\_SB_.PCI0.EXPL dev.acpi_sysresource.2.%pnpinfo: _HID=PNP0C02 _UID=4 dev.acpi_sysresource.2.%parent: acpi0 dev.acpi_sysresource.3.%desc: System Resource dev.acpi_sysresource.3.%driver: acpi_sysresource dev.acpi_sysresource.3.%location: handle=\_SB_.MEM_ dev.acpi_sysresource.3.%pnpinfo: _HID=PNP0C01 _UID=0 dev.acpi_sysresource.3.%parent: acpi0 dev.acpi_timer.0.%desc: 24-bit timer at 3.579545MHz dev.acpi_timer.0.%driver: acpi_timer dev.acpi_timer.0.%location: unknown dev.acpi_timer.0.%pnpinfo: unknown dev.acpi_timer.0.%parent: acpi0 dev.pci_link.0.%desc: ACPI PCI Link LNKA dev.pci_link.0.%parent: acpi0 dev.pci_link.1.%desc: ACPI PCI Link LNKB dev.pci_link.1.%parent: acpi0 dev.pci_link.2.%desc: ACPI PCI Link LNKC dev.pci_link.2.%parent: acpi0 dev.pci_link.3.%desc: ACPI PCI Link LNKD dev.pci_link.3.%parent: acpi0 dev.pci_link.4.%desc: ACPI PCI Link LNKE dev.pci_link.4.%parent: acpi0 dev.pci_link.5.%desc: ACPI PCI Link LNKF dev.pci_link.5.%parent: acpi0 dev.pci_link.6.%desc: ACPI PCI Link LNK0 dev.pci_link.6.%parent: acpi0 dev.pci_link.7.%desc: ACPI PCI Link LNK1 dev.pci_link.7.%parent: acpi0 dev.acpi_hpet.0.%desc: High Precision Event Timer dev.acpi_hpet.0.%driver: acpi_hpet dev.acpi_hpet.0.%location: unknown dev.acpi_hpet.0.%pnpinfo: unknown dev.acpi_hpet.0.%parent: acpi0 dev.acpi_button.0.%desc: Power Button dev.acpi_button.0.%driver: acpi_button dev.acpi_button.0.%location: handle=\_SB_.PWRB dev.acpi_button.0.%pnpinfo: _HID=PNP0C0C _UID=0 dev.acpi_button.0.%parent: acpi0 dev.pcib.0.%desc: ACPI Host-PCI bridge dev.pcib.0.%parent: acpi0 dev.pcib.2.%desc: ACPI PCI-PCI bridge dev.pcib.3.%desc: ACPI PCI-PCI bridge dev.pcib.4.%desc: ACPI PCI-PCI bridge dev.pcib.5.%desc: ACPI PCI-PCI bridge dev.pcib.6.%desc: ACPI PCI-PCI bridge dev.pci.0.%desc: ACPI PCI bus dev.pci.2.%desc: ACPI PCI bus dev.pci.3.%desc: ACPI PCI bus dev.pci.4.%desc: ACPI PCI bus dev.pci.5.%desc: ACPI PCI bus dev.pci.6.%desc: ACPI PCI bus dev.atdma.0.%parent: acpi0 dev.attimer.0.%parent: acpi0 dev.atrtc.0.%parent: acpi0 dev.fpupnp.0.%parent: acpi0 dev.uart.0.%parent: acpi0 dev.ppc.0.%parent: acpi0 dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%parent: acpi0 dev.cpu.1.%desc: ACPI CPU dev.cpu.1.%parent: acpi0 dev.cpu.2.%desc: ACPI CPU dev.cpu.2.%parent: acpi0 dev.cpu.3.%desc: ACPI CPU dev.cpu.3.%parent: acpi0 Thanks Tim M