From owner-freebsd-acpi@FreeBSD.ORG Fri Feb 23 07:54:56 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 7684616A400 for ; Fri, 23 Feb 2007 07:54:56 +0000 (UTC) (envelope-from pietro.cerutti@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.229]) by mx1.freebsd.org (Postfix) with ESMTP id 1E36413C474 for ; Fri, 23 Feb 2007 07:54:55 +0000 (UTC) (envelope-from pietro.cerutti@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so385937wxc for ; Thu, 22 Feb 2007 23:54:55 -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=HBUbkj+ihDlbJQYUFn07OzuJT6AricBUX+UvoZP1WXOeiq8tifM6TEZoiy/42yQqhEYdH6HI0lMSJJY5Len+dkC7acv0hLJBntSzd/Yvw9ByvmXHgnjB0yvn1vqtMeILy6dymAIS1lFmIQg90SIPnUncsFh7wDnNHQ/AZoQmFvo= 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=d/GkN7vz6sfcDIRIOTRP3ZFCRYLCabPLvOvOxfYe4oueKaoznD/4Yuw1MO1JlSHEayQqDHYnLI6cCthtQsyLKt4gTpV8oVATJNCTq+mhcAFWFp8zHDYeb2pInLJeIkjFLxTp6AAFknXLjJnTFXnfEROSZKeOfThylSr8xmj1nsI= Received: by 10.70.67.10 with SMTP id p10mr2910210wxa.1172217295317; Thu, 22 Feb 2007 23:54:55 -0800 (PST) Received: by 10.100.33.5 with HTTP; Thu, 22 Feb 2007 23:54:55 -0800 (PST) Message-ID: Date: Fri, 23 Feb 2007 08:54:55 +0100 From: "Pietro Cerutti" To: "Nate Lawson" In-Reply-To: <45DE3BE3.7070007@root.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45DE3BE3.7070007@root.org> Cc: rodrigc@crodrigues.org, freebsd-acpi@freebsd.org, "Moore, Robert" , freebsd-hackers@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: Fri, 23 Feb 2007 07:54:57 -0000 On 2/23/07, Nate Lawson wrote: > Pietro Cerutti wrote: > > On 2/23/07, Moore, Robert wrote: > >> On linux, the compiler must be generated with the "flex-old" package, I > >> don't know if there is anything like it for bsd. We are looking at > >> making changes to support newer versions of flex/bison. > > > > Bob, > > we don't have a flex-old package, so we'll have to wait till the new > > version becomes available. By the way, the asl code compiles without > > warning using the iasl apt package on Ubuntu, so the problem is > > definitely not with the asl. > > We take care of the lex issue when we import acpi-ca. Please wait until > we've done the import and use the iasl in the base system. > > Your issue is definitely not ASL-related. > > > > >> Power problems: sorry, not the expert in this area. > > For everyone else: > > By disabling SMP I could get to a stage where, at the end of the > > shutdown process, this message is displayed (with SMP enabled, the > > screen turns black and I can't read messages): > > > > AcpiEnterSleepStatePrep failed - AE_NOT_FOUND > > > > So, any ideas on that? > > The \_S5 object is missing? most likely not: hw.acpi.supported_sleep_state: S1 S3 S4 S5 > Can you and the reboot failure people try: > sysctl debug.acpi.do_powerstate=0 Nothing changes: as always, when I halt, the OS is shutdown and the screen turns black, nothing more, nothing less... Thanx, > > -Nate > > >> > -----Original Message----- > >> > From: Pietro Cerutti [mailto:pietro.cerutti@gmail.com] > >> > Sent: Thursday, February 22, 2007 3:46 PM > >> > To: Moore, Robert > >> > Cc: Nate Lawson; rodrigc@crodrigues.org; freebsd-hackers@freebsd.org; > >> > freebsd-acpi@freebsd.org > >> > Subject: Re: Laptop won't power off > >> > > >> > On 2/23/07, Moore, Robert wrote: > >> > > Not likely to be cause of power off problems > >> > Ok, any other ideas? > >> > > >> > > > >> > > Compiler runs on linux, should run on bsd. > >> > If you're talking about this one: > >> > http://www.intel.com/technology/iapc/acpi/downloads/acpica-unix- > >> > 20061109.tar.gz > >> > it doesn't compile neither on Debian (Kernel 2.6.12) nor on FreeBSD > >> > (6.2).... > >> > > >> > > make > >> > bison -v -d -y -pAslCompiler aslcompiler.y > >> > aslcompiler.y:3083.37-48: warning: rule never reduced because of > >> > conflicts: OptionalResourceType: /* empty */ > >> > > >> > cp y.tab.c aslcompilerparse.c > >> > cp y.tab.h aslcompiler.y.h > >> > cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER > >> > -I../include -c -o aslcompilerparse.o aslcompilerparse.c > >> > flex -i -PAslCompiler -oaslcompilerlex.c aslcompiler.l > >> > cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER > >> > -I../include -c -o aslcompilerlex.o aslcompilerlex.c > >> > aslcompiler.l: In function 'comment': > >> > aslcompiler.l:847: error: 'yytext_ptr' undeclared (first use in this > >> > function) > >> > aslcompiler.l:847: error: (Each undeclared identifier is reported only > >> > once > >> > aslcompiler.l:847: error: for each function it appears in.) > >> > make: *** [aslcompilerlex.o] Error 1 > >> > > > > > > -- > Nate > -- Pietro Cerutti - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org