Contribute
Register

HP Envy DV7-7302sg HD4000 HDMI Audio with Clover

Joined
Dec 1, 2013
Messages
15
Motherboard
Acer Predator Helios 500
CPU
i9-8950HK
Graphics
GTX 1070
Mac
MacBook Pro
Mobile Phone
iOS
HP Envy DV7-7302sg HD4000 HDMI Audio with Clover (problem)

Hi,

Laptop Spec:

Microprocessor: Intel Core i7-3630QM 2.4 GHz Turbo 3.4 GHz
Chipset: Intel HM77 Express
Video Graphics: Intel HD4000 (8086:0166), NVIDIA GeForce GT 650M (10DE:0FD1) Optimus
Network Card: Realtek (8168:10EC)Wireless:
AR5B195 Sound: Beats Audio (111D:76E0)

HDMI Audio does not work. HDMI itself works with Clover Patch
but I don't know how to get Audio running. Does anyone has any idea please?


View attachment config.plist
View attachment dsdt.aml
View attachment ioreg_HP_DV7.ioreg
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
189,144
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Hi,

Laptop Spec:

Microprocessor: Intel Core i7-3630QM 2.4 GHz Turbo 3.4 GHz
Chipset: Intel HM77 Express
Video Graphics: Intel HD4000 (8086:0166), NVIDIA GeForce GT 650M (10DE:0FD1) Optimus
Network Card: Realtek (8168:10EC)Wireless:
AR5B195 Sound: Beats Audio (111D:76E0)

HDMI Audio does not work. HDMI itself works with Clover Patch
but I don't know how to get Audio running. Does anyone has any idea please?


View attachment 138942
View attachment 138943
View attachment 138944
HDMI-audio on Ivy/Sandy has several requirements:
- your framebuffer must be patched for HDMI-audio (there are patches in my default config.plist (disabled) files: https://github.com/RehabMan/OS-X-Clover-Laptop-Config). It is trial/error to determine which port your HDMI is connected (actually, they are positional and you can tell by looking at ioreg).
- patched AppleHDA is required (sometimes VoodooHDA works, but my experience has been not good)
- you have to inject "hda-gfx"="onboard-1" for IGPU/HDEF objects. This is usually done with DSDT/SSDT edits (_DSM methods)

Note:
- you're missing hda-gfx on IGPU
 
Joined
Dec 1, 2013
Messages
15
Motherboard
Acer Predator Helios 500
CPU
i9-8950HK
Graphics
GTX 1070
Mac
MacBook Pro
Mobile Phone
iOS
Hi,

thx for your help.

I have performed all of your mentioned points, but now I have another problem. If I start my computer without HDMI cable plugged the computer don't start up - the startup routine freezes at apple startup logo. If I start my computer with HDMI cable plugged in the desktop image is shown at the HDMI monitor but on my laptop monitor I get a distorted image. HDMI audio itself is working. This problem occurs if I include "hda-gfx" in "Device (IGPU)" section in DSDT.

Any further hints?

HDMI (HD4000 1600x900 HM77) works only with:

find 04006601 01030101 00000002
replace 04006601 01020402 00000004

and

find 30020000 00000000 01000000 40000000 00000000 01000000 40000000 00000000 01000000 40000000 00000000 00000000
relplace 30020000 02050000 00040000 07040000 03040000 00040000 81000000 04060000 00080000 06000000 00000000 00020011



View attachment config_new.plist
IMG_0562.jpg
View attachment dsdt_new.aml
View attachment ioreg_HP_DV7_with_SamsungHDMI.ioreg
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
189,144
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Hi,

thx for your help.

I have performed all of your mentioned points, but now I have another problem. If I start my computer without HDMI cable plugged the computer don't start up - the startup routine freezes at apple startup logo. If I start my computer with HDMI cable plugged in the desktop image is shown at the HDMI monitor but on my laptop monitor I get a distorted image. HDMI audio itself is working. This problem occurs if I include "hda-gfx" in "Device (IGPU)" section in DSDT.

Any further hints?

HDMI (HD4000 1600x900 HM77) works only with:

find 04006601 01030101 00000002
replace 04006601 01020402 00000004

and

find 30020000 00000000 01000000 40000000 00000000 01000000 40000000 00000000 01000000 40000000 00000000 00000000
relplace 30020000 02050000 00040000 07040000 03040000 00040000 81000000 04060000 00080000 06000000 00000000 00020011



View attachment 139030
View attachment 139029
View attachment 139031
View attachment 139032
Refer to my config.plist repo for correct HD4000 patches: https://github.com/RehabMan/OS-X-Clover-Laptop-Config
 
Joined
Dec 1, 2013
Messages
15
Motherboard
Acer Predator Helios 500
CPU
i9-8950HK
Graphics
GTX 1070
Mac
MacBook Pro
Mobile Phone
iOS
OK, I have tried everything but HDMI and audio aren't working. I think that there is something wrong with my DSDT.aml. If I add IGPU the internal notebook monitor doesn't work any longer. Now I will try to create a new DSDT with Linux.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
189,144
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
OK, I have tried everything but HDMI and audio aren't working. I think that there is something wrong with my DSDT.aml. If I add IGPU the internal notebook monitor doesn't work any longer. Now I will try to create a new DSDT with Linux.
For troubleshooting post files...

Download patchmatic: https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-patchmatic-2015-0107.zip
Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,
Code:
rm -R ~/Downloads/RehabMan
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract
Post contents of Downloads/RehabMan directory (as ZIP).

Also, post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

And output from:
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
Also, post EFI/Clover folder.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
189,144
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
I thank you very much in advance for your help.

First my ioreg info and the patchmatic and Clover Folder

https://www.dropbox.com/s/94d4uq2fzpc2qx8/Archiv.zip?dl=0


and my clean DSDT and SSDT

https://www.dropbox.com/s/i910dudfq2li0qe/clean_DSDT_SSDT.zip?dl=0
You're using ig-platform-id 0x0166000a. Not really a good choice for your laptop.

Use 0x01660004 or 0x01660003 depending on your (unspecified) screen resolution.

See guide: http://www.tonymacx86.com/yosemite-...oting-os-x-installer-laptops-clover-uefi.html
 
Joined
Dec 1, 2013
Messages
15
Motherboard
Acer Predator Helios 500
CPU
i9-8950HK
Graphics
GTX 1070
Mac
MacBook Pro
Mobile Phone
iOS
Yes it works :headbang:

Thank You

DSDT patch for "Device (IGPU)"

Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
Store (Package (0x04)
{
"AAPL,ig-platform-id",
Buffer (0x04)
{
0x04, 0x00, 0x66, 0x01
},


"hda-gfx",
Buffer (0x0A)
{
"onboard-1"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}

Kext to Patch -- http://www.tonymacx86.com/hp-probook-mavericks/127832-clover-patch-external-display.html


Code:
Patch HDMI-DP port HD4000 1600x900
Name: AppleIntelFramebufferCapri

Find:
040066010103010100000002
Replace:
040066010102040200000004

Find:
300200000000000001000000400000000000000001000000400000000000000001000000400000000000000000000000
Replace:
300200000205000000040000070400000304000000040000810000000406000000080000060000000000000000020011


and for Ports

https://github.com/RehabMan/OS-X-Clover-Laptop-Config

Download DSDT,Config.plist :https://www.dropbox.com/s/ccmaonf5nflfpd7/DV7_7302sg_HDMI_Audio.zip?dl=0
 
Joined
Jan 26, 2011
Messages
13
Motherboard
Samsung NP550P5C-S05CL
CPU
Intel Core i7 3630QM
Graphics
Intel HD Graphics 4000 - Nvidia GT650M - 1600x900
Yes it works :headbang:
Hi, I read your post and your laptop are similar to mine in hardware, your screen works well? can you adjust the brightness?. If it works well you can tell me what your Clover configuration is and the modifications you made to the DSDT.
Thank you.
 
Top