* DSDT compilation issues
@ 2007-05-18 2:17 Martian67
2007-05-19 3:13 ` Thomas Renninger
0 siblings, 1 reply; 2+ messages in thread
From: Martian67 @ 2007-05-18 2:17 UTC (permalink / raw)
To: linux-acpi
Hi, when i attempt to recompile a buggy DSDT table for my Toshiba P100
PSPA3C-MA502C, I get some compiletime errors, and i am not sure how to adress
them properly.
I am running through this procedure as outlined @
http://gentoo-wiki.com/HOWTO_Fix_Common_ACPI_Problems
**************************************************************************
cat /proc/acpi/dsdt > dsdt.dat
iasl -d dsdt.dat
iasl -tc dsdt.dsl
**************************************************************************
When I attempt to do this it results in these errors
***************************************************************************
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20061109 [May 15 2007]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a
dsdt.dsl 1773: Name (_T_0, 0x00)
Error 4081 - Use of reserved word ^ (_T_0)
dsdt.dsl 1851: Name (_T_0, 0x00)
Error 4081 - Use of reserved word ^ (_T_0)
dsdt.dsl 2145: Name (_T_0, 0x00)
Error 4081 - Use of reserved word ^ (_T_0)
dsdt.dsl 2223: Name (_T_0, 0x00)
Error 4081 - Use of reserved word ^ (_T_0)
dsdt.dsl 6516: Method (BTST, 0, NotSerialized)
Warning 1086 - ^ Not all control paths return a
value (BTST)
dsdt.dsl 6543: Name (_HID, "*PNP0C14")
Error 4001 - ^ String must be entirely
alphanumeric (*PNP0C14)
***************************************************************************
here is a link to the dsl file
http://www.pastebin.ca/494055
any help that could be rendered would be greatly appreciated
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: DSDT compilation issues
2007-05-18 2:17 DSDT compilation issues Martian67
@ 2007-05-19 3:13 ` Thomas Renninger
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Renninger @ 2007-05-19 3:13 UTC (permalink / raw)
To: Martian67; +Cc: linux-acpi
On Fri, 2007-05-18 at 02:17 +0000, Martian67 wrote:
> Hi, when i attempt to recompile a buggy DSDT table for my
> PSPA3C-MA502C, I get some compiletime errors, and i am not sure how to adress
> them properly.
>
> I am running through this procedure as outlined @
> http://gentoo-wiki.com/HOWTO_Fix_Common_ACPI_Problems
>
> **************************************************************************
>
> cat /proc/acpi/dsdt > dsdt.dat
>
> iasl -d dsdt.dat
>
> iasl -tc dsdt.dsl
>
> **************************************************************************
>
> When I attempt to do this it results in these errors
>
> ***************************************************************************
>
> Intel ACPI Component Architecture
> ASL Optimizing Compiler version 20061109 [May 15 2007]
> Copyright (C) 2000 - 2006 Intel Corporation
> Supports ACPI Specification Revision 3.0a
>
> dsdt.dsl 1773: Name (_T_0, 0x00)
> Error 4081 - Use of reserved word ^ (_T_0)
>
> dsdt.dsl 1851: Name (_T_0, 0x00)
> Error 4081 - Use of reserved word ^ (_T_0)
>
> dsdt.dsl 2145: Name (_T_0, 0x00)
> Error 4081 - Use of reserved word ^ (_T_0)
>
> dsdt.dsl 2223: Name (_T_0, 0x00)
> Error 4081 - Use of reserved word ^ (_T_0)
Hmm, I wonder why this is reserved, but renaming all instances of _T_0
to e.g. _TX0 or whatever should solve this?
Looks like a minor bug in the ACPI disassembler for me.
>
> dsdt.dsl 6516: Method (BTST, 0, NotSerialized)
> Warning 1086 - ^ Not all control paths return a
> value (BTST)
>
> dsdt.dsl 6543: Name (_HID, "*PNP0C14")
> Error 4001 - ^ String must be entirely
> alphanumeric (*PNP0C14)
Remove the "*".
Could you explain why your DSDT is broken and what kind of bug you like
to fix.
To workaround ACPICA or DSDT bugs by simply overriding it is not a good
idea
as others might also slip into this. If possible, let's better try to
find a
general solution in the kernel/ACPICA code...
You also might want to open a bug report for your problem:
http://bugzilla.kernel.org
Thomas
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-05-19 3:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-18 2:17 DSDT compilation issues Martian67
2007-05-19 3:13 ` Thomas Renninger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox