Contribute
Register

Clover patch for external display

Status
Not open for further replies.
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.
 
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.
 
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.
 
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...)
 
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
 
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.
 
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>
 
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.
 
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?
 
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>
 
Status
Not open for further replies.
Back
Top