From owner-freebsd-mobile@FreeBSD.ORG Wed May 18 12:34:05 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F06ED16A4CE for ; Wed, 18 May 2005 12:34:05 +0000 (GMT) Received: from smtp101.mail.sc5.yahoo.com (smtp101.mail.sc5.yahoo.com [216.136.174.139]) by mx1.FreeBSD.org (Postfix) with SMTP id ADE8143D48 for ; Wed, 18 May 2005 12:34:05 +0000 (GMT) (envelope-from seanmwelch@yahoo.com) Received: from unknown (HELO NitroPhys.welchsmnet.net) (seanmwelch@66.41.102.215 with plain) by smtp101.mail.sc5.yahoo.com with SMTP; 18 May 2005 12:34:03 -0000 Received: from NitroPhys.welchsmnet.net (localhost [127.0.0.1]) j4ICYD8V001204; Wed, 18 May 2005 07:34:13 -0500 (CDT) (envelope-from seanmwelch@yahoo.com) Received: (from welchsm@localhost) by NitroPhys.welchsmnet.net (8.13.1/8.13.1/Submit) id j4ICYCFf001203; Wed, 18 May 2005 07:34:12 -0500 (CDT) (envelope-from seanmwelch@yahoo.com) Date: Wed, 18 May 2005 07:34:11 -0500 From: Sean Welch To: freebsd-mobile@freebsd.org, freebsd-acpi@freebsd.org Message-ID: <20050518123411.GA1141@NitroPhys.welchsmnet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Subject: S3 suspend on a Dell I8k laptop (ACPI) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Sean_Welch@alum.wofford.org List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2005 12:34:06 -0000 I thought that before I put in a pr I would check here to see if anyone else has experienced this issue and if there is a fix/work-around for it. Apologies in advance for crossposting. It has been some time since I tried to use S3 (I think the last time was about 4.6-RELEASE or so) and I've never tried it with ACPI before now. I had swapped out the graphics card and that confused the BIOS on resume causing a shutdown, but for various reasons I have now replaced the original card and want to get suspend working again. I've seen the typical "it comes back from suspend and then immediately reboots" but found that this behavior goes away if I set: hw.acpi.reset_video: 0 Likewise, on the console I get the screen showing all white during suspend and on resume it turns the backlight off. I can toggle it back on using acpi_video sysctls for the lcd and the problem is nonexistent if I suspend under X and issue a dpms command beforehand to force the lcd off. On the whole I'm quite pleased with the resume capability (I'm mostly in X anyway) -- X, usb, mouse, pcmcia wireless, sound, keyboard, and everything else come up flawlessly. I discovered a potentially fatal issue, though. It appears the processor is running full throttle and in suspension there is no cooling. I'm lucky I noticed this last night before I went to bed -- I might have ended up with a smoking pile of molten electronics and quite possibly a fire. By the time I noticed it was very hot indeed and the electronics/plastics were beginning to outgas... I quad boot the machine (WinME, FBSD 5.3R, FBSD 5.4R, FBSD 5.4R) and the behavior is the same under both 5.3R and 5.4R (other than fxp0 dying under 5.3R). WinME isn't giving me an option for anything other than StandBy at the moment so I can't test it there though it seemed to work fine when I triggered it from DOS (booted from floppy). I have a custom kernel under 5.3 and just GENERIC under 5.4 (haven't configured it yet). My first thought was that the hlt instruction wasn't being issued but a quick check brings up: machdep.cpu_idle_hlt: 1 Can anyone offer advice? I'm running the latest revision of the BIOS (A23) and will be happy to post the asl on request. Sean