From owner-freebsd-current@FreeBSD.ORG Wed Jun 11 11:18:30 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B60637B40B for ; Wed, 11 Jun 2003 11:18:30 -0700 (PDT) Received: from fiinbeck.math.ntnu.no (fiinbeck.math.ntnu.no [129.241.15.140]) by mx1.FreeBSD.org (Postfix) with SMTP id 956DA43FAF for ; Wed, 11 Jun 2003 11:18:28 -0700 (PDT) (envelope-from hanche@math.ntnu.no) Received: (qmail 52464 invoked from network); 11 Jun 2003 18:18:26 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 11 Jun 2003 18:18:26 -0000 To: freebsd-current@freebsd.org In-Reply-To: <20030610135856.GQ12096@pcwin002.win.tue.nl> References: <200306101342.h5ADgHQ26446@mailgate5.cinetic.de> <20030610135856.GQ12096@pcwin002.win.tue.nl> X-Mailer: Mew version 1.94.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) X-URL: http://www.math.ntnu.no/~hanche/ Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 8bit Message-Id: <20030611201826J.hanche@math.ntnu.no> Date: Wed, 11 Jun 2003 20:18:26 +0200 From: Harald Hanche-Olsen X-Dispatcher: imput version 20000228(IM140) Lines: 46 Subject: Re: ACPI Regression in -CURRENT? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 18:18:30 -0000 + Stijn Hoop : | Hi Thorsten, | | On Tue, Jun 10, 2003 at 03:42:18PM +0200, Thorsten Greiner wrote: | > some time ago several people (including me) reported ACPI related problems | > on various Dell laptops resulting in error messages of the form | > | > ACPI-0293: *** Warning: Buffer created with zero length in AML | > | > During the 5.1 release process these problems have been temporarily fixed. | | This is due to the Dell laptops having an invalid ACPI table in the BIOS. | The only way to avoid these messages is to tell FreeBSD ACPI to override | the vendor supplied table with a correct one. | | Mark Santcroos developed a patch which worked on his C640 and my Inspiron | 4150, which you can find attached. Here are the steps to use it: [...] I tried that on my Inspiron 4150 with 5.1-RELEASE. The patch failed, but only for trivial reasons like different placment of braces. So I applied it by hand and followed directions, but the warning messages did not go away. I know my efforts did *something* though, as I find this in dmesg output: Preloaded acpi_dsdt "/boot/acpi_dsdt.aml" at 0xc055c1cc. [...] ACPI: DSDT was overridden. ACPI-0375: *** Info: Table [DSDT] replaced by host OS Also, I still cannot suspend the machine: acpiconf -s results in a variety of interesting behaviour, always ending with the machine in a useless state (except acpiconf -s 5, which does what it should - like halt -p). Actually, acpiconf -s 3 seems to "almost" work: The screen goes blank, and the machine turns itself off - only to turn back on immediately, but with the screen remaining blank. So I hit Fn-F8 a couple of times, and lo and behold the screen is alive again and the machine is responsive once more. I did this from a console, but when I do Ctrl-Alt-F9 the X server is hosed: Wrong colours, garbage in the top of the screen, and zero response to any keypresses. Can you suspend yours? Any more clever tricks? (Hmm, I suppose we should discuss this on -mobile, but since the thread started here...) - Harald