From owner-freebsd-acpi@FreeBSD.ORG Thu Feb 22 22:53:57 2007 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B7A9B16A401 for ; Thu, 22 Feb 2007 22:53:57 +0000 (UTC) (envelope-from pietro.cerutti@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by mx1.freebsd.org (Postfix) with ESMTP id 74EF813C494 for ; Thu, 22 Feb 2007 22:53:57 +0000 (UTC) (envelope-from pietro.cerutti@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so255271ana for ; Thu, 22 Feb 2007 14:53:56 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BG8RqfAUG0YxKfPh5gIyicFEyBSH6o/ZhN/+gOmSfCJoAXqXCwjVHSz1TfRMhYhpaKW6Vcksbd7NUY69em1zGKjO1HWX3IH6xCoAEV1mNzwwRGk+ovgyauAotgq4k/DI/T/SHaCIKqZPvTJRjTqMcQWTd1ovE8EjemfQKRQWohI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nraL/JRrdw3NJcWPMRE4vsLv1IglWA40HjF/zt1Yh0657KiNPfx0QVw5tSVRqn196mTYqghAePyorkjp84pJHR0m0n90X4zKsJN5lTe60rh1K5vTKyZHLAnzBYN7tHr3+y0rqEaxMaieQkkBHQSzCogkU2poNjQh+RxlVfwuqXM= Received: by 10.100.164.14 with SMTP id m14mr991401ane.1172184835513; Thu, 22 Feb 2007 14:53:55 -0800 (PST) Received: by 10.100.33.5 with HTTP; Thu, 22 Feb 2007 14:53:55 -0800 (PST) Message-ID: Date: Thu, 22 Feb 2007 23:53:55 +0100 From: "Pietro Cerutti" To: "Nate Lawson" , rodrigc@crodrigues.org In-Reply-To: <45DE12CA.1010601@root.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45DE12CA.1010601@root.org> Cc: freebsd-hackers@freebsd.org, freebsd-acpi@freebsd.org Subject: Re: Laptop won't power off 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: Thu, 22 Feb 2007 22:53:57 -0000 On 2/22/07, Nate Lawson wrote: > Pietro Cerutti wrote: > > Hi Lists, > > first off, sorry for cross-posting, but I'm not subscribed to > > freebsd-acpi@, so acpi guys please CC me. > > > > The problem here is that my laptop doesn't power off when issuing halt > > -p or shutdown -p now. > > This is the machine: > > http://www.msicomputer.com/NB/product_spec.asp?model=MS-1034_(Core2_Duo) > > > > Any hint is greatly appreciated! > > CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (2000.15-MHz > > 686-class CPU) > > Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 > > Features=0xbfebfbff > > > > Features2=0xe3bd,CX16,,> > > AMD Features=0x20100000 > > AMD Features2=0x1 > > Cores per package: 2 > > Try disabling SMP so only 1 core is running. Build a kernel without SMP > option or at loader prompt type: > > set hint.apic.0.disabled="1" I already tried this way, but without any results... disabling SMPing only enables S3 state, which doesn't work otherwise.. Moreover, following the directives on "11.16 Using and Debugging FreeBSD ACPI" of the FreeBSD handbook, I put my ASL online here: https://staff.hti.bfh.ch/ctp3/MSI-1034.asl If I try to recompile it, there are a few errors: > iasl MSI-1034.asl Intel ACPI Component Architecture ASL Optimizing Compiler / AML Disassembler version 20041119 [Feb 22 2007] Copyright (C) 2000 - 2004 Intel Corporation Supports ACPI Specification Revision 2.0c MSI-1034.orig.asl 4128: PTS (Arg0) Error 1022 - ^ Object does not exist (PTS_) MSI-1034.orig.asl 4149: WAK (Arg0) Error 1022 - ^ Object does not exist (WAK_) MSI-1034.orig.asl 4206: If (SS1) Error 1037 - syntax error ^ ASL Input: MSI-1034.orig.asl - 4406 lines, 130275 bytes, 1862 keywords Compilation complete. 3 Errors, 0 Warnings, 0 Remarks, 536 Optimizations I solved the first two by putting the function declarations of PRS and WAK above the actual call at line 4128 and 4149, but I can't really figure out how to fix the third error. Thanx in advance! > > -- > Nate > -- Pietro Cerutti - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org