Contribute
Register

How do I get a working DSDT HP Pavilion 15-r210dx

Status
Not open for further replies.
Joined
Mar 17, 2014
Messages
48
Motherboard
Dell Inspiron 3558
CPU
i3-5015U
Graphics
HD 5500, 1366x768
Mac
  1. MacBook
Classic Mac
  1. iBook
  2. iMac
  3. PowerBook
Mobile Phone
  1. Android
  2. iOS
Ok, so I've tried to get this laptop completely working as a Hackintosh, and so far have been successful with getting the following to work:

-Graphics
-Battery
-PS/2 Keyboard and trackpad
-USB 3.0
-Both CPU cores without the need for cpus=1
-smbios
-SSDT

Things that are NOT working:

-Screen Brightness Control
-Audio (I have tried VoodooHDA, haven't patched the kext yet)
-Wifi (though I will be replacing the wifi with a compatible Broadcom bcm943224 soon)
-Sleep

Things that are not tested:

-webcam (I don't care)
-Ethernet (doesn't work in windows with correct driver, is probably broken)
-CD/DVD drive
-External video/audio outputs

It is my understanding that these things that are not working can work as long as I have a DSDT with the correct patches and such. The only problem is when I try to get a DSDT (generated from my own laptop, since this model doesn't have a publicly available DSDT since it's not common enough) and try to compile it with MacIASL or another editor, I get a TON of errors, and don't know how to go about fixing them all, ending up with many more errors when I try to fix them. I don't have the experience with DSDTs, but I have tried researching each and every error and haven't had much success. If anyone can help me out, that would be very much appreciated. I have mostly used RehabMan's kexts and guides, and I must give thanks to him for his work.

The specs of the laptop are as such, with the DSDT attached:
-Intel Core-i5 5200u (Broadwell)
-Intel HD Graphics 5500
-6GB DDR3 Ram
-1366x768 lvds display
more specs at HP's Website: http://support.hp.com/us-en/document/c04596942
 

Attachments

  • DSDT.aml
    61.4 KB · Views: 416
  • DSDT.dsl
    482.1 KB · Views: 329
Ok, so I've tried to get this laptop completely working as a Hackintosh, and so far have been successful with getting the following to work:

-Graphics
-Battery
-PS/2 Keyboard and trackpad
-USB 3.0
-Both CPU cores without the need for cpus=1
-smbios
-SSDT

Things that are NOT working:

-Screen Brightness Control
-Audio (I have tried VoodooHDA, haven't patched the kext yet)
-Wifi (though I will be replacing the wifi with a compatible Broadcom bcm943224 soon)
-Sleep

Things that are not tested:

-webcam (I don't care)
-Ethernet (doesn't work in windows with correct driver, is probably broken)
-CD/DVD drive
-External video/audio outputs

It is my understanding that these things that are not working can work as long as I have a DSDT with the correct patches and such. The only problem is when I try to get a DSDT (generated from my own laptop, since this model doesn't have a publicly available DSDT since it's not common enough) and try to compile it with MacIASL or another editor, I get a TON of errors, and don't know how to go about fixing them all, ending up with many more errors when I try to fix them. I don't have the experience with DSDTs, but I have tried researching each and every error and haven't had much success. If anyone can help me out, that would be very much appreciated. I have mostly used RehabMan's kexts and guides, and I must give thanks to him for his work.

The specs of the laptop are as such, with the DSDT attached:
-Intel Core-i5 5200u (Broadwell)
-Intel HD Graphics 5500
-6GB DDR3 Ram
-1366x768 lvds display
more specs at HP's Website: http://support.hp.com/us-en/document/c04596942

http://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
 
Ok, so I followed the guide as much as I can, including getting a dsdt.aml via Clover's F4 method, and then disassembling the resulting .aml with iasl. After doing so, I have opened the resulting .dsl with MaciASL and tried compiling it. The result was 34 errors, 7 warnings, 9 remarks, and 39 optimizations. As I know that the 3 latter sections don't need to be fixed in order to work, I will tell you the errors and if you would, please give me some knowledge of what it means, as I have used Google and haven't found much.

The error for most is "Object does not exist (xxxx)" in which "xxxx" is replaced by a small phrase, being "PCIM" or "NHPG" or something of the like

The other errors are mostly "Object not found or not accessible from scope (^^LPCB.EC0.UWAK)" but also refer to "(^^LPCB.CRID)"

There's also 3 syntax errors, but I think I should be able to figure those out. Attached is the .dsl I'm working with.

If you can help me at all, thanks in advance
 

Attachments

  • DSDT.dsl
    482.1 KB · Views: 275
Wait. Just realized I didn't do the refs.txt... I'll post when that's done...
 
Ok, so I followed the guide as much as I can, including getting a dsdt.aml via Clover's F4 method, and then disassembling the resulting .aml with iasl. After doing so, I have opened the resulting .dsl with MaciASL and tried compiling it. The result was 34 errors, 7 warnings, 9 remarks, and 39 optimizations. As I know that the 3 latter sections don't need to be fixed in order to work, I will tell you the errors and if you would, please give me some knowledge of what it means, as I have used Google and haven't found much.

The error for most is "Object does not exist (xxxx)" in which "xxxx" is replaced by a small phrase, being "PCIM" or "NHPG" or something of the like

The other errors are mostly "Object not found or not accessible from scope (^^LPCB.EC0.UWAK)" but also refer to "(^^LPCB.CRID)"

There's also 3 syntax errors, but I think I should be able to figure those out. Attached is the .dsl I'm working with.

If you can help me at all, thanks in advance

You cannot disassemble the DSDT by itself. Read the guide carefully.
 
Alright, so after attempting to do it the RIGHT way, I came really close to getting a correct file, but ended up with an error while trying to use iasl with this line:

"iasl -da -dl -fe refs.txt *.aml"

I get the following result:

"Intel ACPI Component Architecture
ASL+ Optimizing Compiler version 20160422-64(RM)
Copyright (c) 2000 - 2016 Intel Corporation


Input file APIC.aml, Length 0x8C (140) bytes
ACPI: APIC 0x0000000000000000 00008C (v03 HPQOEM SLIC-MPC 00000001 HP 00040000)
External object resolution file XSDT.aml
Input file XSDT.aml, Length 0xCC (204) bytes
XSDT.aml: Table [XSDT] is not an AML table - ignoring
External object resolution file UEFI.aml
Input file UEFI.aml, Length 0x236 (566) bytes
UEFI.aml: Table [UEFI] is not an AML table - ignoring
External object resolution file SSDT-9.aml
Input file SSDT-9.aml, Length 0x625A (25178) bytes
ACPI: SSDT 0x0000000000000000 00625A (v02 HPQOEM INSYDE 00003000 ACPI 00040000)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-8x.aml
Input file SSDT-8x.aml, Length 0x119 (281) bytes
ACPI: SSDT 0x0000000000000000 000119 (v02 PmRef ApCst 00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-7x.aml
Input file SSDT-7x.aml, Length 0x3D3 (979) bytes
ACPI: SSDT 0x0000000000000000 0003D3 (v02 PmRef Cpu0Cst 00003001 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-6x.aml
Input file SSDT-6x.aml, Length 0x5AA (1450) bytes
ACPI: SSDT 0x0000000000000000 0005AA (v02 PmRef ApIst 00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-5x.aml
Input file SSDT-5x.aml, Length 0x539 (1337) bytes
ACPI: SSDT 0x0000000000000000 000539 (v02 HPQOEM INSYDE 00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-4.aml
Input file SSDT-4.aml, Length 0xB74 (2932) bytes
ACPI: SSDT 0x0000000000000000 000B74 (v02 HPQOEM INSYDE 00003000 ACPI 00040000)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-3.aml
Input file SSDT-3.aml, Length 0x539 (1337) bytes
ACPI: SSDT 0x0000000000000000 000539 (v02 HPQOEM INSYDE 00003000 ACPI 00040000)
Pass 1 parse of [SSDT]
ACPI Error: [_PPC] Namespace lookup failure, AE_ALREADY_EXISTS (20160422/dswload-462)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20160422/psobject-310)
Could not parse external ACPI tables, AE_ALREADY_EXISTS"

This led me to think that SSDT-3.aml was a duplicate of SSDT-5.aml, so I promptly deleted it (after backing it up of course). After that, I got another error, that being of the RSDT-SSDT-8x.aml

"External object resolution file RSDT-SSDT-8x.aml
Input file RSDT-SSDT-8x.aml, Length 0x119 (281) bytes
ACPI: SSDT 0x0000000000000000 000119 (v02 PmRef ApCst 00003000 INTL 20120913)
Pass 1 parse of [SSDT]
ACPI Error: [_CST] Namespace lookup failure, AE_ALREADY_EXISTS (20160422/dswload-462)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20160422/psobject-310)
Could not parse external ACPI tables, AE_ALREADY_EXISTS"

Does this mean I need to get rid of the RSDT-SSDT files? It doesn't say so in your guide, but I'm assuming that is the case, so I just tried that. However, this time, I ended up with an error about RSDT-FACP.aml, so... Do I delete all the RSDT files, or am I doing this wrong?
 
Alright, so after attempting to do it the RIGHT way, I came really close to getting a correct file, but ended up with an error while trying to use iasl with this line:

Read the guide carefully.

Hint: You should not be disassembling files that do not begin with DSDT or SSDT.
 
Read the guide carefully.

Hint: You should not be disassembling files that do not begin with DSDT or SSDT.

Ok. So I ended up with the .dsl files for everything and got this message at the end of the command. Is this normal?

"iASL Warning: There were 19 external control methods found during
disassembly, but only 17 were resolved (2 unresolved). Additional
ACPI tables may be required to properly disassemble the code. This
resulting disassembler output file may not compile because the
disassembler did not know how many arguments to assign to the
unresolved methods. Note: SSDTs can be dynamically loaded at
runtime and may or may not be available via the host OS.

In addition, the -fe option can be used to specify a file containing
control method external declarations with the associated method
argument counts. Each line of the file must be of the form:
External (<method pathname>, MethodObj, <argument count>)
Invocation:
iasl -fe refs.txt -d dsdt.aml"

Is it a problem that 19 were found but only 17 resolved? Also, since I'm assuming I'll be using the dsdt.dsl file from now on, I opened it up and got the same amount of errors as before. Am I missing something here, or is there something seriously wrong with my DSDT?
 
Is it a problem that 19 were found but only 17 resolved?

No.

Also, since I'm assuming I'll be using the dsdt.dsl file from now on, I opened it up and got the same amount of errors as before. Am I missing something here, or is there something seriously wrong with my DSDT?

Error messages refer to the line number of the source file for good reason.

If you need help, you will need to attach your native DSDT + SSDTs (from Clover F4 extract).
 
Will this .zip file work?
 

Attachments

  • dsdt and ssdt.zip
    150.9 KB · Views: 208
Status
Not open for further replies.
Back
Top