From mboxrd@z Thu Jan 1 00:00:00 1970 From: Phillip Susi Subject: Re: Asus K8V Delux broken acpi tables? Date: Mon, 10 Oct 2005 21:36:26 -0400 Message-ID: <434B171A.3040103@cfl.rr.com> References: <43475CDB.6070204@cfl.rr.com> <4347ED97.1090504@cfl.rr.com> <434A3BB4.1050404@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <434A3BB4.1050404-l3A5Bk7waGM@public.gmane.org> Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Thomas Renninger , acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org I think I updated my bios a month or two ago. I'm not quite sure how to recompile my DSDT. I thought I needed to use iasl to decompile the existing DSDT from acpidump, then apply your patch, then recompile. I seem to be missing something though, iasl -d doesn't seem to like my acpidump.log. Also getting iasl compiled was kind of a pain, the code is a bit borked. First I had to add the -l flag to flex so that unput() could be used correctly, then the code was declaring a variable in one place as a char [] and in another as a char *, so I had to fix that to get it to compile. Even then it had a bunch of warnings because of incorrect casts due to assumptions about being on a 32bit architecture ( I'm running 64 bit ). Thomas Renninger wrote: > I guess that the > Name (ATA0, Buffer (0x1D) {}) > declaration needs to be before it is actually used. > > I wonder why the SATA drive only does not work after STR?!? > Attached are my changes, which hopefully let above errors vanish. > Chances are high that this is related to your machine's uncorrect SATA > register state complains. > I also exchanged some WordAcc to AnyAcc field declarations so that the > compiler does not complain about wrong field widths, maybe it's even > this what causes incorrect register reads/writes. > > Do you know how to recompile and override your DSDT? > > Do you already have the lates BIOS installed? Better check that first. > > Thomas > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl