From owner-freebsd-acpi@FreeBSD.ORG Sat Aug 21 18:33:32 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BF6816A4CF for ; Sat, 21 Aug 2004 18:33:32 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0081043D1F for ; Sat, 21 Aug 2004 18:33:32 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.51] (adsl-64-171-186-94.dsl.snfc21.pacbell.net [64.171.186.94]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id i7LIXV8U006579; Sat, 21 Aug 2004 11:33:31 -0700 Message-ID: <4127957B.2050000@root.org> Date: Sat, 21 Aug 2004 11:33:31 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hanspeter Roth References: <20040814163010.GA851@gicco.homeip.net> <4122A173.6030100@root.org> <20040820231227.GA3956@gicco.homeip.net> In-Reply-To: <20040820231227.GA3956@gicco.homeip.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org Subject: Re: suspend on Pavilion hangs X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Aug 2004 18:33:32 -0000 Hanspeter Roth wrote: > On Aug 17 at 17:23, Nate Lawson spoke: >>Hanspeter Roth wrote: >> >>>What if I remove some devices from the kernel that are not >>>necessarily needed? >> >>That's a good way to start debugging suspend/resume problems. For more >>info, see the handbook: >>http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html > > I have removed some devices. But still the laptop hangs on suspend. > The output is now: > > acpi_lid0: wake_prep enabled for \_SB_.C136 (S3) > ======== acpi_printcpu() debug dump ======== > [...] > > It shows acpi_lid0 even though I have not used the lid switch but > acpiconf -s 3. That message is totally normal and just means that your lid switch is being enabled to _wake_ the system. So if you suspend with 'zzz' or whatever, you can still wake via the lid. This can be disabled via a sysctl if you want. > Is there something else I can try? > > Dmesg, sysctl.acpi and acpidump are available at: > http://home.datacomm.ch/hampi/pavilion/ See if Linux works. In general, suspend/resume does not work on a lot of laptops including on Linux. The process for fixing it is simple: begin by auditing all device drivers and fixing their suspend/resume methods. Continue on to fix all X video drivers by getting the undocumented info from the manufacturers. As you can see, while simple, this is a lot of work. There are a few things we can do better (_SxD, D3 on suspend) and I'm working on those, but fixing 5.3 to be a stable release is much higher on the priority list right now. -- Nate