From owner-freebsd-acpi@FreeBSD.ORG Thu Feb 28 21:15:02 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C91D5106567C for ; Thu, 28 Feb 2008 21:15:02 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236]) by mx1.freebsd.org (Postfix) with ESMTP id 76AF38FC2D for ; Thu, 28 Feb 2008 21:15:02 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so3985425wxd.7 for ; Thu, 28 Feb 2008 13:15:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=XkKHMMy5waCqAYo7ZDZtVLyVoKdlqYyKk/0qMvFQNxM=; b=SznWGsVRrapcZ3l5qvdadSH0LGzNFoA+z1iP1hBeOc0rkkROnakdacVJXFwyok2oL/2LvJtlhs76Fzz1Fv4SaHpN7L07BSVlepRpLesdGf5/qr5Nac1kMfPuolO2d4cYkcAjI/JEgn+gLZw2BHkPANrMZfD4rH4U1Nbz/tfAPE4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=utbHjZN53+HsSvz8xIkR5m6L2bpjeZznypY7kUqqr4g0sc3oDt+76ScBaeS+VZUYQIl8YPSXBW9fCa2BSqfDvFUR/UxneF+KSBEFaVzFWixavXlxoImUtuOPmvae0dmn4+adYJW4GJzfb94bP+Etah4wZPdsIn0/bzZGpJiWIiw= Received: by 10.100.96.9 with SMTP id t9mr16608930anb.35.1204233301682; Thu, 28 Feb 2008 13:15:01 -0800 (PST) Received: by 10.100.153.10 with HTTP; Thu, 28 Feb 2008 13:15:01 -0800 (PST) Message-ID: Date: Thu, 28 Feb 2008 21:15:01 +0000 From: "Rui Paulo" Sender: rpaulo@gmail.com To: "Andriy Gapon" In-Reply-To: <47C6A92C.7000700@icyb.net.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47C67001.20101@icyb.net.ua> <47C6A92C.7000700@icyb.net.ua> X-Google-Sender-Auth: 436580077160cf4e Cc: freebsd-acpi@freebsd.org Subject: Re: mismatch between FACP and chipset spec 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, 28 Feb 2008 21:15:02 -0000 On Thu, Feb 28, 2008 at 12:29 PM, Andriy Gapon wrote: > on 28/02/2008 11:52 Rui Paulo said the following: > > > > On Thu, Feb 28, 2008 at 8:25 AM, Andriy Gapon wrote: > >> As some of you probably already know I have a motherboard based on > >> 440BX/PIIX4E chipset: > >> http://www.geocities.com/SiliconValley/3686/delta_mp2.html > >> > >> Here's some info from ACPI tables: > >> PM1a_EVT_BLK=0x4000-0x4003 > >> PM1a_CNT_BLK=0x4040-0x4041 > >> PM_TMR_BLK=0x4008-0x400b > >> > >> I know that in my case 0x4000 is a base address of "Power Management IO > >> Space" (as defined by PIIX4 specification). > >> I see that descriptions of the registers and their bits match between > >> ACPI specification and PIIX4 specification for registers in PM1a_EVT_BLK > >> (PMSTS and PMEN registers in PIIX4 parlance) and PM_TMR_BLK (PMTMP > >> register in PIIX4 parlance). > >> But addresses given for PM1a_CNT_BLK are not documented at all! On the > >> other hand ACPI description of that register perfectly matches > >> description of PIIX4 PMCNTRL register that is located at 0x4004 with a > >> given base address. So, this is 0x4040 vs. 0x4004, looks like a possible > >> typo/mistake by an author of ACPI tables for this motherboard. > >> > >> Question: is there any way I can way override the address of > >> PM1a_CNT_BLK? My guess is that there is zero chance that there would be > >> any BIOS updates for this old and exotic motherboard (MP2-BX-X). > > > > Try dumping your ACPI tables, change the address and load the new > > tables on boot, > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html > > I have some experience with that (and I've been planning to share it for > several years now). > My impression that only DSDT can be changed this way, not the fixed > tables. I could be wrong. Yes, I failed to see that this was not the DSDT. Sorry. -- Rui Paulo