Jump to content
EMlyDinEsH

Guide for enabling VGA, DVI, DP and HDMI in Intel HD4000 GPU

Recommended Posts

Oh, no, I never did find a hex string to get VGA working discretely.  If I had, I definitely would have let you know and would have included that in my kext modification. 
 
I was able to get the VGA output by using only the LVDS string already in the kext and then using the Fn-F8 key to switch the BIOS output.  And as I said, that worked badly because MacOS didn't know what to do with the display now being a different resolution, etc..  Not recommended.

Share this post


Link to post
Share on other sites

I assume that the video output is scramblded and looks very odd. Then it's not a resolution problem, more of an incorrect framebuffer connector (analog vs digital).

Share this post


Link to post
Share on other sites

No, not really scrambled.  I did see scrambling when using the wrong connector values for other things.  No, when switching over using the BIOS toggle Fn-F8, the VGA display actually looked okay at first.  But it was unstable.  It would go to black and then you couldn't switch it back until you pulled the VGA cable.  Like I wrote before, I don't think there are different connectors for VGA and LVDS on my hardware - at least not that I have been able to find.

Share this post


Link to post
Share on other sites

For me it's completely scrambled when I use LVDS string for my VGA . Fn+F8 doesn't seem to work.
Do you mind posting which device id you are using and the LVDS string you used?

Share this post


Link to post
Share on other sites

68x, here's my modified Framebuffer kext:

AppleIntelFramebufferCapri.kext.zip

 

Also, here's the hex block from it that I found worked best for me (0166 platform ID=3):

03 00 66 01 01 02 04 02 00 00 00 04 
00 00 00 01 00 00 00 20 10 07 00 00 
10 07 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 
05 03 00 00 02 00 00 00 30 02 00 00 
02 05 00 00 00 08 00 00 06 00 00 00 
03 04 00 00 00 04 00 00 81 00 00 00
04 06 00 00 00 04 00 00 81 00 00 00

You can see the LVDS string is the one that begins 05 03.  So that's what I have now for driving the VGA output.  Hope this helps.  

 

(02 05 is the HDMI, 03 04 is the DP, and 04 06 is the DVI - since I never use DP, that was the line I was trying to modify to do VGA instead but as I wrote before, never succeeded having that work independent of LVDS.) 

Share this post


Link to post
Share on other sites

Thank you guys for making this facility. I am really struggling to get my VGA Projector and EXt display to work on my HP Probook 4540s. I have HD4000. 

I am noob and have very limited knowledge of the detailed tech stuff. However, I tried this method to implement on my Laptop but no luck. Even I tried the patched kext provided in earlier post but I only get Blank screen. I was not able to determine  my platform ID, therefore I am adding my dsdt and Kext. Can you please help? 

 

http://www.mediafire.com/?6h1ww11fu1c661w

http://www.mediafire.com/download/z97983oacet29in/DSDT.aml

http://www.mediafire.com/?2ft132z9f8vf4f8

 

UPDATE:

I just figured out my HD4000 Rev ID is 03. here is the extract from patched kext. 

 

03 00 66 01 01 02 04 02 00 00 00 04 

00 00 00 01 00 00 00 20 10 07 00 00

10 07 00 00 00 00 00 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00

05 03 00 00 02 00 00 00 30 00 00 00

02 05 00 00 00 04 00 00 07 04 00 00

03 04 00 00 00 04 00 00 81 00 00 00

04 06 00 00 00 08 00 00 06 00 00 00

00 00 00 00 00 02 00 11 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00 

 

Now here 4 ports are already enabled, so where can I add the VGA port? I dont want to loose the working HDMI port.  I have tried to remove one line 03 04 00 00 00 04 00 00 81 00 00 00  and replaced with 06 02 00 00 02 00 00 00 30 02 00 00

 and few others but as soon as I click on detect display my computer freezes.... can someone help please?

Share this post


Link to post
Share on other sites

From a bit of trial and error, I can conclude that the framebuffer kext (anything from 10.8.2 to 10.9.x) does not recognize 0602 as a valid port.

So it's useless to enable VGA currently by editing the port.

Share this post


Link to post
Share on other sites

Hi!

 

I own a laptop (ASUS N56VZ) with Intel HD4000.

 

I used to connect it to my external monitor through VGA since HDMI is not working because Nvidia GT650M does not work. I used a patched IntelFramebufferCapri.kext and a string Injection in Chameleon (I made it work on Clover too). Everything worked fine on Mountain Lion (10.8.5) but as I updated to Mavericks it does not work anymore. Would you have a solution to my problem? Is there a workaround to use VGA on Mavericks?

 

I included all the files I used into a zip archive so that you can see it.
VGA.zip

 

Thanks in advance!
Regards!

Share this post


Link to post
Share on other sites

Hi My asus k56ca internal screen is working on 10.8.2 but it's stop (black screen) on 10.9 mav HDMI is fully working what I do to on lvds working its HD4000 rev 09
Thx

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...