- Joined
- Dec 2, 2014
- Messages
- 70
- Motherboard
- Hp DV6 7040tx
- CPU
- i7 3610QM
- Graphics
- HD 4000 + 630M
[GUIDE] HP DV6 7xxx (Clover)
I would like to post a guide for those who are newbies. There are tons of guides explain the same concepts. But, I would post guides in detail so that this will be useful for Newbies to follow easily.
Before I start, I would like to thank RehabMan for his kind wonderful help.
Note: I'll update this guide whenever I resolve new issues.
Before you begin:
I'm posting all the solutions that I used and tested in my Laptop: HP DV6 7040tx. You should be able to use this guide without any modifications if you own a DV6 7xxx series Laptop
Installation:
There is no need for a separate guide. There is a wonderful guide by RehabMan. Follow [GUIDE] Booting the OS X installer on LAPTOPS with Clover UEFI guide for installing.
Tools required:
Configuring your MaciASL:
Important points to remember while editing DSDT:
To mount EFI folder:
Type this in the terminal:
Tested solutions:
1. Battery Status:
Original Guide: http://www.tonymacx86.com/yosemite-laptop-support/116102-guide-how-patch-dsdt-working-battery-status.html
If you come up with your own patch, do share to add it up to the repo
2. Brightness Fix:
This installs a brightness bar in Sys prefs > Displays:
To map the brightness to your keyboard keys (Read carefully. A little tricky):
This step assumes that you are using RehabMan's VoodooPS2Controller
Assuming _Q1D is brightness down, and _Q1C is up.
Change the variable _Q1D/_Q1C as per the log.
7. Try compiling and check if it generates errors
8. If it does, then change the PS2M to PS2x according to the one found in your DSDT
9. Save and place the compiled DSDT to /EFI/Clover/ACPI/Patched/ and restart
10. Now you should see that you have your corresponding keys to change your brightness
Note:
3. USB 3.0:
This is quite a straight forward solution.
4. Audio:
My audio codec is IDT 92HD91Bxx [111d:76e0]
You can also use a generic kext: http://sourceforge.net/projects/voodoohda/
I'll teach you how to patch AppleHDA.
5. Native CPU power management:
6.Turning off Discrete Nvidia for heat reduction and increase Battery Performance:
3. Place the SSDT-1 in /EFI/Clover/ACPI/Patched/SSDT-1.aml
4. Reboot
5. Open DPCIManager and see whether there is Nvidia listed or not (Shouldn't be there)
Work under progress:
You tell me more issues. Will find a work aroudn
Attached DSDT and SSDT:
Check the attached DSDT for fixed Battery Status + Brightness + Key Control + Audio. (Rename to DSDT.aml)
The attached SSDT-3 is for Brightness. (Should be combined with the DSDT) (Rename to SSDT-3.aml)
You are welcome to post feedbacks.
SilleBille
I would like to post a guide for those who are newbies. There are tons of guides explain the same concepts. But, I would post guides in detail so that this will be useful for Newbies to follow easily.
Before I start, I would like to thank RehabMan for his kind wonderful help.
Note: I'll update this guide whenever I resolve new issues.
Before you begin:
I'm posting all the solutions that I used and tested in my Laptop: HP DV6 7040tx. You should be able to use this guide without any modifications if you own a DV6 7xxx series Laptop
Installation:
There is no need for a separate guide. There is a wonderful guide by RehabMan. Follow [GUIDE] Booting the OS X installer on LAPTOPS with Clover UEFI guide for installing.
Tools required:
Configuring your MaciASL:
- Open MaciASL
- Goto Preferences
- Click on Sources tab
- Click on + sign and add Laptop Patches under name and http://raw.github.com/RehabMan/Laptop-DSDT-Patch/master under URL
- Again click on + sign and add Brightness Fix under name and http://raw.github.com/RehabMan/OS-X-ACPI-Debug/master under URL
- Close the window
Important points to remember while editing DSDT:
- When you open MaciASL, if the title shows System DSDT, it means it's your Native DSDT (Original DSDT)
- If your title shows Pre-Edited DSDT, it means it's your DSDT with applied patches
- Whenever you apply patches to your DSDT or SSDT, save the DSDT to /EFI/Clover/ACPI/Patched/. Name should be as DSDT.aml, SSDT.aml, SSDT-1.aml, ...
- Every time you patch your DSDT, you need to restart your system to load that corresponding DSDT/SSDT.
- You should compile DSDT/SSDTs without any errors for your patch to work correctly.
- While saving your compiled DSDT/SSDTs you should select ACPI Machine Language Binary under the file format
To mount EFI folder:
Type this in the terminal:
Code:
mkdir /Volumes/efi
sudo mount -t msdos /dev/disk0s1 /Volumes/efi
Tested solutions:
1. Battery Status:
Original Guide: http://www.tonymacx86.com/yosemite-laptop-support/116102-guide-how-patch-dsdt-working-battery-status.html
- Place this kext on your desktop: https://github.com/RehabMan/OS-X-ACPI-Battery-Driver
- Open KextBeast and drag and drop the downloaded kext
- Now, open MaciASL
- Click on Patch and on the left side, under the tab Laptop Patches you should find [bat] HP DV7-7xxx/DV6-7xxx
- Click on Apply
- Save the DSDT in /EFI/Clover/ACPI/Patched/ and restart
If you come up with your own patch, do share to add it up to the repo
2. Brightness Fix:
This installs a brightness bar in Sys prefs > Displays:
- Install: https://github.com/RehabMan/OS-X-ACPI-Backlight
- Open MaciAsl and click on patch
- You should be able to see a patch under Laptop Patches with the name [igpu] Rename GFX0 to IGPU
- Apply this patch to DSDT and to all SSDTs that contain GFX0 (Search all the SSDTs)
- Now apply Brightness Fix (3000/4000) to the DSDT or SSDT that contains the definition for Device IGPU (search for 'Device (IGPU)')
- Place the DSDT/SSDTs in the /EFI/Clover/ACPI/Patched/ and name accordingly and restart
- Now you should see a working Brightness bar in Sys prefs > Displays
To map the brightness to your keyboard keys (Read carefully. A little tricky):
This step assumes that you are using RehabMan's VoodooPS2Controller
- Install the kext: https://github.com/RehabMan/OS-X-ACPI-Debug
- Open MaciASL and click on patch
- Apply "Add DSDT Debug Methods" and "Instrument EC Queries" that are under Brightness Fix.
- Save the DSDT to /EFI/Clover/ACPI/Patched/ and restart
- Look in system.log in the Console.app as you press the key corresponding to brightness to determine which _Qxx methods handle the keys
- Then patch DSDT:
Assuming _Q1D is brightness down, and _Q1C is up.
Code:
into method label _Q1D replace_content
begin
// Brightness Down\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0205)\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0285)\n
end;
into method label _Q1C replace_content
begin
// Brightness Up\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0206)\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0286)\n
end;
Change the variable _Q1D/_Q1C as per the log.
7. Try compiling and check if it generates errors
8. If it does, then change the PS2M to PS2x according to the one found in your DSDT
9. Save and place the compiled DSDT to /EFI/Clover/ACPI/Patched/ and restart
10. Now you should see that you have your corresponding keys to change your brightness
Note:
RehabMan said:You should notify the object that corresponds to the keyboard device. PS2M is usually the built-in trackpad. It works to Notify that object as it all funnels through VoodooPS2Controller.ApplePS2Controller, but that may not be the case in the future.
Also, if you're not using my VoodooPS2, you can use ACPIKeyboard.kext: https://github.com/RehabMan/OS-X-ACPI-Keyboard
3. USB 3.0:
This is quite a straight forward solution.
- Download the kext: https://github.com/RehabMan/OS-X-Generic-USB3
- Place this kext inside: /EFI/Clover/kexts/Other (Do not use KextBeast or any kext installers)
- Restart your machine and check your USB 3.0
4. Audio:
My audio codec is IDT 92HD91Bxx [111d:76e0]
You can also use a generic kext: http://sourceforge.net/projects/voodoohda/
I'll teach you how to patch AppleHDA.
- Download this script https://github.com/RehabMan/HP-Envy-DSDT-Patch/blob/master/patch_hda.sh
- Run it as ./patch_hda.sh
- It'll generate a kext: AppleHDA_IDT76e0_Envy.kext
- Then apply "Audio Layout 12" and "IRQ Fix" patches from Laptop Patches
- Install it to S/L/E using iKext
- Copy this config.plist: View attachment config.plist.zip (Note: If you have an already patched config.plist, add only item 4 and item 5 from here under KernelAndKextPatches -> KextsToPatch
- Make sure you have AppleHDA.kext in S/L/E (Untouched)
- Reboot
- Fix Permissions and Rebuild Cache
- Restart
- Boom! Check your sound
5. Native CPU power management:
- Run this script: https://github.com/Piker-Alpha/ssdtPRGen.sh
- patch AppleIntelCPUPowerManagement can be patched on the fly with config.plist/KernelAndKextPatches/AsusAICPUPM=true
- Change config.plist/KernelAndKextPatches/KernelLapic=true
- Generated SSDT should be placed at /EFI/CLOVER/ACPI/patched/SSDT.aml
- Generate SMBIOS for your CPU and place it in config.plist/SMBIOS. Use the Clover Configurator to generate one
- Drop all OEM SSDTs by changing config.plist/ACPI/SSDT/DropOem=true
- Original AppleACPIPlatform.kext
- There should be no NullCPUPowerManagement.kext
6.Turning off Discrete Nvidia for heat reduction and increase Battery Performance:
- In SSDT-1, find the method Method (_INI)
- Then add the following:
Code:
Method (_INI, 0, NotSerialized)
{
Store (Zero, \_SB.PCI0.PEG0.PEGP._ADR)
// added code follows
External(\_SB.PCI0.PEG0.PEGP._OFF, MethodObj)
_OFF()
}
3. Place the SSDT-1 in /EFI/Clover/ACPI/Patched/SSDT-1.aml
4. Reboot
5. Open DPCIManager and see whether there is Nvidia listed or not (Shouldn't be there)
Work under progress:
You tell me more issues. Will find a work aroudn
Attached DSDT and SSDT:
Check the attached DSDT for fixed Battery Status + Brightness + Key Control + Audio. (Rename to DSDT.aml)
The attached SSDT-3 is for Brightness. (Should be combined with the DSDT) (Rename to SSDT-3.aml)
You are welcome to post feedbacks.
SilleBille