From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 13 15:33:33 2009 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id AF919106566B; Tue, 13 Oct 2009 15:33:33 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-acpi@FreeBSD.org Date: Tue, 13 Oct 2009 11:33:14 -0400 User-Agent: KMail/1.6.2 References: <20091011142256.GA3770@roadrunner.spoerlein.net> In-Reply-To: <20091011142256.GA3770@roadrunner.spoerlein.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Message-Id: <200910131133.16487.jkim@FreeBSD.org> Cc: Ulrich =?iso-8859-1?q?Sp=F6rlein?= , current@freebsd.org Subject: Re: ACPI Warning: Converted Buffer to expected String 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: Tue, 13 Oct 2009 15:33:33 -0000 On Sunday 11 October 2009 10:22 am, Ulrich Spörlein wrote: > Just FYI, > > Dell Inspiron 8600c laptop, semi-recent CURRENT, latest BIOS (A14), > machine is 5 years old and producing these warnings when inserting > a battery (or booting with one inserted) > > ACPI Warning for \\_SB_.BAT0._BIF: Converted Buffer to expected > String at index 9 (20090903/nsrepair-215) ACPI Warning for > \\_SB_.BAT0._BIF: Converted Buffer to expected String at index 10 > (20090903/nsrepair-215) ACPI Warning for \\_SB_.BAT0._BIF: > Converted Buffer to expected String at index 11 > (20090903/nsrepair-215) ACPI Warning for \\_SB_.BAT0._BIF: > Converted Buffer to expected String at index 12 > (20090903/nsrepair-215) These are just informational. FYI, new ACPICA checks predefined method/object types per spec. and tries to correct common DSDT errors. Previously these "quirks" were handled by OS layer case by case. The warning message is telling you that _BIF method (get battery information) returned Buffer object instead of String object and ACPICA corrected the errors. In fact, this is a very common mistake by laptop BIOS writers. Thus, it is automatically corrected by new ACPICA. However, if you see "ACPI Error", that's something to worry about, e.g., cannot convert predefined types. > Everything works just before the ACPI import, there's also another > bunch of (harmless) errors during boot. > > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: reservation of 0, 9fc00 (3) failed > acpi0: reservation of 100000, 3fef0000 (3) failed > > This is just for reference, perhaps someone wants to know. It is harmless. Jung-uk Kim