From owner-freebsd-acpi@FreeBSD.ORG Sat Oct 2 20:51:42 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 6A41D106564A for ; Sat, 2 Oct 2010 20:51:42 +0000 (UTC) (envelope-from gaijin.k@ovi.com) Received: from outbound2.messaging.lotuslive.com (outbound2.messaging.lotuslive.com [8.12.152.118]) by mx1.freebsd.org (Postfix) with ESMTP id 481F18FC12 for ; Sat, 2 Oct 2010 20:51:42 +0000 (UTC) Received: from outbound2.messaging.lotuslive.com (unknown [10.6.32.44]) by c-in3ofal02-02.sv2.lotuslive.com (Postfix) with ESMTP id AFDA4129029C for ; Sat, 2 Oct 2010 20:40:29 +0000 (GMT) Received: from c-in3ofil02-03.sv2.lotuslive.com (unknown [10.6.32.50]) by c-in3obnd02-02.sv2.lotuslive.com (Postfix) with ESMTP id 23CDD2FEFF for ; Sat, 2 Oct 2010 20:40:29 +0000 (GMT) Received: from c-in3ws--02-02.ben.sv2.lotuslive.com (c-in3ws--02-02.sv2.lotuslive.com [10.6.32.77]) (sender gaijin.k@ovi.com) by c-in3ofil02-03.sv2.lotusliveops.com (LotusLive iNotes outfilter/0.91) with SMTP; Sat, 02 Oct 2010 20:40:29 +0000 Received: (qmail 24174 invoked from network); 2 Oct 2010 20:40:29 -0000 Received: from unknown (HELO c-in3play02-04.sv2.lotusliveops.com) (gaijin.k@ovi.com@74.105.210.169) by c-in3ws--02-02.fen.sv2.lotusliveops.com with SMTP; 2 Oct 2010 20:40:28 -0000 From: "Alexandre \"Sunny\" Kovalenko" To: Ian Smith In-Reply-To: <20101002142419.G62022@sola.nimnet.asn.au> References: <4C732522.1010400@gmail.com> <4CA556EB.902@gmail.com> <20101001144505.C62022@sola.nimnet.asn.au> <20101002142419.G62022@sola.nimnet.asn.au> Content-Type: text/plain; charset="UTF-8" Date: Sat, 02 Oct 2010 16:39:36 -0400 Message-ID: <1286051977.1655.45.camel@RabbitsDen.RabbitsLawn.verizon.net> MIME-Version: 1.0 X-Mailer: Evolution 2.30.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Matt , freebsd-acpi@freebsd.org, Paul B Mahol Subject: Re: Sleep/Lenovo SL410 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: Sat, 02 Oct 2010 20:51:42 -0000 On Sat, 2010-10-02 at 16:34 +1000, Ian Smith wrote: > On Fri, 1 Oct 2010, Paul B Mahol wrote: > > On 10/1/10, Ian Smith wrote: > > > On Thu, 30 Sep 2010, Matt wrote: > > > > Success! > > > > > > > > After setting every possible suspend/resume sysctl, > > > > "sysctl hw.pci.do_power_resume=3D0" > > > > allowed suspend and resume. Still beeps 1-3 times before suspend,= with > > > rapid > > > > sleep light flashing until suspend complete. > > > > > > Interesting; $someone may document do_power_resume a bit more $somed= ay? > > It is already documented. >=20 > Well, there's all of: >=20 > t23% sysctl -ad | grep do_power_resume > hw.pci.do_power_resume: Transition from D3 -> D0 on resume. >=20 > unless you mean RTFS :) where there's: >=20 > t23% sh -c 'find /usr -type f -exec grep -Hi do_power_resume {} \; 2>/dev= /null' > /usr/src/sys/dev/pci/pci.c:static int pci_do_power_resume =3D 1; > /usr/src/sys/dev/pci/pci.c:TUNABLE_INT("hw.pci.do_power_resume", &pci_do_= power_resume); > /usr/src/sys/dev/pci/pci.c:SYSCTL_INT(_hw_pci, OID_AUTO, do_power_resume,= CTLFLAG_RW, > /usr/src/sys/dev/pci/pci.c: &pci_do_power_resume, 1, > /usr/src/sys/dev/pci/pci.c: if (pci_do_power_resume) > /usr/src/sys/dev/pci/pci.c: if (pci_do_power_resume) > Binary file /usr/obj/usr/src/sys/GENERIC/pci.o matches > Binary file /usr/obj/usr/src/sys/GENERIC/kernel matches > Binary file /usr/obj/usr/src/sys/GENERIC/kernel.debug matches > Binary file /usr/obj/usr/src/sys/GENERIC/kernel.symbols matches >=20 > .. including manpages, handbook, faq, articles etc. Is that it? I know= =20 > what D3->D0 means but it hardly describes when/how/why to {,not} use it,= =20 > leaving me surprised it would make S3 resume work in this case, and why? >=20 > 8.1-STABLE FreeBSD 8.1-STABLE #0: Sun Sep 5 15:53:00 EST 2010 GENERIC i3= 86 >=20 > > > > Kernel conf is attached. > > > > World built from last Friday's CVS, -CURRENT > > > > > > > > acpiconf -s3 works perfectly from console > > > > previously opened windows are garbled until refresh in X > > > > > > Some thinkpads have responded positively in this regard to setting > > > hw.syscons.sc_no_suspend_vtswitch=3D1 > > > > > > > acpiconf -s4 causes shutdown, does not resume on power on. > > > > > > Suspend To Disk is not expected to work; your laptop (like most) has= no > > > BIOS support for S4, as per your hw.acpi.s4bios: 0 > >=20 > > Suspend to disk does not work because FreeBSD does not support it. > > (s4bios is irrelevant here) >=20 > Ah, when did that break? It worked fine on my old Compaq 1500c ('99!)=20 > on FreeBSD 5.5, s4bios=3D1, though for another reason I couldn't usually= =20 > run ACPI on it, and APM STD and STR work. I found a message from someone= =20 > with a Dell Inspiron something a few years ago reporting S4BIOS working,= =20 > modulo a fixable screen resume issue that he had resuming from S3 also. On my IBM ThinkPad 701C "Butterfly" BIOS-supported suspend-to-disk broke somewhere between 4.11 and 5.2.1. Upon resume in 5.2.1 system would go into endless loop of ata timeouts and never come back. --=20 Alexandre Kovalenko (=D0=9E=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80= =D0=9A=D0=BE=D0=B2=D0=B0=D0=BB=D0=B5=D0=BD=D0=BA=D0=BE) -------------------------------------------------------------- Ovi Mail: Making email access easy http://mail.ovi.com