Contribute
Register

Clover patch for external display

Joined
Mar 12, 2013
Messages
288
Motherboard
HP ProBook 4530s
CPU
Intel Core i3 2330m
Graphics
Intel HD 3000
Mac
MacBook Pro
Mobile Phone
iOS
I just checked with my LG TV and your patch from the original post does indeed work when it comes to hdmi audio! So that's one confirmed.
 
Joined
Oct 22, 2012
Messages
3,494
Motherboard
HP Elitebook 8470p
CPU
Intel Core i5 3320M
Graphics
Intel HD 4000, 1600x900
Mobile Phone
iOS
I just checked with my LG TV and your patch from the original post does indeed work when it comes to hdmi audio! So that's one confirmed.
Can u confirm it does not work without my patches? Looks like all 3 are confirmed to work now.
 
Joined
Mar 12, 2013
Messages
288
Motherboard
HP ProBook 4530s
CPU
Intel Core i3 2330m
Graphics
Intel HD 3000
Mac
MacBook Pro
Mobile Phone
iOS
Can u confirm it does not work without my patches? Looks like all 3 are confirmed to work now.
Yep, without a patch hdmi isn't recognized as an audio output. With the patch, it is.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,692
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Try my patch first, if it does not work, use the patch in PBI:
Code:
perl -pi -e 's|\x01\x02\x04\x00\x10\x07\x00\x00\x10\x07\x00\x00\x05\x03\x00\x00\x02\x00\x00\x00\x30\x00\x00\x00\x02\x05\x00\x00\x00\x04\x00\x00\x07\x00\x00\x00\x03\x04\x00\x00\x00\x04\x00\x00\x09\x00\x00\x00\x04\x06\x00\x00\x00\x04\x00\x00\x09\x00\x00\x00|\x01\x02\x03\x00\x10\x07\x00\x00\x10\x07\x00\x00\x06\x02\x00\x00\x00\x01\x00\x00\x09\x00\x00\x00\x05\x03\x00\x00\x02\x00\x00\x00\x30\x00\x00\x00\x04\x06\x00\x00\x00\x08\x00\x00\x09\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00|g' "AppleIntelSNBGraphicsFB"
Unfortunately, that patch enables both VGA and HDMI audio. And more unfortunate is that enabling VGA messes with the correct operation of HDMI (making it slower, and sometimes not reliable).

I'm certain we can come up with a patch that corrects just HDMI audio. I don't have the time and won't for at least a month (plus I'll be selling my 4530s...)
 
Joined
Nov 24, 2012
Messages
639
Motherboard
HP Probook 6470b
CPU
Intel Core i5-3320M
Graphics
Intel HD 4000, 1600x900
Mac
Classic Mac
Mobile Phone
Unfortunately, that patch enables both VGA and HDMI audio.....
I am just making a guess here, I assume that the hdmi port in use is the 04 06...
If that is the case, the patch should be as simple as this:
Code:
Find: 
040600000004000009000000
Replace with: 
040600000008000009000000
 
Joined
Feb 26, 2012
Messages
864
Motherboard
Acer Aspire 5750G
CPU
Intel Core i7 2630QM @ 2GHz
Graphics
NVIDIA GeForce GT 540M + Intel HD Graphics 3000
Mac
Classic Mac
Mobile Phone
iOS
Try my patch first, if it does not work, use the patch in PBI:
Code:
perl -pi -e 's|\x01\x02\x04\x00\x10\x07\x00\x00\x10\x07\x00\x00\x05\x03\x00\x00\x02\x00\x00\x00\x30\x00\x00\x00\x02\x05\x00\x00\x00\x04\x00\x00\x07\x00\x00\x00\x03\x04\x00\x00\x00\x04\x00\x00\x09\x00\x00\x00\x04\x06\x00\x00\x00\x04\x00\x00\x09\x00\x00\x00|\x01\x02\x03\x00\x10\x07\x00\x00\x10\x07\x00\x00\x06\x02\x00\x00\x00\x01\x00\x00\x09\x00\x00\x00\x05\x03\x00\x00\x02\x00\x00\x00\x30\x00\x00\x00\x04\x06\x00\x00\x00\x08\x00\x00\x09\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00|g' "AppleIntelSNBGraphicsFB"
If both do not work, use toleda's patch:
Code:
http://www.tonymacx86.com/graphics/125239-hd4600-hd4000-hd3000-framebuffer-edits.html
Please post your working patch, then we will try to turn it to Clover patch.
This is what I wanted. Thanks.
 
Joined
Feb 26, 2012
Messages
864
Motherboard
Acer Aspire 5750G
CPU
Intel Core i7 2630QM @ 2GHz
Graphics
NVIDIA GeForce GT 540M + Intel HD Graphics 3000
Mac
Classic Mac
Mobile Phone
iOS
Just tried to implement the VGA patch for my HD3000.
I'm having some problems, the VGA cable works, but only if I boot with it plugged in. If I use 'detect displays' it does not work.
Also when the screen is on, it mirrors the display from my laptop, but it doesn't actually detect it (which is weird).
When it does work, the picture is fuzzy, not distorted but fuzzy and the picture from the screen is missing some of it, as my laptop is wide screen and the screen is not.
Any suggestions on this?
Here is my KextsToPatch section:
Code:
			<dict>
				<key>Comment</key>
				<string>HD3000 VGA Patch</string>
				<key>Find</key>
<data>010204001007000010070000050300000200000030000000020500000004000007000000030400000004000009000000040600000004000009000000</data>
				<key>Name</key>
				<string>AppleIntelSNBGraphicsFB</string>
				<key>Replace</key>
<data>010203001007000010070000060200000001000009000000050300000200000030000000040600000008000009000000000000000000000000000000
</data>
			</dict>
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,692
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Just tried to implement the VGA patch for my HD3000.
I'm having some problems, the VGA cable works, but only if I boot with it plugged in. If I use 'detect displays' it does not work.
Also when the screen is on, it mirrors the display from my laptop, but it doesn't actually detect it (which is weird).
When it does work, the picture is fuzzy, not distorted but fuzzy and the picture from the screen is missing some of it, as my laptop is wide screen and the screen is not.
Any suggestions on this?
Here is my KextsToPatch section:
Code:
			<dict>
				<key>Comment</key>
				<string>HD3000 VGA Patch</string>
				<key>Find</key>
<data>010204001007000010070000050300000200000030000000020500000004000007000000030400000004000009000000040600000004000009000000</data>
				<key>Name</key>
				<string>AppleIntelSNBGraphicsFB</string>
				<key>Replace</key>
<data>010203001007000010070000060200000001000009000000050300000200000030000000040600000008000009000000000000000000000000000000
</data>
			</dict>
Your find/replace seems invalid. It looks like hex data, yet you're using <data> tags which requires base64 encoded data.
 
Joined
Feb 26, 2012
Messages
864
Motherboard
Acer Aspire 5750G
CPU
Intel Core i7 2630QM @ 2GHz
Graphics
NVIDIA GeForce GT 540M + Intel HD Graphics 3000
Mac
Classic Mac
Mobile Phone
iOS
Your find/replace seems invalid. It looks like hex data, yet you're using <data> tags which requires base64 encoded data.
Ok so this should change from <data> to what?

EDIT: So converted hex to base64, so...
Code:
<dict>
				<key>Comment</key>
				<string>HD3000 VGA Patch</string>
				<key>Find</key>
<data>AQIEABAHAAAQBwAABQMAAAIAAAAwAAAAAgUAAAAEAAAHAAAAAwQAAAAEAAAJAAAABAYAAAAEAAAJAAAA</data>
				<key>Name</key>
				<string>AppleIntelSNBGraphicsFB</string>
				<key>Replace</key>
<data>ECAwAQBwAAEAcAAAYCAAAAAQAACQAAAAUDAAACAAAAMAAAAAQGAAAACAAACQAAAAAAAAAAAAAAAAAAAA
</data>
			</dict>
That look ok?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,692
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Ok so this should change from <data> to what?
Let's assume it is valid hex data for your patch... Hex data can be specified as a <string>

Code:
		<dict>
				<key>Comment</key>
				<string>HD3000 VGA Patch</string>
				<key>Find</key>
<string>010204001007000010070000050300000200000030000000020500000004000007000000030400000004000009000000040600000004000009000000</string>
				<key>Name</key>
				<string>AppleIntelSNBGraphicsFB</string>
				<key>Replace</key>
<string>010203001007000010070000060200000001000009000000050300000200000030000000040600000008000009000000000000000000000000000000
</string>
			</dict>
Or you could convert the data to base64:
Code:
Speedy-OSX:~ RehabMan$ echo 010204001007000010070000050300000200000030000000020500000004000007000000030400000004000009000000040600000004000009000000|xxd -r -p|base64
AQIEABAHAAAQBwAABQMAAAIAAAAwAAAAAgUAAAAEAAAHAAAAAwQAAAAEAAAJAAAABAYAAAAEAAAJAAAA
Speedy-OSX:~ RehabMan$ echo 010203001007000010070000060200000001000009000000050300000200000030000000040600000008000009000000000000000000000000000000|xxd -r -p|base64
AQIDABAHAAAQBwAABgIAAAABAAAJAAAABQMAAAIAAAAwAAAABAYAAAAIAAAJAAAAAAAAAAAAAAAAAAAA
And still use <data> tags:
Code:
		<dict>
				<key>Comment</key>
				<string>HD3000 VGA Patch</string>
				<key>Find</key>
<data>AQIEABAHAAAQBwAABQMAAAIAAAAwAAAAAgUAAAAEAAAHAAAAAwQAAAAEAAAJAAAABAYAAAAEAAAJAAA</data>
				<key>Name</key>
				<string>AppleIntelSNBGraphicsFB</string>
				<key>Replace</key>
<data>AQIDABAHAAAQBwAABgIAAAABAAAJAAAABQMAAAIAAAAwAAAABAYAAAAIAAAJAAAAAAAAAAAAAAAAAAAA
</data>
			</dict>
 
Top