Date: Thu, 21 Oct 2010 09:26:40 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: Lin Ming <ming.m.lin@intel.com> Cc: "freebsd-acpi@freebsd.org" <freebsd-acpi@freebsd.org>, "Moore, Robert" <robert.moore@intel.com> Subject: Re: MacBookPro 5,1 Message-ID: <201010210926.41103.hselasky@c2i.net> In-Reply-To: <1287645147.6530.3107.camel@minggr.sh.intel.com> References: <201010121209.06397.hselasky@c2i.net> <1287632360.6530.3103.camel@minggr.sh.intel.com> <1287645147.6530.3107.camel@minggr.sh.intel.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I will get you the debug output from this patch in about 8 hours. --HPS On Thursday 21 October 2010 09:12:27 Lin Ming wrote: > > Hi, > > Could you apply below debug patch and attach the output? > I'll try to reproduce this bug with the output. > > It will print something like below, > > Passed in resource buffer length=136 > Buffer start > f 0 0 0 44 0 0 0 1 0 0 0 1 0 1 0 45 ee 44 0 0 0 0 0 5 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > Buffer end > > Thanks. > > diff --git a/source/components/resources/rsxface.c > b/source/components/resources/rsxface.c index 2a019d1..459ad44 100644 > --- a/source/components/resources/rsxface.c > +++ b/source/components/resources/rsxface.c > @@ -394,6 +394,7 @@ AcpiSetCurrentResources ( > { > ACPI_STATUS Status; > ACPI_NAMESPACE_NODE *Node; > + UINT8 i, *Buffer; > > > ACPI_FUNCTION_TRACE (AcpiSetCurrentResources); > @@ -416,6 +417,15 @@ AcpiSetCurrentResources ( > return_ACPI_STATUS (Status); > } > > + AcpiOsPrintf("Passed in resource buffer length=%d\n", > InBuffer->Length); + AcpiOsPrintf("Buffer start\n"); > + Buffer = (UINT8*) InBuffer->Pointer; > + for (i = 0; i < (UINT8) InBuffer->Length; i++) > + { > + AcpiOsPrintf("%x ", Buffer[i]); > + } > + AcpiOsPrintf("\nBuffer end\n"); > + > Status = AcpiRsSetSrsMethodData (Node, InBuffer); > return_ACPI_STATUS (Status); > }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010210926.41103.hselasky>