In my case, the errors are fixed by doing the following (courtesy of mitch from the insanelymac forums):
Edit the dsdt.dsl file and go to the line where iasl indicated the error. In my case I go to lines 1007 and and 1021:
Code:
DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x00000000, // Granularity
0x00000000, // Range Minimum
0xDFFFFFFF, // Range Maximum
0x00000000, // Translation Offset
0x00000000, // Length
,, _Y0D, AddressRangeMemory, TypeStatic)
So iasl is complaining about the "Length" line "0x00000000". This is wrong. Look at the "Range Minimum" and "Range Maximum". Open up your Kcalc or whatever you Gnome people use and change it to Numeral System Mode. Make sure HEX is selected and now we subtract the maximum range from the minimum range and then we add 1. Since the minimum range is 0 (And you can't subtract 0) I will input DFFFFFFF and then add 1 which gives me E0000000 (Don't get confused, I'm simply omitting "0x", the calculator doesn't need this). I change 0x00000000 to 0xE0000000 by Length. So now it looks like this:
Code:
DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x00000000, // Granularity
0x00000000, // Range Minimum
0xDFFFFFFF, // Range Maximum
0x00000000, // Translation Offset
0xE0000000, // Length
,, _Y0D, AddressRangeMemory, TypeStatic)
Good. One down, one left to go:
Code:
DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x00000000, // Granularity
0xFED40000, // Range Minimum
0xFED44FFF, // Range Maximum
0x00000000, // Translation Offset
0x00005000, // Length
,, , AddressRangeMemory, TypeStatic)<snip>
For the line 1021 error, I subtract 0xFED44FFF from 0xFED40000 (Remember, I'm subtracting the MAXIMUM range from the MINIMUM range or else I end up with a negative number - remember your elementary school arithmetic), and then I add 1.The length needs to be changed to 0x00005000.
The result:
Code:
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20100528 [Jul 2 2010]
Copyright (c) 2000 - 2010 Intel Corporation
Supports ACPI Specification Revision 4.0a
ASL Input: /home/moishe/dsdt.dsl - 7616 lines, 275364 bytes, 3155 keywords
AML Output: /home/moishe/dsdt.aml - 27850 bytes, 683 named objects, 2472 executable opcodes
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 43 Optimizations
For anyone who's curious, I'm using a Toshiba A200.
Bookmarks