Contribute
Register

Native DSDT/AML IDE & Compiler: MaciASL Open Beta

Status
Not open for further replies.
Joined
Jan 5, 2013
Messages
42
Motherboard
Asus ROG G750JM
CPU
i7-4700HQ / HM87
Graphics
GTX 860M + HD4600, 1920 x 1080
Mac
  1. Mac Pro
Mobile Phone
  1. iOS
Of course I don't use these characters anymore but the problem remains. The Non-RM-Version of MaciASL says

"The file “iASLLRTZaS.dsl” couldn’t be saved using text encoding Western (ASCII)."

Going the opposite way = decompiling the active DSDT gives the following message, which should tell me the problem. What is the meaning of these the warnings/errors?

I've converted e.g. 0x2F5C1502 to L1wVAg== (Base64) and to "/\" (Text). The last doesn't exist in the DSL file. Looks like a comment error.

iASL returned:
Loading Acpi table from file iASLzqlInK.aml - Length 00088250 (0158BA)
ACPI: DSDT 0x0000000000000000 0158BA (v02 ASUS MacBookP 00000012 INTL 20180427)
Acpi table [DSDT] successfully installed and loaded
Pass 1 parse of [DSDT]
ACPI Warning: Invalid character(s) in name (0x2F5C1502), repaired: [****] (20140926/utstring-710)
ACPI Warning: Invalid character(s) in name (0x2F5C1501), repaired: [****] (20140926/utstring-710)
ACPI Error: ACPI Warning: Invalid character(s) in name (0x2F5C1501), repaired: [****] (20140926/utstring-710)
[****] Namespace lookup failure, AE_ALREADY_EXISTS (20140926/dswload-453)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20140926/psobject-305)


Regards
Michael
 
Last edited:

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,514
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Of course I don't use these characters anymore but the problem remains. The Non-RM-Version of MaciASL says

"The file “iASLLRTZaS.dsl” couldn’t be saved using text encoding Western (ASCII)."

Going the opposite way = decompiling the active DSDT gives the following message, which should tell me the problem. What is the meaning of these the warnings/errors?

I've converted e.g. 0x2F5C1502 to L1wVAg== (Base64) and to "/\" (Text). The last doesn't exist in the DSL file. Looks like a comment error.

iASL returned:
Loading Acpi table from file iASLzqlInK.aml - Length 00088250 (0158BA)
ACPI: DSDT 0x0000000000000000 0158BA (v02 ASUS MacBookP 00000012 INTL 20180427)
Acpi table [DSDT] successfully installed and loaded
Pass 1 parse of [DSDT]
ACPI Warning: Invalid character(s) in name (0x2F5C1502), repaired: [****] (20140926/utstring-710)
ACPI Warning: Invalid character(s) in name (0x2F5C1501), repaired: [****] (20140926/utstring-710)
ACPI Error: ACPI Warning: Invalid character(s) in name (0x2F5C1501), repaired: [****] (20140926/utstring-710)
[****] Namespace lookup failure, AE_ALREADY_EXISTS (20140926/dswload-453)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20140926/psobject-305)


Regards
Michael

Refer to the guide:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
 
Joined
Jan 5, 2013
Messages
42
Motherboard
Asus ROG G750JM
CPU
i7-4700HQ / HM87
Graphics
GTX 860M + HD4600, 1920 x 1080
Mac
  1. Mac Pro
Mobile Phone
  1. iOS
Solved - there was a strange character in one of my comments. Difficult to find in >20k LoC. Now MaciASL is happy again.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,514
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Solved - there was a strange character in one of my comments. Difficult to find in >20k LoC. Now MaciASL is happy again.

Yes... iasl is overly picky about ASCII adherence.
 
Joined
Jan 5, 2013
Messages
42
Motherboard
Asus ROG G750JM
CPU
i7-4700HQ / HM87
Graphics
GTX 860M + HD4600, 1920 x 1080
Mac
  1. Mac Pro
Mobile Phone
  1. iOS
The problematic character was in a comment.
iasl had no problem with this - which is logical, because it simply ignores the comments.
MaciASL didn't accept this character.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,514
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
The problematic character was in a comment.
iasl had no problem with this - which is logical, because it simply ignores the comments.
MaciASL didn't accept this character.

MaciASL File Save As .aml (ACPI Machine Language Binary) uses iasl to compile to AML.
 
Joined
Jan 5, 2013
Messages
42
Motherboard
Asus ROG G750JM
CPU
i7-4700HQ / HM87
Graphics
GTX 860M + HD4600, 1920 x 1080
Mac
  1. Mac Pro
Mobile Phone
  1. iOS
MaciASL doesn't save the source file (.dsl). I wrote in #272:

After some editing of e.g. DSDT.dsl I got the message from MaciASL after selecting "Save":

"The document "DSDT.dsl" could not be saved"

In this case I think its MaciASL. But its ok for me, no problem at all.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,514
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
MaciASL doesn't save the source file (.dsl). I wrote in #272:

After some editing of e.g. DSDT.dsl I got the message from MaciASL after selecting "Save":

"The document "DSDT.dsl" could not be saved"

In this case I think its MaciASL. But its ok for me, no problem at all.

Note: I do most of my .dsl editing in Xcode.

If you think you find a bug in MaciASL, you should provide a small example .dsl file that demonstrates the bug.
 
Joined
Jan 5, 2013
Messages
42
Motherboard
Asus ROG G750JM
CPU
i7-4700HQ / HM87
Graphics
GTX 860M + HD4600, 1920 x 1080
Mac
  1. Mac Pro
Mobile Phone
  1. iOS
Easy: the following 4 lines are enough. Changing "/* ä */" to /* a */ and MaciASL is able to save the file.

Code:
/* ä */
DefinitionBlock ("", "SSDT", 1, "PmRef", "CpuPm", 0x00003000)
{
}
 
Last edited by a moderator:

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,514
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Easy: the following 4 lines are enough. Changing "/* ä */" to /* a */ and MaciASL is able to save the file.

Code:
/* ä */
DefinitionBlock ("", "SSDT", 1, "PmRef", "CpuPm", 0x00003000)
{
}

Yes... it is a bug.
 
Status
Not open for further replies.
Top