From owner-freebsd-acpi@FreeBSD.ORG Wed Jul 2 21:54:02 2008 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 7363F106567A for ; Wed, 2 Jul 2008 21:54:02 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id F03578FC14 for ; Wed, 2 Jul 2008 21:54:01 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so208859nfh.33 for ; Wed, 02 Jul 2008 14:54:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent:sender; bh=Vqqyv5TPzM1lGxVP8C7HESZr+cNahcwm5MYJ49WfwXY=; b=KSk0Q+ZkdY4Yxw0jX+qT/wCi2rZgGAJwMQQOTLRSDg/YA5xStx1J3F84WGjdhcac9z 0g2K5xwjy9+bm839WkA+G6gI5dTPzTo3qBxKV/8rKR4sGyKxLZjIYcECiwu96zMZZ2ja 1NrEfj02zy+0YEVCfANMyEwXX/aWiIYrIzwv0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent:sender; b=gUvgIT9Bzm4AbvGl0SbiuQN1SNJzOPtzM6sM28kCnMiql5tTJyJ5N841QDJjONYUxN mMTxSrPyRQYQP8+w2/HBi3OPCndrmP0v9rSgQ6Y+dx5S5UszbzOrk9ZUVFihQDMgGrLA 62fUWT2Rwj4SsTULT4PoBNvuHM8u8a3S1DhcE= Received: by 10.210.62.12 with SMTP id k12mr7046410eba.174.1215035640625; Wed, 02 Jul 2008 14:54:00 -0700 (PDT) Received: from phi.local ( [89.214.201.100]) by mx.google.com with ESMTPS id f13sm16685179gvd.2.2008.07.02.14.53.56 (version=SSLv3 cipher=RC4-MD5); Wed, 02 Jul 2008 14:53:59 -0700 (PDT) Date: Wed, 2 Jul 2008 22:52:34 +0100 From: Rui Paulo To: Olivier Fauchon Message-ID: <20080702215234.GB1790@phi.local> References: <486B9B56.3050609@aixmarseille.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <486B9B56.3050609@aixmarseille.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: Rui Paulo Cc: freebsd-acpi@FreeBSD.org Subject: Re: Dell ACPI & S3 resume problems. 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: Wed, 02 Jul 2008 21:54:02 -0000 On Wed, Jul 02, 2008 at 05:14:30PM +0200, Olivier Fauchon wrote: > > Hi, > > When I try to resume from S3 on my DELL Latitude D430 by pressing power > button, the laptop reboots. > > I tried the same test with a Knoppix Live CD, and It passes (Laptop > revives although LCD is buggy). > But I could type "shutdown -r now" blindly, to confirm it wakes up properly. > > Now I need help to find out the differences between FREEBSD and LINUX > which makes resume fail. > > You'll find here all collected informations: > > * Verbose Booting with FreeBSD7 > http://www.aixmarseille.com/pub/acpi_fb7_casino/boot_verbose_d430_FB7.log > * Booting with Knoppix dmesg > http://www.aixmarseille.com/pub/acpi_fb7_casino/dmesg_knoppix_d430.log > * Dell LAtitude D430 original ASL: > http://www.aixmarseille.com/pub/acpi_fb7_casino/dell-d430.orig.asl > * Patched ASL (which only correct a LID and warning problems) > http://www.aixmarseille.com/pub/acpi_fb7_casino/dell-d430.patched.asl > * Kernel configuration : > http://www.aixmarseille.com/pub/acpi_fb7_casino/kern_conf_CASINO.txt > * lspci : http://www.aixmarseille.com/pub/acpi_fb7_casino/lpsci.txt > > Can someone explains me what are the main steps of a resume, so I can > try to troubleshoot further. Well, your best bet is to disable every driver and make them modules. Boot with the bare minimum necessary for input/output and in single user mode. Try suspend and resume in single user mode. If that works, the problem, most likely lies in the drivers. Try enabling one driver at a time, and retest suspend/resume. This way you can find the problematic driver, if any. Also, try changing the hw.acpi sysctls, namely reset_video. HTH, -- Rui Paulo